Searched refs:root_dir_blk (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_format.c | 199 struct ext2_block *itable_block1, *itable_block2, *root_dir_blk, *lost_found_dir_blk; in ext2_format() local 201 itable_block1 = itable_block2 = root_dir_blk = lost_found_dir_blk = NULL; in ext2_format() 356 root_dir_blk = ext2_get_block(fs, root_dir_blk_num); in ext2_format() 357 if (root_dir_blk == NULL) { in ext2_format() 361 memset(root_dir_blk->data, 0, cfg->block_size); in ext2_format() 365 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 372 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 381 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(root_dir_blk->data, de_offset); in ext2_format() 391 if (ext2_write_block(fs, root_dir_blk) < 0) { in ext2_format() 435 ext2_drop_block(root_dir_blk); in ext2_format()
|