| /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() 57 static inline void blk_crypto_hw_exit(struct blk_crypto_profile *profile) in blk_crypto_hw_exit() 74 int blk_crypto_profile_init(struct blk_crypto_profile *profile, in blk_crypto_profile_init() 137 static void blk_crypto_profile_destroy_callback(void *profile) in blk_crypto_profile_destroy_callback() 154 struct blk_crypto_profile *profile, in devm_blk_crypto_profile_init() 169 blk_crypto_hash_bucket_for_key(struct blk_crypto_profile *profile, in blk_crypto_hash_bucket_for_key() 179 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list() local 188 blk_crypto_find_keyslot(struct blk_crypto_profile *profile, in blk_crypto_find_keyslot() 203 blk_crypto_find_and_grab_keyslot(struct blk_crypto_profile *profile, in blk_crypto_find_and_grab_keyslot() [all …]
|
| H A D | blk-crypto-sysfs.c | 15 struct blk_crypto_profile *profile; member 34 static ssize_t hw_wrapped_keys_show(struct blk_crypto_profile *profile, in hw_wrapped_keys_show() 41 static ssize_t max_dun_bits_show(struct blk_crypto_profile *profile, in max_dun_bits_show() 47 static ssize_t num_keyslots_show(struct blk_crypto_profile *profile, in num_keyslots_show() 53 static ssize_t raw_keys_show(struct blk_crypto_profile *profile, in raw_keys_show() 71 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_is_visible() local 107 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_mode_is_visible() local 116 static ssize_t blk_crypto_mode_show(struct blk_crypto_profile *profile, in blk_crypto_mode_show() 139 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_attr_show() local
|
| /linux/security/apparmor/ |
| H A D | policy.c | 154 static void __add_profile(struct list_head *list, struct aa_profile *profile) in __add_profile() 183 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile() 199 static void __remove_profile(struct aa_profile *profile) in __remove_profile() 245 struct aa_profile *profile, *tmp; in __aa_profile_list_release() local 317 void aa_free_profile(struct aa_profile *profile) in aa_free_profile() 370 struct aa_profile *profile; in aa_alloc_profile() local 414 static inline bool ANY_RULE_MEDIATES(struct aa_profile *profile, in ANY_RULE_MEDIATES() 430 void aa_compute_profile_mediates(struct aa_profile *profile) in aa_compute_profile_mediates() 490 struct aa_profile *profile; in aa_find_child() local 519 struct aa_profile *profile = NULL; in __lookup_parent() local [all …]
|
| H A D | domain.c | 92 static inline aa_state_t match_component(struct aa_profile *profile, in match_component() 128 static int label_compound_match(struct aa_profile *profile, in label_compound_match() 190 static int label_components_match(struct aa_profile *profile, in label_components_match() 254 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match() 288 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms() 312 struct aa_profile *profile, aa_state_t state) in aa_xattrs_match() 395 struct aa_profile *profile, *candidate = NULL; in find_attach() local 517 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup() 568 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label() 660 struct aa_profile *profile, in profile_transition() [all …]
|
| H A D | mount.c | 135 struct aa_profile *profile, const char *op, in audit_mount() 281 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags() 306 struct aa_profile *profile, in match_mnt_path_str() 367 struct aa_profile *profile, const struct path *path, in match_mnt() 398 struct aa_profile *profile; in aa_remount() local 424 struct aa_profile *profile; in aa_bind_mount() local 462 struct aa_profile *profile; in aa_mount_change_type() local 489 struct aa_profile *profile; in aa_move_mount() local 539 struct aa_profile *profile; in aa_new_mount() local 602 struct aa_profile *profile, const struct path *path, in profile_umount() [all …]
|
| H A D | af_unix.c | 172 static aa_state_t match_label(struct aa_profile *profile, in match_label() 201 static int profile_create_perm(struct aa_profile *profile, int family, in profile_create_perm() 225 static int profile_sk_perm(struct aa_profile *profile, in profile_sk_perm() 254 static int profile_bind_perm(struct aa_profile *profile, struct sock *sk, in profile_bind_perm() 285 static int profile_listen_perm(struct aa_profile *profile, struct sock *sk, in profile_listen_perm() 321 static int profile_accept_perm(struct aa_profile *profile, in profile_accept_perm() 351 static int profile_opt_perm(struct aa_profile *profile, u32 request, in profile_opt_perm() 388 static int profile_peer_perm(struct aa_profile *profile, u32 request, in profile_peer_perm() 433 struct aa_profile *profile; in aa_unix_create_perm() local 451 struct aa_profile *profile; in aa_unix_label_sk_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 int aa_do_perms(struct aa_profile *profile, struct aa_policydb *policy, in aa_do_perms() 250 int aa_profile_af_perm(struct aa_profile *profile, in aa_profile_af_perm() 275 struct aa_profile *profile; in aa_af_perm() local 295 struct aa_profile *profile; in aa_label_sk_perm() local 361 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm() 398 struct aa_profile *profile; in apparmor_secmark_check() local
|
| H A D | file.c | 96 struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file() 154 struct aa_profile *profile; in path_name() local 227 struct aa_profile *profile, const char *name, in __aa_path_perm() 248 struct aa_profile *profile, in profile_path_perm() 286 struct aa_profile *profile; in aa_path_perm() local 325 struct aa_profile *profile, in profile_path_link() 443 struct aa_profile *profile; in aa_path_link() local 488 struct aa_profile *profile; in __file_path_perm() local
|
| H A D | apparmorfs.c | 696 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb() 762 struct aa_profile *profile; in query_data() local 851 struct aa_profile *profile; in query_label() local 1166 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local 1177 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local 1188 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local 1204 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local 1256 struct aa_profile *profile; in seq_ns_nsstacked_show() local 1607 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir() 1653 struct aa_profile *profile, in create_profile_file() [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() 293 struct aa_profile *profile; in aa_may_ptrace() local 347 int aa_profile_ns_perm(struct aa_profile *profile, in aa_profile_ns_perm()
|
| H A D | label.c | 328 struct aa_profile *profile; in aa_label_destroy() local 1257 static inline aa_state_t match_component(struct aa_profile *profile, in match_component() 1291 static int label_compound_match(struct aa_profile *profile, in label_compound_match() 1347 static int label_components_match(struct aa_profile *profile, in label_components_match() 1406 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, in aa_label_match() 1502 struct aa_profile *profile, int flags, in aa_profile_snxprint() 1545 struct aa_profile *profile; in label_modename() local 1579 struct aa_profile *profile; in display_mode() local 1615 struct aa_profile *profile; in aa_label_snxprint() local
|
| 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/platform/x86/hp/ |
| H A D | hp-wmi.c | 1443 static int platform_profile_omen_get_ec(enum platform_profile_option *profile) in platform_profile_omen_get_ec() 1472 enum platform_profile_option *profile) in platform_profile_omen_get() 1514 static int platform_profile_omen_set_ec(enum platform_profile_option profile) in platform_profile_omen_set_ec() 1569 enum platform_profile_option profile) in platform_profile_omen_set() 1596 enum platform_profile_option *profile) in hp_wmi_platform_profile_get() 1625 enum platform_profile_option profile) in hp_wmi_platform_profile_set() 1665 static int platform_profile_victus_get_ec(enum platform_profile_option *profile) in platform_profile_victus_get_ec() 1691 enum platform_profile_option *profile) in platform_profile_victus_get() 1697 static int platform_profile_victus_set_ec(enum platform_profile_option profile) in platform_profile_victus_set_ec() 1806 static int platform_profile_victus_s_get_ec(enum platform_profile_option *profile) in platform_profile_victus_s_get_ec() [all …]
|
| /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/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 | 156 enum platform_profile_option *profile) in lwmi_gz_profile_get() 203 enum platform_profile_option profile) in lwmi_gz_profile_set()
|