Lines Matching refs:offs
96 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument
122 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block()
124 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
166 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument
175 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks()
182 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_encrypt_pagecache_blocks()
189 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks()
222 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument
226 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
248 unsigned int offs) in fscrypt_decrypt_pagecache_blocks() argument
254 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
261 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_decrypt_pagecache_blocks()
264 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_decrypt_pagecache_blocks()
291 unsigned int len, unsigned int offs, in fscrypt_decrypt_block_inplace() argument
295 len, offs, GFP_NOFS); in fscrypt_decrypt_block_inplace()