Lines Matching refs:offs
155 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument
181 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block()
183 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
219 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument
228 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks()
235 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_encrypt_pagecache_blocks()
242 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks()
275 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument
279 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
300 unsigned int offs) in fscrypt_decrypt_pagecache_blocks() argument
306 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
313 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_decrypt_pagecache_blocks()
316 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_decrypt_pagecache_blocks()
343 unsigned int len, unsigned int offs, in fscrypt_decrypt_block_inplace() argument
347 len, offs, GFP_NOFS); in fscrypt_decrypt_block_inplace()