Lines Matching refs:offs
104 unsigned int len, unsigned int offs, in fscrypt_crypt_data_unit() argument
130 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_data_unit()
132 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_data_unit()
175 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument
185 (offs >> du_bits); in fscrypt_encrypt_pagecache_blocks()
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()
234 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument
241 lblk_num, page, page, len, offs, in fscrypt_encrypt_block_inplace()
261 size_t offs) in fscrypt_decrypt_pagecache_blocks() argument
268 (offs >> du_bits); in fscrypt_decrypt_pagecache_blocks()
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()
310 unsigned int len, unsigned int offs, in fscrypt_decrypt_block_inplace() argument
317 lblk_num, page, page, len, offs, in fscrypt_decrypt_block_inplace()