Searched refs:root_dir_blk (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/subsys/fs/ext2/ |
D | ext2_format.c | 197 struct ext2_block *itable_block1, *itable_block2, *root_dir_blk, *lost_found_dir_blk; in ext2_format() local 199 itable_block1 = itable_block2 = root_dir_blk = lost_found_dir_blk = NULL; in ext2_format() 354 root_dir_blk = ext2_get_block(fs, root_dir_blk_num); in ext2_format() 355 if (root_dir_blk == NULL) { in ext2_format() 359 memset(root_dir_blk->data, 0, cfg->block_size); in ext2_format() 363 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 370 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 379 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 389 if (ext2_write_block(fs, root_dir_blk) < 0) { in ext2_format() 433 ext2_drop_block(root_dir_blk); in ext2_format()
|