Home
last modified time | relevance | path

Searched refs:policies (Results 1 – 25 of 57) sorted by relevance

123

/linux/tools/testing/selftests/net/
H A Dxfrm_policy_add_speed.sh23 local policies
26 policies=0
38 policies=$((policies+1))
39 [ "$policies" -gt "$max" ] && return
43 policies=$((policies+1))
44 [ "$policies" -gt "$max" ] && return
67 policies=$(wc -l < "$tmp")
68 printf "Inserted %-06s policies in $result ms\n" $policies
71 if [ "$have" -ne "$policies" ]; then
72 echo "WARNING: mismatch, have $have policies, expected $policies"
/linux/net/netlink/
H A Dpolicy.c24 } policies[] __counted_by(n_alloc); member
38 if (state->policies[i].policy == policy && in add_policy()
39 state->policies[i].maxtype == maxtype) in add_policy()
42 if (!state->policies[i].policy) { in add_policy()
43 state->policies[i].policy = policy; in add_policy()
44 state->policies[i].maxtype = maxtype; in add_policy()
50 state = krealloc(state, struct_size(state, policies, n_alloc), in add_policy()
57 memset(&state->policies[old_n_alloc], 0, in add_policy()
58 flex_array_size(state, policies, n_alloc - old_n_alloc)); in add_policy()
60 state->policies[old_n_allo in add_policy()
[all...]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_ads.c112 struct guc_policies policies; member
447 ads_blob_write(ads, policies.dpc_promote_time, in guc_policies_init()
449 ads_blob_write(ads, policies.max_num_work_items, in guc_policies_init()
455 ads_blob_write(ads, policies.global_flags, global_flags); in guc_policies_init()
456 ads_blob_write(ads, policies.is_valid, 1); in guc_policies_init()
891 offsetof(struct __guc_ads_blob, policies)); in xe_guc_ads_populate_minimal()
925 offsetof(struct __guc_ads_blob, policies)); in xe_guc_ads_populate()
1001 struct guc_policies *policies; in xe_guc_ads_scheduler_policy_toggle_reset() local
1003 CLASS(xe_guc_buf, buf)(&guc->buf, sizeof(*policies)); in xe_guc_ads_scheduler_policy_toggle_reset()
1008 policies = xe_guc_buf_cpu_ptr(buf); in xe_guc_ads_scheduler_policy_toggle_reset()
[all …]
/linux/tools/testing/selftests/amd-pstate/
H A Drun.sh77 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
78 for policy in $policies; do
90 policies=$(awk '{print $1}' $OUTFILE.backup_governor.log)
91 for policy in $policies; do
105 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
106 for policy in $policies; do
/linux/tools/testing/selftests/cpufreq/
H A Dcpufreq.sh31 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
32 for policy in $policies; do
39 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
40 for policy in $policies; do
/linux/tools/perf/trace/beauty/
H A Dsched_policy.c22 const char *policies[] = { in syscall_arg__scnprintf_sched_policy() local
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", policies[policy]); in syscall_arg__scnprintf_sched_policy()
/linux/Documentation/admin-guide/LSM/
H A Dipe.rst28 unchangeable over time. For example, IPE policies can be crafted to trust
35 integrity and trust. For example, IPE allows the definition of policies
39 checks, allowing IPE to enforce policies that trust files protected by
165 uniquely identify policies to deploy new policies vs update existing
166 policies.
205 preserve older policies being compatible with newer kernels that can introduce
210 enforcing the configurable policies at startup, around reading and
234 Policies can be deployed from userspace through securityfs. These policies
236 authorization of the policies (prohibiting an attacker from gaining
238 policies must be signed by a certificate that chains to the
[all …]
H A DSELinux.rst17 to use the distro-provided policies, or install the
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c64 struct guc_policies policies; member
167 ads_blob_write(guc, policies.dpc_promote_time, in guc_policies_init()
169 ads_blob_write(guc, policies.max_num_work_items, in guc_policies_init()
175 ads_blob_write(guc, policies.global_flags, global_flags); in guc_policies_init()
176 ads_blob_write(guc, policies.is_valid, 1); in guc_policies_init()
187 ads_blob_read(guc, policies.dpc_promote_time)); in intel_guc_ads_print_policy_info()
189 ads_blob_read(guc, policies.max_num_work_items)); in intel_guc_ads_print_policy_info()
191 ads_blob_read(guc, policies.global_flags)); in intel_guc_ads_print_policy_info()
925 offsetof(struct __guc_ads_blob, policies)); in __guc_ads_init()
/linux/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c152 struct wfx_tx_policy *policies = wvif->tx_policy_cache.cache; in wfx_tx_policy_upload() local
159 is_used = memzcmp(policies[i].rates, sizeof(policies[i].rates)); in wfx_tx_policy_upload()
160 if (!policies[i].uploaded && is_used) in wfx_tx_policy_upload()
164 policies[i].uploaded = true; in wfx_tx_policy_upload()
165 memcpy(tmp_rates, policies[i].rates, sizeof(tmp_rates)); in wfx_tx_policy_upload()
/linux/Documentation/admin-guide/device-mapper/
H A Dcache-policies.rst2 Guidance for writing policies
7 makes it easier to write the policies.
26 Overview of supplied cache replacement policies
/linux/Documentation/ABI/removed/
H A Draw13947 to implement sensible device security policies, and its low level
/linux/Documentation/bpf/
H A Dmap_sockmap.rst89 This helper is used in programs implementing policies at the socket level. If
169 This helper is used in programs implementing policies at the socket level. If
185 This helper is used in programs implementing policies at the skb socket level.
201 For socket policies, apply the verdict of the BPF program to the next (number
221 For socket policies, prevent the execution of the verdict BPF program for
236 For socket policies, pull in non-linear data from user space for ``msg`` and set
/linux/drivers/acpi/dptf/
H A DKconfig11 a coordinated approach for different policies to effect the hardware
/linux/security/landlock/
H A DKconfig11 tailored access control policies. A Landlock security policy is a
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-controller-intro.rst31 implementing policies that belong to userspace.
/linux/Documentation/ABI/testing/
H A Dconfigfs-stp-policy5 This group contains policies mandating Master/Channel allocation
/linux/drivers/ras/
H A DKconfig47 platform-specific policies.
/linux/Documentation/process/
H A Dindex.rst80 policies around the handling of a couple of special classes of bugs:
H A Dcode-of-conduct.rst73 Further details of specific enforcement policies may be posted
/linux/Documentation/userspace-api/
H A Dlsm.rst13 additional access controls to the Linux security policies.
/linux/Documentation/admin-guide/cgroup-v1/
H A Dblkio-controller.rst8 a need of various kinds of IO control policies (like proportional BW, max BW)
11 and based on user options switch IO policies in the background.
297 Common files among various policies
H A Dpids.rst23 Organisational operations are not blocked by cgroup policies, so it is possible
/linux/Documentation/cpu-freq/
H A Dcore.rst33 Reference counting of the cpufreq policies is done by cpufreq_cpu_get
/linux/security/selinux/
H A DKconfig33 policies. If unsure, say Y. With this option enabled, the

123