/linux/kernel/ |
A D | params.c | 638 mk->mp = kzalloc(sizeof(*mk->mp), GFP_KERNEL); in add_sysfs_param() 653 sizeof(mk->mp->attrs[0]) * (mk->mp->num + 1), in add_sysfs_param() 668 memset(&mk->mp->attrs[mk->mp->num], 0, sizeof(mk->mp->attrs[0])); in add_sysfs_param() 670 mk->mp->attrs[mk->mp->num].param = kp; in add_sysfs_param() 676 mk->mp->attrs[mk->mp->num].mattr.store = NULL; in add_sysfs_param() 684 mk->mp->grp.attrs[mk->mp->num] = NULL; in add_sysfs_param() 793 return mk; in locate_module_kobject() 804 if (!mk) in kernel_add_sysfs_param() 809 sysfs_remove_group(&mk->kobj, &mk->mp->grp); in kernel_add_sysfs_param() 814 err = sysfs_create_group(&mk->kobj, &mk->mp->grp); in kernel_add_sysfs_param() [all …]
|
/linux/fs/crypto/ |
A D | keyring.c | 53 key_put(mk->mk_users); in free_master_key() 54 kfree_sensitive(mk); in free_master_key() 343 mk = kzalloc(sizeof(*mk), GFP_KERNEL); in add_new_master_key() 344 if (!mk) in add_new_master_key() 378 err = key_instantiate_and_link(key, mk, sizeof(*mk), keyring, NULL); in add_new_master_key() 386 free_master_key(mk); in add_new_master_key() 403 if (mk->mk_users) { in add_existing_master_key() 419 if (mk->mk_users) { in add_existing_master_key() 845 master_key_spec_len(&mk->mk_spec), (u8 *)&mk->mk_spec.u, in check_for_busy_inodes() 948 if (mk->mk_users && mk->mk_users->keys.nr_leaves_on_tree != 0) { in do_remove_key() [all …]
|
A D | keysetup.c | 165 struct fscrypt_master_key *mk, in setup_per_mode_enc_key() argument 266 &mk->mk_ino_hash_key); in fscrypt_hash_inode_number() 274 err = setup_per_mode_enc_key(ci, mk, mk->mk_iv_ino_lblk_32_keys, in fscrypt_setup_iv_ino_lblk_32_key() 305 fscrypt_hash_inode_number(ci, mk); in fscrypt_setup_iv_ino_lblk_32_key() 324 err = setup_per_mode_enc_key(ci, mk, mk->mk_direct_keys, in fscrypt_setup_v2_file_key() 334 err = setup_per_mode_enc_key(ci, mk, mk->mk_iv_ino_lblk_64_keys, in fscrypt_setup_v2_file_key() 398 (u8 *)&mk->mk_spec.u, in fscrypt_valid_master_key_size() 461 mk = key->payload.data[0]; in setup_file_encryption_key() 582 struct fscrypt_master_key *mk = in fscrypt_setup_encryption_info() local 585 refcount_inc(&mk->mk_refcount); in fscrypt_setup_encryption_info() [all …]
|
A D | hooks.c | 146 struct fscrypt_master_key *mk; in fscrypt_prepare_setflags() local 162 mk = key->payload.data[0]; in fscrypt_prepare_setflags() 164 if (is_master_key_secret_present(&mk->mk_secret)) in fscrypt_prepare_setflags() 165 err = fscrypt_derive_dirhash_key(ci, mk); in fscrypt_prepare_setflags()
|
/linux/drivers/base/ |
A D | module.c | 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() 52 drv->p->mkobj = mk; in module_add_driver() 58 if (!mk) in module_add_driver() 65 module_create_drivers_dir(mk); in module_add_driver() 74 struct module_kobject *mk = NULL; in module_remove_driver() local 83 mk = &drv->owner->mkobj; in module_remove_driver() 85 mk = drv->p->mkobj; in module_remove_driver() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | Makefile | 4 include local_config.mk 90 include ../lib.mk 152 local_config.mk local_config.h: check_config.sh 155 EXTRA_CLEAN += local_config.mk local_config.h
|
/linux/tools/testing/selftests/net/af_unix/ |
A D | Makefile | 2 include ../../lib.mk
|
/linux/tools/testing/selftests/watchdog/ |
A D | Makefile | 4 include ../lib.mk
|
/linux/tools/testing/selftests/locking/ |
A D | Makefile | 10 include ../lib.mk
|
/linux/tools/testing/selftests/mincore/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/sigaltstack/ |
A D | Makefile | 5 include ../lib.mk
|
/linux/tools/testing/selftests/static_keys/ |
A D | Makefile | 9 include ../lib.mk
|
/linux/tools/testing/selftests/user/ |
A D | Makefile | 9 include ../lib.mk
|
/linux/tools/testing/selftests/core/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/dma/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/sysctl/ |
A D | Makefile | 10 include ../lib.mk
|
/linux/tools/testing/selftests/kmod/ |
A D | Makefile | 9 include ../lib.mk
|
/linux/tools/testing/selftests/drivers/dma-buf/ |
A D | Makefile | 8 include ../../lib.mk
|
/linux/tools/testing/selftests/nsfs/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/size/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/media_tests/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/filesystems/epoll/ |
A D | Makefile | 7 include ../../lib.mk
|
/linux/tools/testing/selftests/move_mount_set_group/ |
A D | Makefile | 7 include ../lib.mk
|
/linux/tools/testing/selftests/rlimits/ |
A D | Makefile | 6 include ../lib.mk
|
/linux/tools/testing/selftests/filesystems/ |
A D | Makefile | 7 include ../lib.mk
|