Searched refs:lblk_num (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/crypto/ |
H A D | crypto.c | 80 void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, in fscrypt_generate_iv() argument 88 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv() 90 lblk_num |= (u64)ci->ci_inode->i_ino << 32; in fscrypt_generate_iv() 92 WARN_ON_ONCE(lblk_num > U32_MAX); in fscrypt_generate_iv() 93 lblk_num = (u32)(ci->ci_hashed_ino + lblk_num); in fscrypt_generate_iv() 97 iv->lblk_num = cpu_to_le64(lblk_num); in fscrypt_generate_iv() 102 u64 lblk_num, struct page *src_page, in fscrypt_crypt_block() argument 119 fscrypt_generate_iv(&iv, lblk_num, ci); in fscrypt_crypt_block() 141 (rw == FS_DECRYPT ? "De" : "En"), lblk_num, res); in fscrypt_crypt_block() 182 u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + in fscrypt_encrypt_pagecache_blocks() local [all …]
|
H A D | fscrypt_private.h | 269 u64 lblk_num, struct page *src_page, 287 __le64 lblk_num; member 296 void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num,
|
H A D | inline_crypt.c | 235 static void fscrypt_generate_dun(const struct fscrypt_info *ci, u64 lblk_num, in fscrypt_generate_dun() argument 241 fscrypt_generate_iv(&iv, lblk_num, ci); in fscrypt_generate_dun()
|
/openbmc/linux/fs/ceph/ |
H A D | crypto.h | 155 unsigned int offs, u64 lblk_num); 158 unsigned int offs, u64 lblk_num, 242 unsigned int offs, u64 lblk_num) in ceph_fscrypt_decrypt_block_inplace() argument 249 unsigned int offs, u64 lblk_num, in ceph_fscrypt_encrypt_block_inplace() argument
|
H A D | crypto.c | 505 unsigned int offs, u64 lblk_num) in ceph_fscrypt_decrypt_block_inplace() argument 507 dout("%s: len %u offs %u blk %llu\n", __func__, len, offs, lblk_num); in ceph_fscrypt_decrypt_block_inplace() 508 return fscrypt_decrypt_block_inplace(inode, page, len, offs, lblk_num); in ceph_fscrypt_decrypt_block_inplace() 513 unsigned int offs, u64 lblk_num, in ceph_fscrypt_encrypt_block_inplace() argument 516 dout("%s: len %u offs %u blk %llu\n", __func__, len, offs, lblk_num); in ceph_fscrypt_encrypt_block_inplace() 517 return fscrypt_encrypt_block_inplace(inode, page, len, offs, lblk_num, in ceph_fscrypt_encrypt_block_inplace()
|
/openbmc/linux/include/linux/ |
H A D | fscrypt.h | 258 u64 lblk_num, gfp_t gfp_flags); 264 u64 lblk_num); 428 unsigned int offs, u64 lblk_num, in fscrypt_encrypt_block_inplace() argument 443 unsigned int offs, u64 lblk_num) in fscrypt_decrypt_block_inplace() argument
|