Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/fs/ext2/
Dext2_diskops.c113 inode->i_block[i] = sys_le32_to_cpu(dino->i_block[i]); in fill_inode()
124 dino->i_block[i] = sys_cpu_to_le32(inode->i_block[i]); in fill_disk_inode()
426 block = inode->i_block[offsets[0]]; in fetch_level_blocks()
681 if (inode->i_block[offsets[0]] == 0) { in ext2_inode_remove_blocks()
688 ret = delete_blocks(inode->i_fs, inode->i_block[offsets[0]], in ext2_inode_remove_blocks()
697 if (inode->i_block[i] == 0) { in ext2_inode_remove_blocks()
700 ret = delete_blocks(inode->i_fs, inode->i_block[i], block0_level(i), in ext2_inode_remove_blocks()
706 inode->i_block[i] = 0; in ext2_inode_remove_blocks()
719 block = &inode->i_block[inode->offsets[lvl]]; in alloc_level_blocks()
Dext2_struct.h85 uint32_t i_block[15]; member
177 uint32_t i_block[15]; /* numbers of blocks */ member
Dext2_format.c93 memset(in->i_block, 0, EXT2_INODE_BLOCKS * sizeof(uint32_t)); in default_directory_inode()
319 in[inode_offset].i_block[0] = sys_cpu_to_le32(root_dir_blk_num); in ext2_format()
340 in[inode_offset].i_block[0] = sys_cpu_to_le32(lost_found_dir_blk_num); in ext2_format()
Dext2_impl.c889 memset(inode->i_block, 0, 15 * 4); in ext2_create_inode()
1160 uint32_t old_blk = parent->i_block[blk]; in ext2_del_direntry()
1165 parent->i_block[blk] = parent->i_block[last_blk]; in ext2_del_direntry()
1166 parent->i_block[last_blk] = 0; in ext2_del_direntry()