Searched refs:fscrypt_inode_info (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/fs/crypto/ |
D | fscrypt_private.h | 219 struct fscrypt_inode_info { struct 301 int fscrypt_crypt_data_unit(const struct fscrypt_inode_info *ci, argument 331 const struct fscrypt_inode_info *ci); 379 int fscrypt_select_encryption_impl(struct fscrypt_inode_info *ci); 382 fscrypt_using_inline_encryption(const struct fscrypt_inode_info *ci) in fscrypt_using_inline_encryption() 389 const struct fscrypt_inode_info *ci); 400 const struct fscrypt_inode_info *ci) in fscrypt_is_key_prepared() 417 static inline int fscrypt_select_encryption_impl(struct fscrypt_inode_info *ci) in fscrypt_select_encryption_impl() 423 fscrypt_using_inline_encryption(const struct fscrypt_inode_info *ci) in fscrypt_using_inline_encryption() 431 const struct fscrypt_inode_info *ci) in fscrypt_prepare_inline_crypt_key() [all …]
|
D | keysetup.c | 151 const u8 *raw_key, const struct fscrypt_inode_info *ci) in fscrypt_prepare_key() 181 int fscrypt_set_per_file_enc_key(struct fscrypt_inode_info *ci, in fscrypt_set_per_file_enc_key() 188 static int setup_per_mode_enc_key(struct fscrypt_inode_info *ci, in setup_per_mode_enc_key() 269 int fscrypt_derive_dirhash_key(struct fscrypt_inode_info *ci, in fscrypt_derive_dirhash_key() 283 void fscrypt_hash_inode_number(struct fscrypt_inode_info *ci, in fscrypt_hash_inode_number() 293 static int fscrypt_setup_iv_ino_lblk_32_key(struct fscrypt_inode_info *ci, in fscrypt_setup_iv_ino_lblk_32_key() 333 static int fscrypt_setup_v2_file_key(struct fscrypt_inode_info *ci, in fscrypt_setup_v2_file_key() 408 const struct fscrypt_inode_info *ci) in fscrypt_valid_master_key_size() 439 static int setup_file_encryption_key(struct fscrypt_inode_info *ci, in setup_file_encryption_key() 524 static void put_crypt_info(struct fscrypt_inode_info *ci) in put_crypt_info() [all …]
|
D | keysetup_v1.c | 182 const struct fscrypt_inode_info *ci) in find_or_insert_direct_key() 222 fscrypt_get_direct_key(const struct fscrypt_inode_info *ci, const u8 *raw_key) in fscrypt_get_direct_key() 254 static int setup_v1_file_key_direct(struct fscrypt_inode_info *ci, in setup_v1_file_key_direct() 268 static int setup_v1_file_key_derived(struct fscrypt_inode_info *ci, in setup_v1_file_key_derived() 293 int fscrypt_setup_v1_file_key(struct fscrypt_inode_info *ci, in fscrypt_setup_v1_file_key() 303 fscrypt_setup_v1_file_key_via_subscribed_keyrings(struct fscrypt_inode_info *ci) in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
|
D | inline_crypt.c | 42 static unsigned int fscrypt_get_dun_bytes(const struct fscrypt_inode_info *ci) in fscrypt_get_dun_bytes() 92 int fscrypt_select_encryption_impl(struct fscrypt_inode_info *ci) in fscrypt_select_encryption_impl() 154 const struct fscrypt_inode_info *ci) in fscrypt_prepare_inline_crypt_key() 235 static void fscrypt_generate_dun(const struct fscrypt_inode_info *ci, in fscrypt_generate_dun() 270 const struct fscrypt_inode_info *ci; in fscrypt_set_bio_crypt_ctx() 461 const struct fscrypt_inode_info *ci; in fscrypt_limit_io_blocks()
|
D | crypto.c | 88 const struct fscrypt_inode_info *ci) in fscrypt_generate_iv() 108 int fscrypt_crypt_data_unit(const struct fscrypt_inode_info *ci, in fscrypt_crypt_data_unit() 187 const struct fscrypt_inode_info *ci = inode->i_crypt_info; in fscrypt_encrypt_pagecache_blocks() 270 const struct fscrypt_inode_info *ci = inode->i_crypt_info; in fscrypt_decrypt_pagecache_blocks() 412 fscrypt_inode_info_cachep = KMEM_CACHE(fscrypt_inode_info, in fscrypt_init()
|
D | fname.c | 97 const struct fscrypt_inode_info *ci = inode->i_crypt_info; in fscrypt_fname_encrypt() 154 const struct fscrypt_inode_info *ci = inode->i_crypt_info; in fname_decrypt() 565 const struct fscrypt_inode_info *ci = dir->i_crypt_info; in fscrypt_fname_siphash()
|
D | policy.c | 435 const struct fscrypt_inode_info *ci; in fscrypt_get_policy() 747 struct fscrypt_inode_info *ci = inode->i_crypt_info; in fscrypt_context_for_new_inode() 772 struct fscrypt_inode_info *ci = inode->i_crypt_info; in fscrypt_set_context()
|
D | bio.c | 114 const struct fscrypt_inode_info *ci = inode->i_crypt_info; in fscrypt_zeroout_range()
|
D | hooks.c | 187 struct fscrypt_inode_info *ci; in fscrypt_prepare_setflags()
|
D | keyring.c | 893 struct fscrypt_inode_info *ci; in evict_dentries_for_decrypted_inodes() 943 struct fscrypt_inode_info, in check_for_busy_inodes()
|
/linux-6.12.1/include/linux/ |
D | fscrypt.h | 34 struct fscrypt_inode_info; 197 static inline struct fscrypt_inode_info * 452 static inline struct fscrypt_inode_info *
|
D | fs.h | 72 struct fscrypt_inode_info; 739 struct fscrypt_inode_info *i_crypt_info;
|