Searched refs:lblk_num (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/crypto/ |
D | crypto.c | 72 void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, in fscrypt_generate_iv() argument 80 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv() 82 lblk_num |= (u64)ci->ci_inode->i_ino << 32; in fscrypt_generate_iv() 84 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv() 85 lblk_num = (u32)(ci->ci_hashed_ino + lblk_num); in fscrypt_generate_iv() 89 iv->lblk_num = cpu_to_le64(lblk_num); in fscrypt_generate_iv() 94 u64 lblk_num, struct page *src_page, in fscrypt_crypt_block() argument 111 fscrypt_generate_iv(&iv, lblk_num, ci); in fscrypt_crypt_block() 133 (rw == FS_DECRYPT ? "De" : "En"), lblk_num, res); in fscrypt_crypt_block() 174 u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + in fscrypt_encrypt_pagecache_blocks() local [all …]
|
D | fscrypt_private.h | 264 u64 lblk_num, struct page *src_page, 282 __le64 lblk_num; member 291 void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num,
|
D | inline_crypt.c | 212 static void fscrypt_generate_dun(const struct fscrypt_info *ci, u64 lblk_num, in fscrypt_generate_dun() argument 218 fscrypt_generate_iv(&iv, lblk_num, ci); in fscrypt_generate_dun()
|
/kernel/linux/linux-5.10/include/linux/ |
D | fscrypt.h | 152 u64 lblk_num, gfp_t gfp_flags); 158 u64 lblk_num); 298 unsigned int offs, u64 lblk_num, in fscrypt_encrypt_block_inplace() argument 314 unsigned int offs, u64 lblk_num) in fscrypt_decrypt_block_inplace() argument
|