Home
last modified time | relevance | path

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

/fs/sysv/
Ditree.c26 int ptrs_bits = sbi->s_ind_per_block_bits; in block_to_path() local
40 offsets[n++] = block >> ptrs_bits; in block_to_path()
42 } else if (((block -= double_blocks) >> (ptrs_bits * 2)) < indirect_blocks) { in block_to_path()
44 offsets[n++] = block >> (ptrs_bits * 2); in block_to_path()
45 offsets[n++] = (block >> ptrs_bits) & (indirect_blocks - 1); in block_to_path()
431 int ptrs_bits = sbi->s_ind_per_block_bits; in sysv_nblocks() local
436 blocks = ((blocks - direct - 1) >> ptrs_bits) + 1; in sysv_nblocks()
/fs/ext4/
Dindirect.c78 int ptrs_bits = EXT4_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext4_block_to_path() local
81 double_blocks = (1 << (ptrs_bits * 2)); in ext4_block_to_path()
94 offsets[n++] = i_block >> ptrs_bits; in ext4_block_to_path()
97 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ext4_block_to_path()
99 offsets[n++] = i_block >> (ptrs_bits * 2); in ext4_block_to_path()
100 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext4_block_to_path()
/fs/ext2/
Dinode.c164 int ptrs_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext2_block_to_path() local
167 double_blocks = (1 << (ptrs_bits * 2)); in ext2_block_to_path()
183 offsets[n++] = i_block >> ptrs_bits; in ext2_block_to_path()
186 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ext2_block_to_path()
188 offsets[n++] = i_block >> (ptrs_bits * 2); in ext2_block_to_path()
189 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext2_block_to_path()
/fs/ufs/
Dinode.c48 int ptrs_bits = uspi->s_apbshift; in ufs_block_to_path() local
51 double_blocks = (1 << (ptrs_bits * 2)); in ufs_block_to_path()
63 offsets[n++] = i_block >> ptrs_bits; in ufs_block_to_path()
65 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ufs_block_to_path()
67 offsets[n++] = i_block >> (ptrs_bits * 2); in ufs_block_to_path()
68 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ufs_block_to_path()