Searched refs:lblk_num (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/fs/crypto/ |
D | crypto.c | 138 void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, in fscrypt_generate_iv() argument 142 iv->lblk_num = cpu_to_le64(lblk_num); in fscrypt_generate_iv() 153 u64 lblk_num, struct page *src_page, in fscrypt_crypt_block() argument 170 fscrypt_generate_iv(&iv, lblk_num, ci); in fscrypt_crypt_block() 192 (rw == FS_DECRYPT ? "De" : "En"), lblk_num, res); in fscrypt_crypt_block() 227 u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + in fscrypt_encrypt_pagecache_blocks() local 242 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks() 243 err = fscrypt_crypt_block(inode, FS_ENCRYPT, lblk_num, in fscrypt_encrypt_pagecache_blocks() 276 u64 lblk_num, gfp_t gfp_flags) in fscrypt_encrypt_block_inplace() argument 278 return fscrypt_crypt_block(inode, FS_ENCRYPT, lblk_num, page, page, in fscrypt_encrypt_block_inplace() [all …]
|
D | fscrypt_private.h | 236 fscrypt_direction_t rw, u64 lblk_num, 256 __le64 lblk_num; member 264 void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num,
|
/Linux-v5.4/include/linux/ |
D | fscrypt.h | 114 unsigned int offs, u64 lblk_num, 121 unsigned int offs, u64 lblk_num); 319 unsigned int offs, u64 lblk_num, in fscrypt_encrypt_block_inplace() argument 335 unsigned int offs, u64 lblk_num) in fscrypt_decrypt_block_inplace() argument
|