Home
last modified time | relevance | path

Searched refs:mk (Results 1 – 25 of 206) sorted by relevance

123456789

/linux/fs/crypto/
H A Dkeyring.c57 struct fscrypt_master_key *mk = in fscrypt_free_master_key() local
65 kfree_sensitive(mk); in fscrypt_free_master_key()
68 static void clear_mk_users(struct fscrypt_master_key *mk);
70 void fscrypt_put_master_key(struct fscrypt_master_key *mk) in fscrypt_put_master_key() argument
72 if (!refcount_dec_and_test(&mk->mk_struct_refs)) in fscrypt_put_master_key()
79 WARN_ON_ONCE(refcount_read(&mk->mk_active_refs) != 0); in fscrypt_put_master_key()
80 clear_mk_users(mk); in fscrypt_put_master_key()
81 call_rcu(&mk->mk_rcu_head, fscrypt_free_master_key); in fscrypt_put_master_key()
85 struct fscrypt_master_key *mk) in fscrypt_put_master_key_activeref() argument
89 if (!refcount_dec_and_test(&mk in fscrypt_put_master_key_activeref()
134 fscrypt_initiate_key_removal(struct super_block * sb,struct fscrypt_master_key * mk) fscrypt_initiate_key_removal() argument
224 struct fscrypt_master_key *mk; fscrypt_destroy_keyring() local
273 struct fscrypt_master_key *mk; fscrypt_find_master_key() local
319 find_master_key_user(struct fscrypt_master_key * mk) find_master_key_user() argument
337 add_master_key_user(struct fscrypt_master_key * mk) add_master_key_user() argument
384 remove_master_key_user(struct fscrypt_master_key * mk) remove_master_key_user() argument
399 clear_mk_users(struct fscrypt_master_key * mk) clear_mk_users() argument
416 struct fscrypt_master_key *mk; add_new_master_key() local
457 add_existing_master_key(struct fscrypt_master_key * mk,struct fscrypt_master_key_secret * secret) add_existing_master_key() argument
497 struct fscrypt_master_key *mk; do_add_master_key() local
866 struct fscrypt_master_key *mk; fscrypt_verify_key_added() local
909 evict_dentries_for_decrypted_inodes(struct fscrypt_master_key * mk) evict_dentries_for_decrypted_inodes() argument
940 check_for_busy_inodes(struct super_block * sb,struct fscrypt_master_key * mk) check_for_busy_inodes() argument
980 try_to_lock_encrypted_files(struct super_block * sb,struct fscrypt_master_key * mk) try_to_lock_encrypted_files() argument
1044 struct fscrypt_master_key *mk; do_remove_key() local
1169 struct fscrypt_master_key *mk; fscrypt_ioctl_get_key_status() local
[all...]
H A Dkeysetup.c186 * Find the fscrypt_prepared_key (if any) for a particular (mk, hkdf_context,
193 fscrypt_find_mode_key(struct fscrypt_master_key *mk, u8 hkdf_context, in fscrypt_find_mode_key() argument
204 list_for_each_entry_rcu(node, &mk->mk_mode_keys, link) { in fscrypt_find_mode_key()
221 struct fscrypt_master_key *mk, in setup_per_mode_enc_key()
235 prep_key = fscrypt_find_mode_key(mk, hkdf_context, mode_num, ci); in setup_per_mode_enc_key()
243 prep_key = fscrypt_find_mode_key(mk, hkdf_context, mode_num, ci); in setup_per_mode_enc_key()
257 if (mk->mk_secret.is_hw_wrapped && S_ISREG(inode->i_mode)) { in setup_per_mode_enc_key()
259 mk->mk_secret.bytes, in setup_per_mode_enc_key()
260 mk->mk_secret.size, true, in setup_per_mode_enc_key()
272 fscrypt_hkdf_expand(&mk in setup_per_mode_enc_key()
215 setup_per_mode_enc_key(struct fscrypt_inode_info * ci,struct fscrypt_master_key * mk,u8 hkdf_context,bool include_fs_uuid) setup_per_mode_enc_key() argument
289 fscrypt_derive_siphash_key(const struct fscrypt_master_key * mk,u8 context,const u8 * info,unsigned int infolen,siphash_key_t * key) fscrypt_derive_siphash_key() argument
302 fscrypt_derive_dirhash_key(struct fscrypt_inode_info * ci,const struct fscrypt_master_key * mk) fscrypt_derive_dirhash_key() argument
311 fscrypt_hash_inode_number(struct fscrypt_inode_info * ci,const struct fscrypt_master_key * mk) fscrypt_hash_inode_number() argument
321 fscrypt_setup_iv_ino_lblk_32_key(struct fscrypt_inode_info * ci,struct fscrypt_master_key * mk) fscrypt_setup_iv_ino_lblk_32_key() argument
355 fscrypt_setup_v2_file_key(struct fscrypt_inode_info * ci,struct fscrypt_master_key * mk,bool need_dirhash_key) fscrypt_setup_v2_file_key() argument
429 fscrypt_valid_master_key_size(const struct fscrypt_master_key * mk,const struct fscrypt_inode_info * ci) fscrypt_valid_master_key_size() argument
467 struct fscrypt_master_key *mk; setup_file_encryption_key() local
552 struct fscrypt_master_key *mk; put_crypt_info() local
588 struct fscrypt_master_key *mk = NULL; fscrypt_setup_encryption_info() local
[all...]
/linux/tools/testing/selftests/vfio/
H A DMakefile5 include ../lib.mk
22 include ../lib.mk
23 include lib/libvfio.mk
/linux/scripts/package/debian/
H A Drules38 mk-files = $(patsubst binary-%,debian/%.files,$1)
59 $(Q)dh_gencontrol $(DH_OPTIONS) -- -f$(call mk-files,$@)
66 $(Q)truncate -s0 $(call mk-files,$@)
73 $(Q)cat $(call mk-files,$^) > debian/files
/linux/tools/testing/selftests/powerpc/mce/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/powerpc/primitives/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/powerpc/cache_shape/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/powerpc/papr_attributes/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/powerpc/alignment/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/powerpc/vphn/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/drivers/net/hw/
H A DMakefile78 # YNL files, must be before "include ..lib.mk"
88 include ../../../lib.mk
96 include ../../../net/ynl.mk
98 include ../../../net/bpf.mk
/linux/tools/testing/selftests/powerpc/syscalls/
H A DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux/tools/testing/selftests/powerpc/eeh/
H A DMakefile9 include ../../lib.mk
10 include ../flags.mk
/linux/tools/testing/selftests/powerpc/papr_sysparm/
H A DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux/tools/testing/selftests/powerpc/papr_vpd/
H A DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux/tools/testing/selftests/powerpc/nx-gzip/
H A DMakefile4 include ../../lib.mk
5 include ../flags.mk
/linux/tools/testing/selftests/powerpc/dscr/
H A DMakefile7 include ../../lib.mk
8 include ../flags.mk
/linux/tools/testing/selftests/powerpc/signal/
H A DMakefile12 include ../../lib.mk
13 include ../flags.mk
/linux/tools/testing/selftests/powerpc/dexcr/
H A DMakefile4 include ../../lib.mk
5 include ../flags.mk
/linux/tools/testing/selftests/net/lib/
H A DMakefile23 include ../../lib.mk
25 include ../bpf.mk
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A DMakefile11 include ../../../lib.mk
12 include ../../flags.mk
/linux/tools/testing/selftests/powerpc/security/
H A DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux/tools/testing/selftests/powerpc/benchmarks/
H A DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A DMakefile12 include ../../../lib.mk
13 include ../../flags.mk
/linux/tools/testing/selftests/powerpc/switch_endian/
H A DMakefile7 include ../../lib.mk
8 include ../flags.mk

123456789