Lines Matching refs:offs
104 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument
130 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block()
132 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
174 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument
183 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks()
190 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_encrypt_pagecache_blocks()
197 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks()
230 unsigned int len, unsigned int offs, in fscrypt_encrypt_block_inplace() argument
234 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
255 size_t offs) in fscrypt_decrypt_pagecache_blocks() argument
261 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
268 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, blocksize))) in fscrypt_decrypt_pagecache_blocks()
271 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_decrypt_pagecache_blocks()
301 unsigned int len, unsigned int offs, in fscrypt_decrypt_block_inplace() argument
305 len, offs, GFP_NOFS); in fscrypt_decrypt_block_inplace()