Searched refs:ptrs_bits (Results 1 – 4 of 4) sorted by relevance
27 int ptrs_bits = sbi->s_ind_per_block_bits; in block_to_path() local41 offsets[n++] = block >> ptrs_bits; in block_to_path()43 } else if (((block -= double_blocks) >> (ptrs_bits * 2)) < indirect_blocks) { in block_to_path()45 offsets[n++] = block >> (ptrs_bits * 2); in block_to_path()46 offsets[n++] = (block >> ptrs_bits) & (indirect_blocks - 1); in block_to_path()436 int ptrs_bits = sbi->s_ind_per_block_bits; in sysv_nblocks() local441 blocks = ((blocks - direct - 1) >> ptrs_bits) + 1; in sysv_nblocks()
79 int ptrs_bits = EXT4_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext4_block_to_path() local82 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()
167 int ptrs_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext2_block_to_path() local170 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()
50 int ptrs_bits = uspi->s_apbshift; in ufs_block_to_path() local53 double_blocks = (1 << (ptrs_bits * 2)); in ufs_block_to_path()65 offsets[n++] = i_block >> ptrs_bits; in ufs_block_to_path()67 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ufs_block_to_path()69 offsets[n++] = i_block >> (ptrs_bits * 2); in ufs_block_to_path()70 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ufs_block_to_path()