Home
last modified time | relevance | path

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

/linux/fs/sysv/
H A Ditree.c28 int ptrs_bits = sbi->s_ind_per_block_bits; in block_to_path() local
42 offsets[n++] = block >> ptrs_bits; in block_to_path()
44 } else if (((block -= double_blocks) >> (ptrs_bits * 2)) < indirect_blocks) { in block_to_path()
46 offsets[n++] = block >> (ptrs_bits * 2); in block_to_path()
47 offsets[n++] = (block >> ptrs_bits) & (indirect_blocks - 1); in block_to_path()
435 int ptrs_bits = sbi->s_ind_per_block_bits; in sysv_nblocks() local
440 blocks = ((blocks - direct - 1) >> ptrs_bits) + 1; in sysv_nblocks()
/linux/fs/ext4/
H A Dindirect.c79 int ptrs_bits = EXT4_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext4_block_to_path() local
82 double_blocks = (1 << (ptrs_bits * 2)); in ext4_block_to_path()
95 offsets[n++] = i_block >> ptrs_bits; in ext4_block_to_path()
98 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ext4_block_to_path()
100 offsets[n++] = i_block >> (ptrs_bits * 2); in ext4_block_to_path()
101 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext4_block_to_path()
/linux/fs/ext2/
H A Dinode.c167 int ptrs_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext2_block_to_path() local
170 double_blocks = (1 << (ptrs_bits * 2)); in ext2_block_to_path()
186 offsets[n++] = i_block >> ptrs_bits; 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()
/linux/fs/ufs/
H A Dinode.c51 int ptrs_bits = uspi->s_apbshift; in ufs_block_to_path() local
54 double_blocks = (1 << (ptrs_bits * 2)); in ufs_block_to_path()
66 offsets[n++] = i_block >> ptrs_bits; 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()
71 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ufs_block_to_path()