Home
last modified time | relevance | path

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

/linux/fs/ext2/
H A Dinode.c164 long i_block, int offsets[4], int *boundary) in ext2_block_to_path() argument
174 if (i_block < 0) { in ext2_block_to_path()
177 } else if (i_block < direct_blocks) { in ext2_block_to_path()
178 offsets[n++] = i_block; in ext2_block_to_path()
180 } else if ( (i_block -= direct_blocks) < indirect_blocks) { in ext2_block_to_path()
182 offsets[n++] = i_block; in ext2_block_to_path()
184 } else if ((i_block -= indirect_blocks) < double_blocks) { in ext2_block_to_path()
186 offsets[n++] = i_block >> ptrs_bits; in ext2_block_to_path()
187 offsets[n++] = i_block & (ptrs - 1); in ext2_block_to_path()
189 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ext2_block_to_path()
[all …]
H A Dext2.h313 __le32 i_block[EXT2_N_BLOCKS];/* Pointers to blocks */ member
/linux/Documentation/filesystems/ext4/
H A Dinlinedata.rst10 ``inode.i_block``. If the rest of the file would fit inside the extended
14 If the data size increases beyond i_block + ibody EA, a regular block
28 The first four bytes of i_block are the inode number of the parent
33 i_block and EA space are treated as separate dirent blocks; directory
H A Difork.rst3 The Contents of inode.i_block
7 storage in ``inode.i_block`` can be used in different ways. In general,
64 stored in ``inode.i_block``, which allows for the first four extents to
H A Dblockmap.rst4 | i.i_block Offset | Where It Points …
H A Dinodes.rst111 - i_block[EXT4_N_BLOCKS=15]
112 - Block map or extent tree. See the section “The Contents of inode.i_block”.
H A Dsuper.rst246 ``i_block[]`` array and ``i_size``.
267 - Backup copy of the journal inode's ``i_block[]`` array in the first 15
/linux/fs/ext4/
H A Dindirect.c46 * @i_block: block number to be parsed
70 * i_block would have to be negative in the very beginning, so we would not
75 ext4_lblk_t i_block, in ext4_block_to_path() argument
86 if (i_block < direct_blocks) { in ext4_block_to_path()
87 offsets[n++] = i_block; in ext4_block_to_path()
89 } else if ((i_block -= direct_blocks) < indirect_blocks) { in ext4_block_to_path()
91 offsets[n++] = i_block; in ext4_block_to_path()
93 } else if ((i_block -= indirect_blocks) < double_blocks) { in ext4_block_to_path()
95 offsets[n++] = i_block >> ptrs_bits; in ext4_block_to_path()
96 offsets[n++] = i_block in ext4_block_to_path()
[all...]
/linux/fs/ufs/
H A Dinode.c47 static int ufs_block_to_path(struct inode *inode, sector_t i_block, unsigned offsets[4]) in ufs_block_to_path() argument
59 if (i_block < direct_blocks) { in ufs_block_to_path()
60 offsets[n++] = i_block; in ufs_block_to_path()
61 } else if ((i_block -= direct_blocks) < indirect_blocks) { in ufs_block_to_path()
63 offsets[n++] = i_block; in ufs_block_to_path()
64 } else if ((i_block -= indirect_blocks) < double_blocks) { in ufs_block_to_path()
66 offsets[n++] = i_block >> ptrs_bits; in ufs_block_to_path()
67 offsets[n++] = i_block & (ptrs - 1); in ufs_block_to_path()
68 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ufs_block_to_path()
70 offsets[n++] = i_block >> (ptrs_bits * 2); in ufs_block_to_path()
[all …]