Home
last modified time | relevance | path

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

/fs/crypto/
Dcrypto.c182 const unsigned int du_size = 1U << du_bits; in fscrypt_encrypt_pagecache_blocks() local
192 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, du_size))) in fscrypt_encrypt_pagecache_blocks()
199 for (i = offs; i < offs + len; i += du_size, index++) { in fscrypt_encrypt_pagecache_blocks()
202 du_size, i, gfp_flags); in fscrypt_encrypt_pagecache_blocks()
266 const unsigned int du_size = 1U << du_bits; in fscrypt_decrypt_pagecache_blocks() local
275 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, du_size))) in fscrypt_decrypt_pagecache_blocks()
278 for (i = offs; i < offs + len; i += du_size, index++) { in fscrypt_decrypt_pagecache_blocks()
282 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()