Home
last modified time | relevance | path

Searched defs:profile (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/kernel/linux/linux-6.6/block/
Dblk-crypto-profile.c42 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 …]
Dblk-crypto-sysfs.c15 struct blk_crypto_profile *profile; member
34 static ssize_t max_dun_bits_show(struct blk_crypto_profile *profile, in max_dun_bits_show()
40 static ssize_t num_keyslots_show(struct blk_crypto_profile *profile, in num_keyslots_show()
72 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_mode_is_visible() local
81 static ssize_t blk_crypto_mode_show(struct blk_crypto_profile *profile, in blk_crypto_mode_show()
104 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_attr_show() local
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy.c109 static void __add_profile(struct list_head *list, struct aa_profile *profile) in __add_profile()
138 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile()
154 static void __remove_profile(struct aa_profile *profile) in __remove_profile()
176 struct aa_profile *profile, *tmp; in __aa_profile_list_release() local
205 void aa_free_profile(struct aa_profile *profile) in aa_free_profile()
260 struct aa_profile *profile; in aa_alloc_profile() local
336 struct aa_profile *profile; in aa_find_child() local
365 struct aa_profile *profile = NULL; in __lookup_parent() local
399 struct aa_profile *profile = NULL; in __lookupn_profile() local
436 struct aa_profile *profile; in aa_lookupn_profile() local
[all …]
Ddomain.c97 static inline unsigned int match_component(struct aa_profile *profile, in match_component()
132 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
192 static int label_components_match(struct aa_profile *profile, in label_components_match()
253 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
286 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms()
310 struct aa_profile *profile, unsigned int state) in aa_xattrs_match()
392 struct aa_profile *profile, *candidate = NULL; in find_attach() local
509 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
555 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
622 static struct aa_label *profile_transition(struct aa_profile *profile, in profile_transition()
[all …]
Dmount.c130 static int audit_mount(struct aa_profile *profile, const char *op, in audit_mount()
293 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags()
316 static int match_mnt_path_str(struct aa_profile *profile, in match_mnt_path_str()
373 static int match_mnt(struct aa_profile *profile, const struct path *path, in match_mnt()
402 struct aa_profile *profile; in aa_remount() local
426 struct aa_profile *profile; in aa_bind_mount() local
463 struct aa_profile *profile; in aa_mount_change_type() local
488 struct aa_profile *profile; in aa_move_mount() local
523 struct aa_profile *profile; in aa_new_mount() local
583 static int profile_umount(struct aa_profile *profile, struct path *path, in profile_umount()
[all …]
Dcapability.c33 struct aa_profile *profile; member
64 static int audit_caps(struct common_audit_data *sa, struct aa_profile *profile, in audit_caps()
114 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
149 struct aa_profile *profile; in aa_capable() local
Dnet.c108 int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, in aa_profile_af_perm()
137 struct aa_profile *profile; in aa_af_perm() local
154 struct aa_profile *profile; in aa_label_sk_perm() local
213 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm()
249 struct aa_profile *profile; in apparmor_secmark_check() local
Dipc.c63 static int profile_ptrace_perm(struct aa_profile *profile, in profile_ptrace_perm()
121 struct aa_profile *profile; in aa_may_ptrace() local
187 static int profile_signal_perm(struct aa_profile *profile, in profile_signal_perm()
210 struct aa_profile *profile; in aa_may_signal() local
Dfile.c90 int aa_audit_file(struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
159 struct aa_profile *profile; in path_name() local
266 int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, in __aa_path_perm()
282 static int profile_path_perm(const char *op, struct aa_profile *profile, in profile_path_perm()
318 struct aa_profile *profile; in aa_path_perm() local
356 static int profile_path_link(struct aa_profile *profile, in profile_path_link()
465 struct aa_profile *profile; in aa_path_link() local
509 struct aa_profile *profile; in __file_path_perm() local
Dresource.c52 static int audit_resource(struct aa_profile *profile, unsigned int resource, in audit_resource()
81 static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, in profile_setrlimit()
107 struct aa_profile *profile; in aa_task_setrlimit() local
Dapparmorfs.c608 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
665 struct aa_profile *profile; in query_data() local
754 struct aa_profile *profile; in query_label() local
1070 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local
1081 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local
1092 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local
1108 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local
1160 struct aa_profile *profile; in seq_ns_nsstacked_show() local
1505 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir()
1550 struct aa_profile *profile, in create_profile_file()
[all …]
Dpolicy_unpack.c109 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface() local
477 static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile) in unpack_trans_table()
546 static bool unpack_xattrs(struct aa_ext *e, struct aa_profile *profile) in unpack_xattrs()
575 static bool unpack_secmark(struct aa_ext *e, struct aa_profile *profile) in unpack_secmark()
619 static bool unpack_rlimits(struct aa_ext *e, struct aa_profile *profile) in unpack_rlimits()
676 struct aa_profile *profile = NULL; in unpack_profile() local
1031 static int verify_profile(struct aa_profile *profile) in verify_profile()
1178 struct aa_profile *profile = NULL; in aa_unpack() local
Dlib.c290 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
381 void aa_profile_match_label(struct aa_profile *profile, struct aa_label *label, in aa_profile_match_label()
395 int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, in aa_profile_label_perm()
429 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
/kernel/linux/linux-6.6/security/apparmor/
Dpolicy.c110 static void __add_profile(struct list_head *list, struct aa_profile *profile) in __add_profile()
139 static void __list_remove_profile(struct aa_profile *profile) in __list_remove_profile()
155 static void __remove_profile(struct aa_profile *profile) in __remove_profile()
177 struct aa_profile *profile, *tmp; in __aa_profile_list_release() local
242 void aa_free_profile(struct aa_profile *profile) in aa_free_profile()
297 struct aa_profile *profile; in aa_alloc_profile() local
381 struct aa_profile *profile; in aa_find_child() local
410 struct aa_profile *profile = NULL; in __lookup_parent() local
445 struct aa_profile *parent, *profile = NULL; in __create_missing_ancestors() local
493 struct aa_profile *profile = NULL; in __lookupn_profile() local
[all …]
Ddomain.c87 static inline aa_state_t match_component(struct aa_profile *profile, in match_component()
124 static int label_compound_match(struct aa_profile *profile, in label_compound_match()
186 static int label_components_match(struct aa_profile *profile, in label_components_match()
249 static int label_match(struct aa_profile *profile, struct aa_label *label, in label_match()
282 static int change_profile_perms(struct aa_profile *profile, in change_profile_perms()
306 struct aa_profile *profile, aa_state_t state) in aa_xattrs_match()
390 struct aa_profile *profile, *candidate = NULL; in find_attach() local
512 struct aa_label *x_table_lookup(struct aa_profile *profile, u32 xindex, in x_table_lookup()
560 static struct aa_label *x_to_label(struct aa_profile *profile, in x_to_label()
630 struct aa_profile *profile, in profile_transition()
[all …]
Dmount.c133 struct aa_profile *profile, const char *op, in audit_mount()
279 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags()
304 struct aa_profile *profile, in match_mnt_path_str()
366 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 …]
Dcapability.c33 struct aa_profile *profile; member
64 static int audit_caps(struct apparmor_audit_data *ad, struct aa_profile *profile, in audit_caps()
118 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
157 struct aa_profile *profile; in aa_capable() local
Dnet.c109 int aa_profile_af_perm(struct aa_profile *profile, in aa_profile_af_perm()
141 struct aa_profile *profile; in aa_af_perm() local
161 struct aa_profile *profile; in aa_label_sk_perm() local
221 static int aa_secmark_perm(struct aa_profile *profile, u32 request, u32 secid, in aa_secmark_perm()
259 struct aa_profile *profile; in apparmor_secmark_check() local
Dfile.c95 struct aa_profile *profile, struct aa_perms *perms, in aa_audit_file()
165 struct aa_profile *profile; in path_name() local
229 struct aa_profile *profile, const char *name, in __aa_path_perm()
250 struct aa_profile *profile, in profile_path_perm()
288 struct aa_profile *profile; in aa_path_perm() local
327 struct aa_profile *profile, in profile_path_link()
444 struct aa_profile *profile; in aa_path_link() local
489 struct aa_profile *profile; in __file_path_perm() local
Dresource.c57 struct aa_profile *profile, unsigned int resource, in audit_resource()
89 struct aa_profile *profile, unsigned int resource, in profile_setrlimit()
119 struct aa_profile *profile; in aa_task_setrlimit() local
Dapparmorfs.c612 static void profile_query_cb(struct aa_profile *profile, struct aa_perms *perms, in profile_query_cb()
670 struct aa_profile *profile; in query_data() local
759 struct aa_profile *profile; in query_label() local
1074 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show() local
1085 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show() local
1096 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show() local
1112 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show() local
1164 struct aa_profile *profile; in seq_ns_nsstacked_show() local
1520 void __aafs_profile_rmdir(struct aa_profile *profile) in __aafs_profile_rmdir()
1568 struct aa_profile *profile, in create_profile_file()
[all …]
Dipc.c79 struct aa_profile *profile, in profile_signal_perm()
107 struct aa_profile *profile; in aa_may_signal() local
Dlib.c312 void aa_apply_modes_to_perms(struct aa_profile *profile, struct aa_perms *perms) in aa_apply_modes_to_perms()
337 void aa_profile_match_label(struct aa_profile *profile, in aa_profile_match_label()
353 int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, in aa_profile_label_perm()
388 int aa_check_perms(struct aa_profile *profile, struct aa_perms *perms, in aa_check_perms()
/kernel/linux/linux-6.6/drivers/mmc/host/
Dcqhci-crypto.c26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile) in cqhci_host_from_crypto_profile()
61 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_program()
119 static int cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_evict()
172 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init() local
/kernel/linux/linux-6.6/drivers/platform/surface/
Dsurface_platform_profile.c25 __le32 profile; member
109 enum platform_profile_option *profile) in ssam_platform_profile_get()
130 enum platform_profile_option profile) in ssam_platform_profile_set()

12345678910>>...12