Home
last modified time | relevance | path

Searched refs:lost_found_dir_blk (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c199 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()
398 lost_found_dir_blk = ext2_get_block(fs, lost_found_dir_blk_num); in ext2_format()
399 if (lost_found_dir_blk == NULL) { in ext2_format()
403 memset(lost_found_dir_blk->data, 0, cfg->block_size); in ext2_format()
407 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(lost_found_dir_blk->data, de_offset); in ext2_format()
414 disk_de = EXT2_DISK_DIRENTRY_BY_OFFSET(lost_found_dir_blk->data, de_offset); in ext2_format()
424 if (ext2_write_block(fs, lost_found_dir_blk) < 0) { in ext2_format()
436 ext2_drop_block(lost_found_dir_blk); in ext2_format()