Lines Matching refs:offs
93 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument
119 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block()
121 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
157 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument
166 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks()
173 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_encrypt_pagecache_blocks()
180 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks()
213 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument
217 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
238 unsigned int offs) in fscrypt_decrypt_pagecache_blocks() argument
244 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
251 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_decrypt_pagecache_blocks()
254 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_decrypt_pagecache_blocks()
281 unsigned int len, unsigned int offs, in fscrypt_decrypt_block_inplace() argument
285 len, offs, GFP_NOFS); in fscrypt_decrypt_block_inplace()