Searched refs:du_bits (Results 1 – 3 of 3) sorted by relevance
115 const unsigned int du_bits = ci->ci_data_unit_bits; in fscrypt_zeroout_range() local116 const unsigned int du_size = 1U << du_bits; in fscrypt_zeroout_range()117 const unsigned int du_per_page_bits = PAGE_SHIFT - du_bits; in fscrypt_zeroout_range()119 u64 du_index = (u64)lblk << (inode->i_blkbits - du_bits); in fscrypt_zeroout_range()120 u64 du_remaining = (u64)len << (inode->i_blkbits - du_bits); in fscrypt_zeroout_range()173 sector += 1U << (du_bits - SECTOR_SHIFT); in fscrypt_zeroout_range()
188 const unsigned int du_bits = ci->ci_data_unit_bits; in fscrypt_encrypt_pagecache_blocks() local189 const unsigned int du_size = 1U << du_bits; in fscrypt_encrypt_pagecache_blocks()191 u64 index = ((u64)page->index << (PAGE_SHIFT - du_bits)) + in fscrypt_encrypt_pagecache_blocks()192 (offs >> du_bits); in fscrypt_encrypt_pagecache_blocks()271 const unsigned int du_bits = ci->ci_data_unit_bits; in fscrypt_decrypt_pagecache_blocks() local272 const unsigned int du_size = 1U << du_bits; in fscrypt_decrypt_pagecache_blocks()273 u64 index = ((u64)folio->index << (PAGE_SHIFT - du_bits)) + in fscrypt_decrypt_pagecache_blocks()274 (offs >> du_bits); in fscrypt_decrypt_pagecache_blocks()
338 fscrypt_max_file_dun_bits(const struct super_block *sb, int du_bits) in fscrypt_max_file_dun_bits() argument340 return fls64(sb->s_maxbytes - 1) - du_bits; in fscrypt_max_file_dun_bits()