| /linux/block/ |
| H A D | blk-crypto-profile.c | 42 struct blk_crypto_profile *profile; member 45 static inline void blk_crypto_hw_enter(struct blk_crypto_profile *profile) in blk_crypto_hw_enter() argument 57 blk_crypto_hw_exit(struct blk_crypto_profile * profile) blk_crypto_hw_exit() argument 74 blk_crypto_profile_init(struct blk_crypto_profile * profile,unsigned int num_slots) blk_crypto_profile_init() argument 137 blk_crypto_profile_destroy_callback(void * profile) blk_crypto_profile_destroy_callback() argument 154 devm_blk_crypto_profile_init(struct device * dev,struct blk_crypto_profile * profile,unsigned int num_slots) devm_blk_crypto_profile_init() argument 169 blk_crypto_hash_bucket_for_key(struct blk_crypto_profile * profile,const struct blk_crypto_key * key) blk_crypto_hash_bucket_for_key() argument 179 struct blk_crypto_profile *profile = slot->profile; blk_crypto_remove_slot_from_lru_list() local 188 blk_crypto_find_keyslot(struct blk_crypto_profile * profile,const struct blk_crypto_key * key) blk_crypto_find_keyslot() argument 203 blk_crypto_find_and_grab_keyslot(struct blk_crypto_profile * profile,const struct blk_crypto_key * key) blk_crypto_find_and_grab_keyslot() argument 246 blk_crypto_get_keyslot(struct blk_crypto_profile * profile,const struct blk_crypto_key * key,struct blk_crypto_keyslot ** slot_ptr) blk_crypto_get_keyslot() argument 325 struct blk_crypto_profile *profile = slot->profile; blk_crypto_put_keyslot() local 344 __blk_crypto_cfg_supported(struct blk_crypto_profile * profile,const struct blk_crypto_config * cfg) __blk_crypto_cfg_supported() argument 363 __blk_crypto_evict_key(struct blk_crypto_profile * profile,const struct blk_crypto_key * key) __blk_crypto_evict_key() argument 418 blk_crypto_reprogram_all_keys(struct blk_crypto_profile * profile) blk_crypto_reprogram_all_keys() argument 441 blk_crypto_profile_destroy(struct blk_crypto_profile * profile) blk_crypto_profile_destroy() argument 453 blk_crypto_register(struct blk_crypto_profile * profile,struct request_queue * q) blk_crypto_register() argument 486 struct blk_crypto_profile *profile = blk_crypto_derive_sw_secret() local 504 blk_crypto_import_key(struct blk_crypto_profile * profile,const u8 * raw_key,size_t raw_key_size,u8 lt_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) blk_crypto_import_key() argument 524 blk_crypto_generate_key(struct blk_crypto_profile * profile,u8 lt_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) blk_crypto_generate_key() argument 542 blk_crypto_prepare_key(struct blk_crypto_profile * profile,const u8 * lt_key,size_t lt_key_size,u8 eph_key[BLK_CRYPTO_MAX_HW_WRAPPED_KEY_SIZE]) blk_crypto_prepare_key() argument [all...] |
| /linux/security/apparmor/ |
| H A D | policy.c | 154 __add_profile(struct list_head * list,struct aa_profile * profile) __add_profile() argument 183 __list_remove_profile(struct aa_profile * profile) __list_remove_profile() argument 199 __remove_profile(struct aa_profile * profile) __remove_profile() argument 245 struct aa_profile *profile, *tmp; __aa_profile_list_release() local 317 aa_free_profile(struct aa_profile * profile) aa_free_profile() argument 370 struct aa_profile *profile; aa_alloc_profile() local 414 ANY_RULE_MEDIATES(struct aa_profile * profile,unsigned char class) ANY_RULE_MEDIATES() argument 430 aa_compute_profile_mediates(struct aa_profile * profile) aa_compute_profile_mediates() argument 490 struct aa_profile *profile; aa_find_child() local 519 struct aa_profile *profile = NULL; __lookup_parent() local 554 struct aa_profile *parent, *profile = NULL; __create_missing_ancestors() local 602 struct aa_profile *profile = NULL; __lookupn_profile() local 639 struct aa_profile *profile; aa_lookupn_profile() local 658 struct aa_profile *profile; aa_fqlookupn_profile() local 687 struct aa_profile *profile; aa_alloc_null() local 735 struct aa_profile *p, *profile; aa_new_learning_profile() local 804 replacement_allowed(struct aa_profile * profile,int noreplace,const char ** info) replacement_allowed() argument 1012 __list_lookup_parent(struct list_head * lh,struct aa_profile * profile) __list_lookup_parent() argument 1428 struct aa_profile *profile = NULL; aa_remove_profiles() local [all...] |
| H A D | domain.c | 92 match_component(struct aa_profile * profile,struct aa_profile * tp,bool stack,aa_state_t state) match_component() argument 128 label_compound_match(struct aa_profile * profile,struct aa_label * label,bool stack,aa_state_t state,bool inview,u32 request,struct aa_perms * perms) label_compound_match() argument 190 label_components_match(struct aa_profile * profile,struct aa_label * label,bool stack,aa_state_t start,bool inview,u32 request,struct aa_perms * perms) label_components_match() argument 254 label_match(struct aa_profile * profile,struct aa_label * label,bool stack,aa_state_t state,bool inview,u32 request,struct aa_perms * perms) label_match() argument 288 change_profile_perms(struct aa_profile * profile,struct aa_label * target,bool stack,u32 request,aa_state_t start,struct aa_perms * perms) change_profile_perms() argument 312 aa_xattrs_match(const struct linux_binprm * bprm,struct aa_profile * profile,aa_state_t state) aa_xattrs_match() argument 395 struct aa_profile *profile, *candidate = NULL; find_attach() local 517 x_table_lookup(struct aa_profile * profile,u32 xindex,const char ** name) x_table_lookup() argument 568 x_to_label(struct aa_profile * profile,const struct linux_binprm * bprm,const char * name,u32 xindex,const char ** lookupname,const char ** info) x_to_label() argument 660 profile_transition(const struct cred * subj_cred,struct aa_profile * profile,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * secure_exec) profile_transition() argument 793 profile_onexec(const struct cred * subj_cred,struct aa_profile * profile,struct aa_label * onexec,bool stack,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * secure_exec) profile_onexec() argument 874 struct aa_profile *profile; handle_onexec() local 924 struct aa_profile *profile; apparmor_bprm_creds_for_exec() local 1058 build_change_hat(const struct cred * subj_cred,struct aa_profile * profile,const char * name,bool sibling) build_change_hat() argument 1111 struct aa_profile *profile, *root, *hat = NULL; change_hat() local 1228 struct aa_profile *profile; aa_change_hat() local 1354 change_profile_perms_wrapper(const char * op,const char * name,const struct cred * subj_cred,struct aa_profile * profile,struct aa_label * target,bool stack,u32 request,struct aa_perms * perms) change_profile_perms_wrapper() argument 1393 struct aa_profile *profile; aa_change_profile() local [all...] |
| H A D | mount.c | 135 struct aa_profile *profile, const char *op, in audit_mount() argument 281 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags() argument 306 match_mnt_path_str(const struct cred * subj_cred,struct aa_profile * profile,const struct path * mntpath,char * buffer,const char * devname,const char * type,unsigned long flags,void * data,bool binary,const char * devinfo) match_mnt_path_str() argument 367 match_mnt(const struct cred * subj_cred,struct aa_profile * profile,const struct path * path,char * buffer,const struct path * devpath,char * devbuffer,const char * type,unsigned long flags,void * data,bool binary) match_mnt() argument 398 struct aa_profile *profile; aa_remount() local 424 struct aa_profile *profile; aa_bind_mount() local 462 struct aa_profile *profile; aa_mount_change_type() local 489 struct aa_profile *profile; aa_move_mount() local 539 struct aa_profile *profile; aa_new_mount() local 602 profile_umount(const struct cred * subj_cred,struct aa_profile * profile,const struct path * path,char * buffer) profile_umount() argument 638 struct aa_profile *profile; aa_umount() local 662 build_pivotroot(const struct cred * subj_cred,struct aa_profile * profile,const struct path * new_path,char * new_buffer,const struct path * old_path,char * old_buffer) build_pivotroot() argument 720 struct aa_profile *profile; aa_pivotroot() local [all...] |
| H A D | af_unix.c | 172 static aa_state_t match_label(struct aa_profile *profile, in match_label() argument 201 static int profile_create_perm(struct aa_profile *profile, int family, in profile_create_perm() argument 225 profile_sk_perm(struct aa_profile * profile,struct apparmor_audit_data * ad,u32 request,struct sock * sk,const struct path * path) profile_sk_perm() argument 254 profile_bind_perm(struct aa_profile * profile,struct sock * sk,struct apparmor_audit_data * ad) profile_bind_perm() argument 285 profile_listen_perm(struct aa_profile * profile,struct sock * sk,int backlog,struct apparmor_audit_data * ad) profile_listen_perm() argument 321 profile_accept_perm(struct aa_profile * profile,struct sock * sk,struct apparmor_audit_data * ad) profile_accept_perm() argument 351 profile_opt_perm(struct aa_profile * profile,u32 request,struct sock * sk,int optname,struct apparmor_audit_data * ad) profile_opt_perm() argument 388 profile_peer_perm(struct aa_profile * profile,u32 request,struct sock * sk,const struct path * path,struct sockaddr_un * peer_addr,int peer_addrlen,const struct path * peer_path,struct aa_label * peer_label,struct apparmor_audit_data * ad) profile_peer_perm() argument 433 struct aa_profile *profile; aa_unix_create_perm() local 451 struct aa_profile *profile; aa_unix_label_sk_perm() local 490 struct aa_profile *profile; aa_unix_bind_perm() local 529 struct aa_profile *profile; aa_unix_listen_perm() local 550 struct aa_profile *profile; aa_unix_accept_perm() local 583 struct aa_profile *profile; aa_unix_opt_perm() local 606 struct aa_profile *profile; unix_peer_perm() local [all...] |
| H A D | capability.c | 67 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps() 121 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable() 182 struct aa_profile *profile; in aa_capable() local 194 kernel_cap_t aa_profile_capget(struct aa_profile *profile) in aa_profile_capget()
|
| H A D | net.c | 165 aa_do_perms(struct aa_profile * profile,struct aa_policydb * policy,aa_state_t state,u32 request,struct aa_perms * p,struct apparmor_audit_data * ad) aa_do_perms() argument 250 aa_profile_af_perm(struct aa_profile * profile,struct apparmor_audit_data * ad,u32 request,u16 family,int type,int protocol) aa_profile_af_perm() argument 275 struct aa_profile *profile; aa_af_perm() local 295 struct aa_profile *profile; aa_label_sk_perm() local 361 aa_secmark_perm(struct aa_profile * profile,u32 request,u32 secid,struct apparmor_audit_data * ad) aa_secmark_perm() argument 398 struct aa_profile *profile; apparmor_secmark_check() local [all...] |
| H A D | file.c | 96 struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file() argument 154 struct aa_profile *profile; in path_name() local 227 __aa_path_perm(const char * op,const struct cred * subj_cred,struct aa_profile * profile,const char * name,u32 request,struct path_cond * cond,int flags,struct aa_perms * perms) __aa_path_perm() argument 248 profile_path_perm(const char * op,const struct cred * subj_cred,struct aa_profile * profile,const struct path * path,char * buffer,u32 request,struct path_cond * cond,int flags,struct aa_perms * perms) profile_path_perm() argument 286 struct aa_profile *profile; aa_path_perm() local 325 profile_path_link(const struct cred * subj_cred,struct aa_profile * profile,const struct path * link,char * buffer,const struct path * target,char * buffer2,struct path_cond * cond) profile_path_link() argument 443 struct aa_profile *profile; aa_path_link() local 488 struct aa_profile *profile; __file_path_perm() local [all...] |
| H A D | apparmorfs.c | 685 profile_query_cb(struct aa_profile * profile,struct aa_perms * perms,const char * match_str,size_t match_len) profile_query_cb() argument 751 struct aa_profile *profile; query_data() local 840 struct aa_profile *profile; query_label() local 1155 struct aa_profile *profile = labels_profile(label); seq_profile_name_show() local 1166 struct aa_profile *profile = labels_profile(label); seq_profile_mode_show() local 1177 struct aa_profile *profile = labels_profile(label); seq_profile_attach_show() local 1193 struct aa_profile *profile = labels_profile(label); seq_profile_hash_show() local 1245 struct aa_profile *profile; seq_ns_nsstacked_show() local 1596 __aafs_profile_rmdir(struct aa_profile * profile) __aafs_profile_rmdir() argument 1642 create_profile_file(struct dentry * dir,const char * name,struct aa_profile * profile,const struct file_operations * fops) create_profile_file() argument 1649 profile_depth(struct aa_profile * profile) profile_depth() argument 1698 struct aa_profile *profile; rawdata_get_link_base() local 1764 __aafs_profile_mkdir(struct aa_profile * profile,struct dentry * parent) __aafs_profile_mkdir() argument 2246 next_profile(struct aa_ns * root,struct aa_profile * profile) next_profile() argument 2267 struct aa_profile *profile = NULL; p_start() local 2295 struct aa_profile *profile = p; p_next() local 2311 struct aa_profile *profile = p; p_stop() local 2331 struct aa_profile *profile = (struct aa_profile *)p; seq_show_profile() local [all...] |
| H A D | resource.c | 57 struct aa_profile *profile, unsigned int resource, in audit_resource() 89 struct aa_profile *profile, unsigned int resource, in profile_setrlimit() 118 struct aa_profile *profile; in aa_task_setrlimit() local
|
| H A D | ipc.c | 79 struct aa_profile *profile, in profile_signal_perm() 106 struct aa_profile *profile; in aa_may_signal() local
|
| H A D | task.c | 228 struct aa_profile *profile, in profile_ptrace_perm() argument 293 struct aa_profile *profile; in aa_may_ptrace() local 347 aa_profile_ns_perm(struct aa_profile * profile,struct apparmor_audit_data * ad,u32 request) aa_profile_ns_perm() argument [all...] |
| H A D | label.c | 328 struct aa_profile *profile; in aa_label_destroy() local 1257 match_component(struct aa_profile * profile,struct aa_ruleset * rules,struct aa_profile * tp,aa_state_t state) match_component() argument 1291 label_compound_match(struct aa_profile * profile,struct aa_ruleset * rules,struct aa_label * label,aa_state_t state,bool inview,u32 request,struct aa_perms * perms) label_compound_match() argument 1347 label_components_match(struct aa_profile * profile,struct aa_ruleset * rules,struct aa_label * label,aa_state_t start,bool inview,u32 request,struct aa_perms * perms) label_components_match() argument 1406 aa_label_match(struct aa_profile * profile,struct aa_ruleset * rules,struct aa_label * label,aa_state_t state,bool inview,u32 request,struct aa_perms * perms) aa_label_match() argument 1502 aa_profile_snxprint(char * str,size_t size,struct aa_ns * view,struct aa_profile * profile,int flags,struct aa_ns ** prev_ns) aa_profile_snxprint() argument 1545 struct aa_profile *profile; label_modename() local 1579 struct aa_profile *profile; display_mode() local 1615 struct aa_profile *profile; aa_label_snxprint() local [all...] |
| H A D | audit.c | 120 struct aa_profile *profile = labels_profile(label); in audit_pre() local 166 int aa_audit(int type, struct aa_profile *profile, in aa_audit()
|
| H A D | lib.c | 363 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms() 388 void aa_profile_match_label(struct aa_profile *profile, in aa_profile_match_label() 420 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
|
| /linux/drivers/mmc/host/ |
| H A D | cqhci-crypto.c | 26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile) in cqhci_host_from_crypto_profile() 54 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_program() 112 static int cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_evict() 165 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init() local
|
| /linux/drivers/acpi/ |
| H A D | platform_profile.c | 115 enum platform_profile_option *profile) in get_class_profile() 182 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in profile_show() local 337 enum platform_profile_option *profile = data; in _aggregate_profiles() local 362 enum platform_profile_option *profile = data; in _store_and_notify() local 383 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_show() local 501 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_cycle() local
|
| /linux/sound/soc/sof/ |
| H A D | fw-file-profile.c | 15 struct sof_loadable_file_profile *profile, in sof_test_firmware_file() argument 67 struct sof_loadable_file_profile *profile) in sof_test_topology_file() argument 267 sof_print_profile_info(struct snd_sof_dev * sdev,enum sof_ipc_type ipc_type,struct sof_loadable_file_profile * profile) sof_print_profile_info() argument [all...] |
| /linux/drivers/thermal/intel/int340x_thermal/ |
| H A D | processor_thermal_soc_slider.c | 136 static int convert_profile_to_power_slider(enum platform_profile_option profile) in convert_profile_to_power_slider() 201 enum platform_profile_option profile) in power_slider_platform_profile_set() 224 enum platform_profile_option *profile) in power_slider_platform_profile_get()
|
| /linux/drivers/ufs/core/ |
| H A D | ufshcd-crypto.c | 43 static int ufshcd_crypto_keyslot_program(struct blk_crypto_profile *profile, in ufshcd_crypto_keyslot_program() 88 static int ufshcd_crypto_keyslot_evict(struct blk_crypto_profile *profile, in ufshcd_crypto_keyslot_evict()
|
| /linux/drivers/md/ |
| H A D | dm-table.c | 1140 struct blk_crypto_profile profile; member 1157 static int dm_keyslot_evict(struct blk_crypto_profile *profile, in dm_keyslot_evict() 1220 struct blk_crypto_profile *profile = in dm_wrappedkey_op_callback() local 1253 static int dm_exec_wrappedkey_op(struct blk_crypto_profile *profile, in dm_exec_wrappedkey_op() 1290 static int dm_derive_sw_secret(struct blk_crypto_profile *profile, in dm_derive_sw_secret() 1305 static int dm_import_key(struct blk_crypto_profile *profile, in dm_import_key() 1320 static int dm_generate_key(struct blk_crypto_profile *profile, in dm_generate_key() 1332 static int dm_prepare_key(struct blk_crypto_profile *profile, in dm_prepare_key() 1359 void dm_destroy_crypto_profile(struct blk_crypto_profile *profile) in dm_destroy_crypto_profile() 1390 struct blk_crypto_profile *profile; in dm_table_construct_crypto_profile() local [all …]
|
| /linux/drivers/platform/x86/hp/ |
| H A D | hp-wmi.c | 1495 platform_profile_omen_get_ec(enum platform_profile_option * profile) platform_profile_omen_get_ec() argument 1524 platform_profile_omen_get(struct device * dev,enum platform_profile_option * profile) platform_profile_omen_get() argument 1566 platform_profile_omen_set_ec(enum platform_profile_option profile) platform_profile_omen_set_ec() argument 1621 platform_profile_omen_set(struct device * dev,enum platform_profile_option profile) platform_profile_omen_set() argument 1648 hp_wmi_platform_profile_get(struct device * dev,enum platform_profile_option * profile) hp_wmi_platform_profile_get() argument 1677 hp_wmi_platform_profile_set(struct device * dev,enum platform_profile_option profile) hp_wmi_platform_profile_set() argument 1717 platform_profile_victus_get_ec(enum platform_profile_option * profile) platform_profile_victus_get_ec() argument 1743 platform_profile_victus_get(struct device * dev,enum platform_profile_option * profile) platform_profile_victus_get() argument 1749 platform_profile_victus_set_ec(enum platform_profile_option profile) platform_profile_victus_set_ec() argument 1858 platform_profile_victus_s_get_ec(enum platform_profile_option * profile) platform_profile_victus_s_get_ec() argument 1913 platform_profile_victus_s_set_ec(enum platform_profile_option profile) platform_profile_victus_s_set_ec() argument 1967 platform_profile_victus_s_set(struct device * dev,enum platform_profile_option profile) platform_profile_victus_s_set() argument 1983 platform_profile_victus_set(struct device * dev,enum platform_profile_option profile) platform_profile_victus_set() argument [all...] |
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-pc.c | 184 enum platform_profile_option profile) in thermal_platform_profile_set() 201 enum platform_profile_option *profile) in thermal_platform_profile_get()
|
| /linux/drivers/s390/block/ |
| H A D | dasd.c | 852 void dasd_profile_reset(struct dasd_profile *profile) in dasd_profile_reset() 867 int dasd_profile_on(struct dasd_profile *profile) in dasd_profile_on() 886 void dasd_profile_off(struct dasd_profile *profile) in dasd_profile_off() 1013 struct dasd_profile *profile; in dasd_stats_show() local 1031 struct dasd_profile *profile = inode->i_private; in dasd_stats_open() local 1044 static void dasd_profile_init(struct dasd_profile *profile, in dasd_profile_init() 1052 static void dasd_profile_exit(struct dasd_profile *profile) in dasd_profile_exit() 1088 static void dasd_profile_init(struct dasd_profile *profile, in dasd_profile_init() 1094 static void dasd_profile_exit(struct dasd_profile *profile) in dasd_profile_exit() 1099 int dasd_profile_on(struct dasd_profile *profile) in dasd_profile_on()
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | wmi-gamezone.c | 152 enum platform_profile_option *profile) in lwmi_gz_profile_get() 199 enum platform_profile_option profile) in lwmi_gz_profile_set()
|