Searched refs:ptrs_bits (Results 1 – 5 of 5) sorted by relevance
26 int ptrs_bits = sbi->s_ind_per_block_bits; in block_to_path() local40 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() local436 blocks = ((blocks - direct - 1) >> ptrs_bits) + 1; in sysv_nblocks()
77 int ptrs_bits = EXT4_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext4_block_to_path() local80 double_blocks = (1 << (ptrs_bits * 2)); in ext4_block_to_path()93 offsets[n++] = i_block >> ptrs_bits; in ext4_block_to_path()96 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ext4_block_to_path()98 offsets[n++] = i_block >> (ptrs_bits * 2); in ext4_block_to_path()99 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext4_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()
164 int ptrs_bits = EXT2_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext2_block_to_path() local167 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()
346 int ptrs_bits = EXT3_ADDR_PER_BLOCK_BITS(inode->i_sb); in ext3_block_to_path() local349 double_blocks = (1 << (ptrs_bits * 2)); in ext3_block_to_path()364 offsets[n++] = i_block >> ptrs_bits; in ext3_block_to_path()367 } else if (((i_block -= double_blocks) >> (ptrs_bits * 2)) < ptrs) { in ext3_block_to_path()369 offsets[n++] = i_block >> (ptrs_bits * 2); in ext3_block_to_path()370 offsets[n++] = (i_block >> ptrs_bits) & (ptrs - 1); in ext3_block_to_path()