Home
last modified time | relevance | path

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

/fs/nilfs2/
Dthe_nilfs.c211 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_get_blocksize() local
213 if (unlikely(shift_bits > in nilfs_get_blocksize()
216 shift_bits); in nilfs_get_blocksize()
219 *blocksize = BLOCK_SIZE << shift_bits; in nilfs_get_blocksize()
542 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_sb2_bad_offset() local
548 shift_bits > ilog2(NILFS_MAX_BLOCK_SIZE) - BLOCK_SIZE_BITS) in nilfs_sb2_bad_offset()
551 index = offset >> (shift_bits + BLOCK_SIZE_BITS); in nilfs_sb2_bad_offset()