Lines Matching refs:i_block
164 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()
191 offsets[n++] = i_block >> (ptrs_bits * 2); in ext2_block_to_path()
192 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext2_block_to_path()
193 offsets[n++] = i_block & (ptrs - 1); in ext2_block_to_path()
200 *boundary = final - 1 - (i_block & (ptrs - 1)); in ext2_block_to_path()
1466 ei->i_data[n] = raw_inode->i_block[n]; in ext2_iget()
1487 if (raw_inode->i_block[0]) in ext2_iget()
1489 old_decode_dev(le32_to_cpu(raw_inode->i_block[0]))); in ext2_iget()
1492 new_decode_dev(le32_to_cpu(raw_inode->i_block[1]))); in ext2_iget()
1583 raw_inode->i_block[0] = in __ext2_write_inode()
1585 raw_inode->i_block[1] = 0; in __ext2_write_inode()
1587 raw_inode->i_block[0] = 0; in __ext2_write_inode()
1588 raw_inode->i_block[1] = in __ext2_write_inode()
1590 raw_inode->i_block[2] = 0; in __ext2_write_inode()
1593 raw_inode->i_block[n] = ei->i_data[n]; in __ext2_write_inode()