/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() 139 static void blk_crypto_profile_destroy_callback(void *profile) in blk_crypto_profile_destroy_callback() 156 struct blk_crypto_profile *profile, in devm_blk_crypto_profile_init() 171 blk_crypto_hash_bucket_for_key(struct blk_crypto_profile *profile, in blk_crypto_hash_bucket_for_key() 181 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list() local 190 blk_crypto_find_keyslot(struct blk_crypto_profile *profile, in blk_crypto_find_keyslot() 205 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
|
H A D | blk-crypto.c | 473 static int blk_crypto_ioctl_import_key(struct blk_crypto_profile *profile, in blk_crypto_ioctl_import_key() 517 static int blk_crypto_ioctl_generate_key(struct blk_crypto_profile *profile, in blk_crypto_ioctl_generate_key() 551 static int blk_crypto_ioctl_prepare_key(struct blk_crypto_profile *profile, in blk_crypto_ioctl_prepare_key() 598 struct blk_crypto_profile *profile = in blk_crypto_ioctl() local
|
/linux/security/apparmor/ |
H A D | policy.c | 146 static void __add_profile(struct list_head *list, struct aa_profile *profile) in __add_profile() 175 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile() 191 static void __remove_profile(struct aa_profile *profile) in __remove_profile() 213 struct aa_profile *profile, *tmp; in __aa_profile_list_release() local 279 void aa_free_profile(struct aa_profile *profile) in aa_free_profile() 332 struct aa_profile *profile; in aa_alloc_profile() local 376 static inline bool ANY_RULE_MEDIATES(struct aa_profile *profile, in ANY_RULE_MEDIATES() 392 void aa_compute_profile_mediates(struct aa_profile *profile) in aa_compute_profile_mediates() 452 struct aa_profile *profile; in aa_find_child() local 481 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 359 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm() 396 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() 153 struct aa_profile *profile; in path_name() local 222 struct aa_profile *profile, const char *name, in __aa_path_perm() 243 struct aa_profile *profile, in profile_path_perm() 281 struct aa_profile *profile; in aa_path_perm() local 320 struct aa_profile *profile, in profile_path_link() 438 struct aa_profile *profile; in aa_path_link() local 483 struct aa_profile *profile; in __file_path_perm() local
|
H A D | apparmorfs.c | 612 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb() 678 struct aa_profile *profile; in query_data() local 767 struct aa_profile *profile; in query_label() local 1082 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local 1093 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local 1104 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local 1120 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local 1172 struct aa_profile *profile; in seq_ns_nsstacked_show() local 1526 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir() 1575 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 | task.c | 227 struct aa_profile *profile, in profile_ptrace_perm() 292 struct aa_profile *profile; in aa_may_ptrace() local 315 int aa_profile_ns_perm(struct aa_profile *profile, in aa_profile_ns_perm()
|
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 | label.c | 326 struct aa_profile *profile; in aa_label_destroy() local 1253 static inline aa_state_t match_component(struct aa_profile *profile, in match_component() 1287 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() 1408 int aa_label_match(struct aa_profile *profile, struct aa_ruleset *rules, in aa_label_match() 1503 struct aa_profile *profile, int flags, in aa_profile_snxprint() 1546 struct aa_profile *profile; in label_modename() local 1580 struct aa_profile *profile; in display_mode() local 1616 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 | 361 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms() 386 void aa_profile_match_label(struct aa_profile *profile, in aa_profile_match_label() 418 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
|
H A D | policy_unpack.c | 67 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface() local 535 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs() 847 struct aa_profile *profile = NULL; in unpack_profile() local 1287 static int verify_profile(struct aa_profile *profile) in verify_profile() 1460 struct aa_profile *profile = NULL; in aa_unpack() local
|
/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 | 114 enum platform_profile_option *profile) in get_class_profile() 181 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in profile_show() local 336 enum platform_profile_option *profile = data; in _aggregate_profiles() local 361 enum platform_profile_option *profile = data; in _store_and_notify() local 382 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_show() local 500 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() 67 struct sof_loadable_file_profile *profile) in sof_test_topology_file() 267 struct sof_loadable_file_profile *profile) in sof_print_profile_info()
|
/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 | 1156 struct blk_crypto_profile profile; member 1173 static int dm_keyslot_evict(struct blk_crypto_profile *profile, in dm_keyslot_evict() 1236 struct blk_crypto_profile *profile = in dm_wrappedkey_op_callback() local 1274 static int dm_exec_wrappedkey_op(struct blk_crypto_profile *profile, in dm_exec_wrappedkey_op() 1312 static int dm_derive_sw_secret(struct blk_crypto_profile *profile, in dm_derive_sw_secret() 1327 static int dm_import_key(struct blk_crypto_profile *profile, in dm_import_key() 1342 static int dm_generate_key(struct blk_crypto_profile *profile, in dm_generate_key() 1354 static int dm_prepare_key(struct blk_crypto_profile *profile, in dm_prepare_key() 1381 void dm_destroy_crypto_profile(struct blk_crypto_profile *profile) in dm_destroy_crypto_profile() 1412 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 | 860 void dasd_profile_reset(struct dasd_profile *profile) in dasd_profile_reset() 875 int dasd_profile_on(struct dasd_profile *profile) in dasd_profile_on() 894 void dasd_profile_off(struct dasd_profile *profile) in dasd_profile_off() 1022 struct dasd_profile *profile; in dasd_stats_show() local 1040 struct dasd_profile *profile = inode->i_private; in dasd_stats_open() local 1053 static void dasd_profile_init(struct dasd_profile *profile, in dasd_profile_init() 1071 static void dasd_profile_exit(struct dasd_profile *profile) in dasd_profile_exit() 1123 static void dasd_profile_init(struct dasd_profile *profile, in dasd_profile_init() 1129 static void dasd_profile_exit(struct dasd_profile *profile) in dasd_profile_exit() 1134 int dasd_profile_on(struct dasd_profile *profile) in dasd_profile_on()
|