Home
last modified time | relevance | path

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

/linux-6.12.1/fs/crypto/
Dcrypto.c189 const unsigned int du_size = 1U << du_bits; in fscrypt_encrypt_pagecache_blocks() local
199 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, du_size))) in fscrypt_encrypt_pagecache_blocks()
206 for (i = offs; i < offs + len; i += du_size, index++) { in fscrypt_encrypt_pagecache_blocks()
209 du_size, i, gfp_flags); in fscrypt_encrypt_pagecache_blocks()
272 const unsigned int du_size = 1U << du_bits; in fscrypt_decrypt_pagecache_blocks() local
281 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, du_size))) in fscrypt_decrypt_pagecache_blocks()
284 for (i = offs; i < offs + len; i += du_size, index++) { in fscrypt_decrypt_pagecache_blocks()
288 page, du_size, i & ~PAGE_MASK, in fscrypt_decrypt_pagecache_blocks()
Dbio.c116 const unsigned int du_size = 1U << du_bits; in fscrypt_zeroout_range() local
168 du_size, offset, in fscrypt_zeroout_range()
175 offset += du_size; in fscrypt_zeroout_range()