Lines Matching refs:offsets
164 long i_block, int offsets[4], int *boundary) in ext2_block_to_path()
178 offsets[n++] = i_block; in ext2_block_to_path()
181 offsets[n++] = EXT2_IND_BLOCK; in ext2_block_to_path()
182 offsets[n++] = i_block; in ext2_block_to_path()
185 offsets[n++] = EXT2_DIND_BLOCK; 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()
190 offsets[n++] = EXT2_TIND_BLOCK; 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()
236 int *offsets, in ext2_get_branch() argument
246 add_chain (chain, NULL, EXT2_I(inode)->i_data + *offsets); in ext2_get_branch()
256 add_chain(++p, bh, (__le32*)bh->b_data + *++offsets); in ext2_get_branch()
477 int *offsets, Indirect *branch) in ext2_alloc_branch() argument
510 branch[n].p = (__le32 *) bh->b_data + offsets[n]; in ext2_alloc_branch()
626 int offsets[4]; in ext2_get_blocks() local
639 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks()
644 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
697 partial = ext2_get_branch(inode, depth, offsets, chain, &err); in ext2_get_blocks()
731 offsets + (partial - chain), partial); in ext2_get_blocks()
1049 int offsets[4], in ext2_find_shared()
1057 for (k = depth; k > 1 && !offsets[k-1]; k--) in ext2_find_shared()
1059 partial = ext2_get_branch(inode, k, offsets, chain, &err); in ext2_find_shared()
1187 int offsets[4]; in __ext2_truncate_blocks() local
1201 n = ext2_block_to_path(inode, iblock, offsets, NULL); in __ext2_truncate_blocks()
1212 ext2_free_data(inode, i_data+offsets[0], in __ext2_truncate_blocks()
1217 partial = ext2_find_shared(inode, n, offsets, chain, &nr); in __ext2_truncate_blocks()
1238 switch (offsets[0]) { in __ext2_truncate_blocks()