Searched refs:lost_found_inode (Results 1 – 1 of 1) sorted by relevance
171 uint32_t lost_found_inode = 1 + used_inodes++; /* We count inodes from 1. */ in ext2_format() local328 inode_offset = (lost_found_inode - 1) % inodes_per_block; /* We count inodes from 1 */ in ext2_format()332 if (inodes_per_block < lost_found_inode) { in ext2_format()334 uint32_t block_num = itable_block_num + lost_found_inode / inodes_per_block; in ext2_format()382 de = ext2_create_direntry(name, strlen(name), lost_found_inode, EXT2_FT_DIR); in ext2_format()408 de = ext2_create_direntry(".", 1, lost_found_inode, EXT2_FT_DIR); in ext2_format()