Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/fs/crypto/
Dkeyring.c56 struct fscrypt_master_key *mk = in fscrypt_free_master_key() local
64 kfree_sensitive(mk); in fscrypt_free_master_key()
67 void fscrypt_put_master_key(struct fscrypt_master_key *mk) in fscrypt_put_master_key() argument
69 if (!refcount_dec_and_test(&mk->mk_struct_refs)) in fscrypt_put_master_key()
76 WARN_ON_ONCE(refcount_read(&mk->mk_active_refs) != 0); in fscrypt_put_master_key()
77 if (mk->mk_users) { in fscrypt_put_master_key()
79 keyring_clear(mk->mk_users); in fscrypt_put_master_key()
80 key_put(mk->mk_users); in fscrypt_put_master_key()
81 mk->mk_users = NULL; in fscrypt_put_master_key()
83 call_rcu(&mk->mk_rcu_head, fscrypt_free_master_key); in fscrypt_put_master_key()
[all …]
Dkeysetup.c189 struct fscrypt_master_key *mk, in setup_per_mode_enc_key() argument
226 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in setup_per_mode_enc_key()
251 static int fscrypt_derive_siphash_key(const struct fscrypt_master_key *mk, in fscrypt_derive_siphash_key() argument
257 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key()
270 const struct fscrypt_master_key *mk) in fscrypt_derive_dirhash_key() argument
274 err = fscrypt_derive_siphash_key(mk, HKDF_CONTEXT_DIRHASH_KEY, in fscrypt_derive_dirhash_key()
284 const struct fscrypt_master_key *mk) in fscrypt_hash_inode_number() argument
287 WARN_ON_ONCE(!mk->mk_ino_hash_key_initialized); in fscrypt_hash_inode_number()
290 &mk->mk_ino_hash_key); in fscrypt_hash_inode_number()
294 struct fscrypt_master_key *mk) in fscrypt_setup_iv_ino_lblk_32_key() argument
[all …]
Dhooks.c188 struct fscrypt_master_key *mk; in fscrypt_prepare_setflags() local
203 mk = ci->ci_master_key; in fscrypt_prepare_setflags()
204 down_read(&mk->mk_sem); in fscrypt_prepare_setflags()
205 if (mk->mk_present) in fscrypt_prepare_setflags()
206 err = fscrypt_derive_dirhash_key(ci, mk); in fscrypt_prepare_setflags()
209 up_read(&mk->mk_sem); in fscrypt_prepare_setflags()
/linux-6.12.1/drivers/base/
Dmodule.c23 static void module_create_drivers_dir(struct module_kobject *mk) in module_create_drivers_dir() argument
28 if (mk && !mk->drivers_dir) in module_create_drivers_dir()
29 mk->drivers_dir = kobject_create_and_add("drivers", &mk->kobj); in module_create_drivers_dir()
36 struct module_kobject *mk = NULL; in module_add_driver() local
43 mk = &mod->mkobj; in module_add_driver()
50 mk = container_of(mkobj, struct module_kobject, kobj); in module_add_driver()
52 drv->p->mkobj = mk; in module_add_driver()
58 if (!mk) in module_add_driver()
61 ret = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); in module_add_driver()
71 module_create_drivers_dir(mk); in module_add_driver()
[all …]
/linux-6.12.1/kernel/
Dparams.c561 struct module_kobject *mk, char *buf) in param_attr_show() argument
569 kernel_param_lock(mk->mod); in param_attr_show()
571 kernel_param_unlock(mk->mod); in param_attr_show()
577 struct module_kobject *mk, in param_attr_store() argument
586 kernel_param_lock(mk->mod); in param_attr_store()
591 kernel_param_unlock(mk->mod); in param_attr_store()
628 static __modinit int add_sysfs_param(struct module_kobject *mk, in add_sysfs_param() argument
639 if (!mk->mp) { in add_sysfs_param()
641 mk->mp = kzalloc(sizeof(*mk->mp), GFP_KERNEL); in add_sysfs_param()
642 if (!mk->mp) in add_sysfs_param()
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/mce/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/cache_shape/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/primitives/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/papr_attributes/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/vphn/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/alignment/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/scripts/package/debian/
Drules36 mk-files = $(patsubst binary-%,debian/%.files,$1)
53 $(Q)dh_gencontrol $(DH_OPTIONS) -- -f$(call mk-files,$@)
60 $(Q)truncate -s0 $(call mk-files,$@)
67 $(Q)cat $(call mk-files,$^) > debian/files
/linux-6.12.1/tools/testing/selftests/powerpc/syscalls/
DMakefile5 include ../../lib.mk
6 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/eeh/
DMakefile9 include ../../lib.mk
10 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/papr_sysparm/
DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/papr_vpd/
DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/
DMakefile4 include ../../lib.mk
5 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/dscr/
DMakefile7 include ../../lib.mk
8 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/signal/
DMakefile12 include ../../lib.mk
13 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/dexcr/
DMakefile4 include ../../lib.mk
5 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/pmu/event_code_tests/
DMakefile11 include ../../../lib.mk
12 include ../../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/benchmarks/
DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/security/
DMakefile8 include ../../lib.mk
9 include ../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/pmu/sampling_tests/
DMakefile11 include ../../../lib.mk
12 include ../../flags.mk
/linux-6.12.1/tools/testing/selftests/powerpc/switch_endian/
DMakefile7 include ../../lib.mk
8 include ../flags.mk

12345678