Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/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(refcount_read(&mk->mk_active_refs) != 0); in fscrypt_put_master_key()
77 key_put(mk->mk_users); in fscrypt_put_master_key()
78 mk->mk_users = NULL; in fscrypt_put_master_key()
79 call_rcu(&mk->mk_rcu_head, fscrypt_free_master_key); in fscrypt_put_master_key()
82 void fscrypt_put_master_key_activeref(struct fscrypt_master_key *mk) in fscrypt_put_master_key_activeref() argument
84 struct super_block *sb = mk->mk_sb; in fscrypt_put_master_key_activeref()
[all …]
Dkeysetup.c164 struct fscrypt_master_key *mk, in setup_per_mode_enc_key() argument
201 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, in setup_per_mode_enc_key()
226 static int fscrypt_derive_siphash_key(const struct fscrypt_master_key *mk, in fscrypt_derive_siphash_key() argument
232 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key()
245 const struct fscrypt_master_key *mk) in fscrypt_derive_dirhash_key() argument
249 err = fscrypt_derive_siphash_key(mk, HKDF_CONTEXT_DIRHASH_KEY, in fscrypt_derive_dirhash_key()
259 const struct fscrypt_master_key *mk) in fscrypt_hash_inode_number() argument
262 WARN_ON(!mk->mk_ino_hash_key_initialized); in fscrypt_hash_inode_number()
265 &mk->mk_ino_hash_key); in fscrypt_hash_inode_number()
269 struct fscrypt_master_key *mk) in fscrypt_setup_iv_ino_lblk_32_key() argument
[all …]
Dhooks.c140 struct fscrypt_master_key *mk; in fscrypt_prepare_setflags() local
155 mk = ci->ci_master_key; in fscrypt_prepare_setflags()
156 down_read(&mk->mk_sem); in fscrypt_prepare_setflags()
157 if (is_master_key_secret_present(&mk->mk_secret)) in fscrypt_prepare_setflags()
158 err = fscrypt_derive_dirhash_key(ci, mk); in fscrypt_prepare_setflags()
161 up_read(&mk->mk_sem); in fscrypt_prepare_setflags()
Dfscrypt_private.h563 void fscrypt_put_master_key(struct fscrypt_master_key *mk);
565 void fscrypt_put_master_key_activeref(struct fscrypt_master_key *mk);
601 const struct fscrypt_master_key *mk);
604 const struct fscrypt_master_key *mk);
/kernel/linux/linux-5.10/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()
37 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()
62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); in module_add_driver()
65 module_create_drivers_dir(mk); in module_add_driver()
[all …]
/kernel/linux/linux-5.10/kernel/
Dparams.c540 struct module_kobject *mk, char *buf) in param_attr_show() argument
548 kernel_param_lock(mk->mod); in param_attr_show()
550 kernel_param_unlock(mk->mod); in param_attr_show()
556 struct module_kobject *mk, in param_attr_store() argument
565 kernel_param_lock(mk->mod); in param_attr_store()
570 kernel_param_unlock(mk->mod); in param_attr_store()
607 static __modinit int add_sysfs_param(struct module_kobject *mk, in add_sysfs_param() argument
618 if (!mk->mp) { in add_sysfs_param()
620 mk->mp = kzalloc(sizeof(*mk->mp), GFP_KERNEL); in add_sysfs_param()
621 if (!mk->mp) in add_sysfs_param()
[all …]
/kernel/liteos_a/
Dconfig.mk31 -include $(LITEOSTOPDIR)/tools/build/mk/los_config.mk
33 -include $(LITEOSTOPDIR)/tools/build/mk/liteos_tables_ldflags.mk
/kernel/linux/patches/
DREADME_zh.md25 │ ├── kernel.mk # 内核编译文件
64 在kernel/linux/build仓中,按照kernel.mk中HDF的补丁合入方法,合入不同内核版本对应的HDF内核补丁:
74 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件patch放到对应路径下:
83 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件config放到对应路径下:
DREADME.md25 │ ├── kernel.mk # Kernel build file
64 …ches matching your kernel version. For details, see the method in **kernel.mk** in the **kernel/li…
74 …he path and naming rules for the patches of the chip component in **kernel.mk** in the **kernel/li…
83 … path based on the path and naming rules of the chip component in **kernel.mk** in the **kernel/li…
/kernel/liteos_a/testsuites/
Dconfig.mk31 include $(LITEOSTOPDIR)/config.mk
32 include $(LITEOSTESTTOPDIR)/build/los_test_config.mk
/kernel/liteos_a/kernel/base/
DMakefile30 include $(LITEOSTOPDIR)/config.mk
31 include $(LITEOSTOPDIR)/../../drivers/hdf_core/adapter/khdf/liteos/lite.mk
/kernel/liteos_a/net/lwip-2.1/
DMakefile30 include $(LITEOSTOPDIR)/config.mk
36 include $(LWIPDIR)/Filelists.mk
/kernel/linux/config/
DREADME_zh.md54 在kernel/linux/build仓中,按照kernel.mk中HDF的补丁合入方法,合入不同内核版本对应的HDF内核补丁:
64 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件patch放到对应路径下:
73 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件config放到对应路径下:
/kernel/liteos_a/apps/
Dconfig.mk30 include $(LITEOSTOPDIR)/config.mk
50 APP := $(APPSTOPDIR)/app.mk
/kernel/linux/build/
DREADME_zh.md49 在kernel/linux/build仓中,按照kernel.mk中HDF的补丁合入方法,合入不同内核版本对应的HDF内核补丁:
59 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件patch放到对应路径下:
68 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件config放到对应路径下:
/kernel/linux/linux-5.10/tools/testing/selftests/watchdog/
DMakefile4 include ../lib.mk
/kernel/liteos_a/tools/build/mk/
Dlos_config.mk43 MODULE = $(LITEOSTOPDIR)/tools/build/mk/module.mk
110 include $(LITEOSTOPDIR)/arch/cpu.mk
114 include $(LITEOSTOPDIR)/platform/bsp.mk
/kernel/linux/linux-5.10/tools/testing/selftests/sigaltstack/
DMakefile5 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/
DMakefile6 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/locking/
DMakefile10 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/static_keys/
DMakefile9 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/user/
DMakefile9 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/core/
DMakefile6 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/kmod/
DMakefile9 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/sysctl/
DMakefile10 include ../lib.mk

123456789