Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_format.c310 int inode_offset; in ext2_format() local
315 inode_offset = EXT2_ROOT_INODE - 1; in ext2_format()
316 default_directory_inode(&in[inode_offset], 1, cfg); in ext2_format()
318 in[inode_offset].i_links_count = sys_cpu_to_le16(3); /* 2 from itself, 1 from child */ in ext2_format()
319 in[inode_offset].i_block[0] = sys_cpu_to_le32(root_dir_blk_num); in ext2_format()
326 inode_offset = (lost_found_inode - 1) % inodes_per_block; /* We count inodes from 1 */ in ext2_format()
328 LOG_DBG("Inode offset: %d", inode_offset); in ext2_format()
338 default_directory_inode(&in[inode_offset], 1, cfg); in ext2_format()
339 in[inode_offset].i_links_count = sys_cpu_to_le16(2); /* 1 from itself, 1 from parent */ in ext2_format()
340 in[inode_offset].i_block[0] = sys_cpu_to_le32(lost_found_dir_blk_num); in ext2_format()