Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/openbmc/linux/block/
H A Dblk-crypto-profile.c81 memset(profile, 0, sizeof(*profile)); in blk_crypto_profile_init()
107 profile->slots[slot].profile = profile; in blk_crypto_profile_init()
166 profile); in devm_blk_crypto_profile_init()
181 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list() local
327 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_put_keyslot() local
349 if (!profile) in __blk_crypto_cfg_supported()
372 err = profile->ll_ops.keyslot_evict(profile, key, -1); in __blk_crypto_evict_key()
395 err = profile->ll_ops.keyslot_evict(profile, key, in __blk_crypto_evict_key()
443 if (!profile) in blk_crypto_profile_destroy()
448 sizeof(profile->slots[0]) * profile->num_slots); in blk_crypto_profile_destroy()
[all …]
H A Dblk-crypto-sysfs.c15 struct blk_crypto_profile *profile; member
20 ssize_t (*show)(struct blk_crypto_profile *profile,
26 return container_of(kobj, struct blk_crypto_kobj, kobj)->profile; in kobj_to_crypto_profile()
34 static ssize_t max_dun_bits_show(struct blk_crypto_profile *profile, in max_dun_bits_show() argument
40 static ssize_t num_keyslots_show(struct blk_crypto_profile *profile, in num_keyslots_show() argument
43 return sysfs_emit(page, "%u\n", profile->num_slots); in num_keyslots_show()
72 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_mode_is_visible() local
76 if (profile->modes_supported[mode_num]) in blk_crypto_mode_is_visible()
104 struct blk_crypto_profile *profile = kobj_to_crypto_profile(kobj); in blk_crypto_attr_show() local
107 return a->show(profile, a, page); in blk_crypto_attr_show()
[all …]
H A Dblk-integrity.c126 if (!b1->profile && !b2->profile) in blk_integrity_compare()
129 if (!b1->profile || !b2->profile) in blk_integrity_compare()
153 if (b1->profile != b2->profile) { in blk_integrity_compare()
156 b1->profile->name, b2->profile->name); in blk_integrity_compare()
225 if (bi->profile && bi->profile->name) in format_show()
226 return sysfs_emit(page, "%s\n", bi->profile->name); in format_show()
370 bi->profile = template->profile ? template->profile : &nop_profile; in blk_integrity_register()
396 if (!bi->profile) in blk_integrity_unregister()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c80 profile = kcalloc(MTHCA_RES_NUM, sizeof(*profile), GFP_KERNEL); in mthca_make_profile()
81 if (!profile) in mthca_make_profile()
114 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
115 profile[i].size *= profile[i].num; in mthca_make_profile()
117 profile[i].size = max(profile[i].size, (u64) PAGE_SIZE); in mthca_make_profile()
136 if (profile[j].size > profile[j - 1].size) in mthca_make_profile()
137 swap(profile[j], profile[j - 1]); in mthca_make_profile()
150 kfree(profile); in mthca_make_profile()
154 if (profile[i].size) in mthca_make_profile()
157 i, profile[i].type, profile[i].log_num, in mthca_make_profile()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c88 profile = kcalloc(MLX4_RES_NUM, sizeof(*profile), GFP_KERNEL); in mlx4_make_profile()
89 if (!profile) in mlx4_make_profile()
138 profile[i].num = roundup_pow_of_two(profile[i].num); in mlx4_make_profile()
139 profile[i].log_num = ilog2(profile[i].num); in mlx4_make_profile()
140 profile[i].size *= profile[i].num; in mlx4_make_profile()
141 profile[i].size = max(profile[i].size, (u64) PAGE_SIZE); in mlx4_make_profile()
152 if (profile[j].size > profile[j - 1].size) in mlx4_make_profile()
153 swap(profile[j], profile[j - 1]); in mlx4_make_profile()
166 kfree(profile); in mlx4_make_profile()
170 if (profile[i].size) in mlx4_make_profile()
[all …]
/openbmc/linux/security/apparmor/
H A Dpolicy.c122 l = aa_label_insert(&profile->ns->labels, &profile->label); in __add_profile()
249 if (!profile) in aa_free_profile()
302 if (!profile) in aa_alloc_profile()
327 profile->label.hname = profile->base.hname; in aa_alloc_profile()
329 profile->label.vec[0] = profile; in aa_alloc_profile()
386 } while (profile && !aa_get_profile_not0(profile)); in aa_find_child()
424 if (!profile) in __lookup_parent()
473 if (!profile) in __create_missing_ancestors()
535 } while (profile && !aa_get_profile_not0(profile)); in aa_lookupn_profile()
587 if (!profile) in aa_alloc_null()
[all …]
H A Ddomain.c97 if (profile->ns == tp->ns) in match_component()
401 &profile->label == ns_unconfined(profile->ns)) in find_attach()
441 aa_put_profile(profile); in find_attach()
470 candidate = profile; in find_attach()
480 candidate = profile; in find_attach()
644 AA_BUG(!profile); in profile_transition()
744 AA_BUG(!profile); in profile_onexec()
814 struct aa_profile *profile; in handle_onexec() local
876 struct aa_profile *profile; in apparmor_bprm_creds_for_exec() local
1180 struct aa_profile *profile; in aa_change_hat() local
[all …]
H A Dcapability.c33 struct aa_profile *profile; member
80 } else if (KILL_MODE(profile) || in audit_caps()
84 AUDIT_MODE(profile) != AUDIT_NOQUIET && in audit_caps()
85 AUDIT_MODE(profile) != AUDIT_ALL) { in audit_caps()
92 if (profile == ent->profile && cap_raised(ent->caps, cap)) { in audit_caps()
94 if (COMPLAIN_MODE(profile)) in audit_caps()
98 aa_put_profile(ent->profile); in audit_caps()
99 ent->profile = aa_get_profile(profile); in audit_caps()
130 if (!COMPLAIN_MODE(profile)) in profile_capable()
138 return audit_caps(ad, profile, cap, error); in profile_capable()
[all …]
H A Dmount.c281 AA_BUG(!profile); in path_flags()
284 return profile->path_flags | in path_flags()
316 AA_BUG(!profile); in match_mnt_path_str()
376 AA_BUG(!profile); 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
612 AA_BUG(!profile); in profile_umount()
[all …]
H A Dipc.c79 struct aa_profile *profile, in profile_signal_perm() argument
83 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_signal_perm()
88 if (profile_unconfined(profile) || in profile_signal_perm()
89 !ANY_RULE_MEDIATES(&profile->rules, AA_CLASS_SIGNAL)) in profile_signal_perm()
98 aa_label_match(profile, rules, peer, state, false, request, &perms); in profile_signal_perm()
99 aa_apply_modes_to_perms(profile, &perms); in profile_signal_perm()
100 return aa_check_perms(profile, &perms, request, ad, audit_signal_cb); in profile_signal_perm()
107 struct aa_profile *profile; in aa_may_signal() local
112 return xcheck_labels(sender, target, profile, in aa_may_signal()
113 profile_signal_perm(subj_cred, profile, target, in aa_may_signal()
[all …]
H A Dnet.c109 int aa_profile_af_perm(struct aa_profile *profile, in aa_profile_af_perm() argument
122 if (profile_unconfined(profile)) in aa_profile_af_perm()
133 aa_apply_modes_to_perms(profile, &perms); in aa_profile_af_perm()
141 struct aa_profile *profile; in aa_af_perm() local
144 return fn_for_each_confined(label, profile, in aa_af_perm()
161 struct aa_profile *profile; in aa_label_sk_perm() local
165 error = fn_for_each_confined(label, profile, in aa_label_sk_perm()
251 aa_apply_modes_to_perms(profile, &perms); in aa_secmark_perm()
259 struct aa_profile *profile; in apparmor_secmark_check() local
262 return fn_for_each_confined(label, profile, in apparmor_secmark_check()
[all …]
H A Dfile.c165 struct aa_profile *profile; in path_name() local
237 if (profile_unconfined(profile)) in __aa_path_perm()
250 struct aa_profile *profile, in profile_path_perm() argument
258 if (profile_unconfined(profile)) in profile_path_perm()
288 struct aa_profile *profile; in aa_path_perm() local
342 profile->path_flags, in profile_path_link()
349 profile->path_flags, in profile_path_link()
444 struct aa_profile *profile; in aa_path_link() local
489 struct aa_profile *profile; in __file_path_perm() local
527 profile, &file->f_path, in __file_path_perm()
[all …]
H A Daudit.c120 struct aa_profile *profile = labels_profile(label); in audit_pre() local
122 if (profile->ns != root_ns) { in audit_pre()
125 profile->ns->base.hname); in audit_pre()
128 audit_log_untrustedstring(ab, profile->base.hname); in audit_pre()
166 int aa_audit(int type, struct aa_profile *profile, in aa_audit() argument
170 AA_BUG(!profile); in aa_audit()
174 if (AUDIT_MODE(profile) != AUDIT_ALL) in aa_audit()
177 } else if (COMPLAIN_MODE(profile)) in aa_audit()
182 if (AUDIT_MODE(profile) == AUDIT_QUIET || in aa_audit()
184 AUDIT_MODE(profile) == AUDIT_QUIET_DENIED)) in aa_audit()
[all …]
H A Dapparmorfs.c706 if (!profile->data) in query_data()
1115 if (profile->hash) { in seq_profile_hash_show()
1525 if (!profile) in __aafs_profile_rmdir()
1587 for (depth = 0; profile; profile = rcu_access_pointer(profile->parent)) in profile_depth()
1694 AA_BUG(!profile); in __aafs_profile_mkdir()
1719 mangle_name(profile->base.name, profile->dirname); in __aafs_profile_mkdir()
1720 sprintf(profile->dirname + len, ".%ld", profile->ns->uniq_id++); in __aafs_profile_mkdir()
1746 if (profile->hash) { in __aafs_profile_mkdir()
2222 profile = next_profile(root, profile); in p_start()
2224 return profile; in p_start()
[all …]
H A Dpolicy_unpack.c842 if (!profile) { in unpack_profile()
923 profile->path_flags |= profile->label.flags & in unpack_profile()
1047 profile->data = kzalloc(sizeof(*profile->data), GFP_KERNEL); in unpack_profile()
1048 if (!profile->data) { in unpack_profile()
1102 return profile; in unpack_profile()
1112 if (profile) in unpack_profile()
1117 aa_free_profile(profile); in unpack_profile()
1427 if (IS_ERR(profile)) { in aa_unpack()
1428 error = PTR_ERR(profile); in aa_unpack()
1448 ent->new = profile; in aa_unpack()
[all …]
H A Dresource.c57 struct aa_profile *profile, unsigned int resource, in audit_resource() argument
71 return aa_audit(AUDIT_APPARMOR_AUTO, profile, &ad, audit_cb); in audit_resource()
89 struct aa_profile *profile, unsigned int resource, in profile_setrlimit() argument
92 struct aa_ruleset *rules = list_first_entry(&profile->rules, in profile_setrlimit()
99 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max, in profile_setrlimit()
119 struct aa_profile *profile; in aa_task_setrlimit() local
136 error = fn_for_each(label, profile, in aa_task_setrlimit()
137 audit_resource(subj_cred, profile, resource, in aa_task_setrlimit()
141 error = fn_for_each_confined(label, profile, in aa_task_setrlimit()
142 profile_setrlimit(subj_cred, profile, resource, in aa_task_setrlimit()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c290 if (!profile) in pp_atomfwctrl_get_avfs_information()
337 profile->enable_gb_vdroop_table_ckson; in pp_atomfwctrl_get_avfs_information()
339 profile->enable_gb_fuse_table_ckson; in pp_atomfwctrl_get_avfs_information()
344 le32_to_cpu(profile->dispclk2gfxclk_a); in pp_atomfwctrl_get_avfs_information()
356 le32_to_cpu(profile->pixclk2gfxclk_a); in pp_atomfwctrl_get_avfs_information()
358 le32_to_cpu(profile->pixclk2gfxclk_b); in pp_atomfwctrl_get_avfs_information()
360 le32_to_cpu(profile->pixclk2gfxclk_c); in pp_atomfwctrl_get_avfs_information()
362 le32_to_cpu(profile->phyclk2gfxclk_a); in pp_atomfwctrl_get_avfs_information()
364 le32_to_cpu(profile->phyclk2gfxclk_b); in pp_atomfwctrl_get_avfs_information()
366 le32_to_cpu(profile->phyclk2gfxclk_c); in pp_atomfwctrl_get_avfs_information()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dresource_scale.sh43 for profile in $KVD_PROFILES; do
45 devlink_sp_resource_kvd_profile_set $profile
47 log_test "'$current_test' [$profile] setting"
55 log_test_skip "'$current_test' [$profile] should_fail=$should_fail test"
65 log_test "'$current_test' [$profile] $target"
72 log_test "'$current_test' [$profile] $target traffic test"
76 log_test "'$current_test' [$profile] overflow $target"
/openbmc/linux/Documentation/ABI/obsolete/
H A Dsysfs-driver-hid-roccat-savu5 press of a button. A profile is split into general settings and
8 respective profile buttons to the mouse. The data has to be
11 Which profile to write is determined by the profile number
14 which profile to read.
21 profile will be read next. The data has to be 3 bytes long.
30 button settings. A profile holds information like resolution,
35 Which profile to write is determined by the profile number
52 keystrokes for a specific button for a specific profile.
53 Button and profile numbers are included in written data.
56 which profile and key to read.
[all …]
H A Dsysfs-driver-hid-roccat-koneplus8 When written, this file sets the number of the startup profile
9 and the mouse activates this profile immediately.
19 When written, this file sets the number of the startup profile
20 and the mouse activates this profile immediately.
50 button for a specific profile. Button and profile numbers are
61 When written, this file lets one write the respective profile
64 Which profile to write is determined by the profile number
67 which profile to read.
76 When read, these files return the respective profile buttons.
92 Which profile to write is determined by the profile number
[all …]
H A Dsysfs-driver-hid-roccat-kovaplus16 profile.
17 When written, the mouse activates this profile immediately.
18 The profile that's active when powered down is the same that's
66 press of a button. A profile is split in settings and buttons.
68 When written, this file lets one write the respective profile
71 Which profile to write is determined by the profile number
74 which profile to read.
83 When read, these files return the respective profile buttons.
96 When written, this file lets one write the respective profile
99 Which profile to write is determined by the profile number
[all …]
/openbmc/linux/include/linux/
H A Dblk-crypto-profile.h37 int (*keyslot_program)(struct blk_crypto_profile *profile,
57 int (*keyslot_evict)(struct blk_crypto_profile *profile,
133 int blk_crypto_profile_init(struct blk_crypto_profile *profile,
137 struct blk_crypto_profile *profile,
142 void blk_crypto_reprogram_all_keys(struct blk_crypto_profile *profile);
144 void blk_crypto_profile_destroy(struct blk_crypto_profile *profile);
/openbmc/linux/drivers/mmc/host/
H A Dcqhci-crypto.c26 cqhci_host_from_crypto_profile(struct blk_crypto_profile *profile) in cqhci_host_from_crypto_profile() argument
29 container_of(profile, struct mmc_host, crypto_profile); in cqhci_host_from_crypto_profile()
61 static int cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, in cqhci_crypto_keyslot_program() argument
66 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile); in cqhci_crypto_keyslot_program()
123 struct cqhci_host *cq_host = cqhci_host_from_crypto_profile(profile); in cqhci_crypto_keyslot_evict()
172 struct blk_crypto_profile *profile = &mmc->crypto_profile; in cqhci_crypto_init() local
203 err = devm_blk_crypto_profile_init(dev, profile, num_keyslots); in cqhci_crypto_init()
207 profile->ll_ops = cqhci_crypto_ops; in cqhci_crypto_init()
208 profile->dev = dev; in cqhci_crypto_init()
211 profile->max_dun_bytes_supported = 4; in cqhci_crypto_init()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/
H A D0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch4 Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data
16 @@ -658,8 +658,7 @@ profile-run-stamp:
18 $(MAKE) profile-gen-stamp
19 # Next, run the profile task to generate the profile information.
24 # Remove profile generation binary since we are done with it.
25 $(MAKE) clean-retain-profile
/openbmc/linux/Documentation/userspace-api/
H A Dsysfs-platform_profile.rst16 API for selecting the platform profile of these automatic mechanisms.
18 Note that this API is only for selecting the platform profile, it is
23 Specifically when selecting a high performance profile the actual achieved
31 profile will adjust (power consumption, heat generation, etc) this API
34 a fixed set of profile names. Drivers *must* map their internal profile
37 If there is no good match when mapping then a new profile name may be
38 added. Drivers which wish to introduce new profile names must:
40 1. Explain why the existing profile names cannot be used.
41 2. Add the new profile name, along with a clear description of the

12345678910>>...23