Home
last modified time | relevance | path

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

123456789

/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/linux/linux-5.10/fs/crypto/
Dkeyring.c41 static void free_master_key(struct fscrypt_master_key *mk) in free_master_key() argument
45 wipe_master_key_secret(&mk->mk_secret); in free_master_key()
48 fscrypt_destroy_prepared_key(&mk->mk_direct_keys[i]); in free_master_key()
49 fscrypt_destroy_prepared_key(&mk->mk_iv_ino_lblk_64_keys[i]); in free_master_key()
50 fscrypt_destroy_prepared_key(&mk->mk_iv_ino_lblk_32_keys[i]); in free_master_key()
53 key_put(mk->mk_users); in free_master_key()
54 kfree_sensitive(mk); in free_master_key()
81 const struct fscrypt_master_key *mk = key->payload.data[0]; in fscrypt_key_describe() local
83 if (!is_master_key_secret_present(&mk->mk_secret)) in fscrypt_key_describe()
255 static int allocate_master_key_users_keyring(struct fscrypt_master_key *mk) in allocate_master_key_users_keyring() argument
[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.c142 struct fscrypt_master_key *mk; in fscrypt_prepare_setflags() local
157 mk = ci->ci_master_key->payload.data[0]; in fscrypt_prepare_setflags()
158 down_read(&mk->mk_secret_sem); in fscrypt_prepare_setflags()
159 if (is_master_key_secret_present(&mk->mk_secret)) in fscrypt_prepare_setflags()
160 err = fscrypt_derive_dirhash_key(ci, mk); in fscrypt_prepare_setflags()
163 up_read(&mk->mk_secret_sem); in fscrypt_prepare_setflags()
/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.md58 在kernel/linux/build仓中,按照kernel.mk中HDF的补丁合入方法,合入不同内核版本对应的HDF内核补丁:
68 在kernel/linux/build仓中,按照kernel.mk中的芯片组件所对应的patch路径规则及命名规则,将对应的芯片组件patch放到对应路径下:
77 在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/static_keys/
DMakefile9 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/sigaltstack/
DMakefile5 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/locking/
DMakefile10 include ../lib.mk
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/
DMakefile6 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
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/dma-buf/
DMakefile8 include ../../lib.mk

123456789