Home
last modified time | relevance | path

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

1234

/linux-6.15/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-6.15/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()
57 memset(&state->policies[old_n_alloc], 0, in add_policy()
60 state->policies[old_n_alloc].policy = policy; in add_policy()
61 state->policies[old_n_alloc].maxtype = maxtype; in add_policy()
92 if (state->policies[i].policy == policy && in netlink_policy_dump_get_policy_idx()
[all …]
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_guc_ads.c113 struct guc_policies policies; member
461 ads_blob_write(ads, policies.dpc_promote_time, in guc_policies_init()
463 ads_blob_write(ads, policies.max_num_work_items, in guc_policies_init()
470 ads_blob_write(ads, policies.is_valid, 1); in guc_policies_init()
1004 struct guc_policies *policies; in xe_guc_ads_scheduler_policy_toggle_reset() local
1008 policies = kmalloc(sizeof(*policies), GFP_KERNEL); in xe_guc_ads_scheduler_policy_toggle_reset()
1009 if (!policies) in xe_guc_ads_scheduler_policy_toggle_reset()
1012 policies->dpc_promote_time = ads_blob_read(ads, policies.dpc_promote_time); in xe_guc_ads_scheduler_policy_toggle_reset()
1013 policies->max_num_work_items = ads_blob_read(ads, policies.max_num_work_items); in xe_guc_ads_scheduler_policy_toggle_reset()
1014 policies->is_valid = 1; in xe_guc_ads_scheduler_policy_toggle_reset()
[all …]
/linux-6.15/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-6.15/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-6.15/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst15 Memory policies should not be confused with cpusets
88 VMA policies have a few complicating details:
100 * VMA policies are shared between all tasks that share a
105 space is discarded and recreated on exec*(), VMA policies
107 applications may use VMA policies.
125 application installs shared policies the same way as VMA
129 range of a task's address space, shared policies apply
400 used for non-shared policies. For this reason, shared policies are marked
402 for shared policies.
405 shared policies in a tree structure under spinlock, shared policies are
[all …]
/linux-6.15/security/ipe/
H A DKconfig29 is deployed via the $securityfs/ipe/policies/$policy_name/active
60 policies. The property evaluates to TRUE when a file from a dm-verity
69 policies. The property evaluates to TRUE when a file from a dm-verity
80 policies. The property evaluates to TRUE when a file is fsverity
91 policies. The property evaluates to TRUE when a file is fsverity
/linux-6.15/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-6.15/Documentation/admin-guide/
H A Dnvme-multipath.rst7 This document describes NVMe multipath and its path selection policies supported
19 Different policies result in different path selections.
25 All policies follow the ANA (Asymmetric Namespace Access) mechanism, meaning
27 one. Current the NVMe multipath policies include numa(default), round-robin and
/linux-6.15/Documentation/admin-guide/LSM/
H A Dipe.rst39 checks, allowing IPE to enforce policies that trust files protected by
152 uniquely identify policies to deploy new policies vs update existing
153 policies.
197 enforcing the configurable policies at startup, around reading and
225 policies must be signed by a certificate that chains to the
241 Deploying the policies is done through securityfs, through the
290 ``/sys/kernel/security/ipe/policies/$policy_name/active``.
293 echo 1 > "/sys/kernel/security/ipe/policies/Ex_Policy/active"
300 ``/sys/kernel/security/ipe/policies/$policy_name/delete``.
387 along with the version and the hash digest of the two policies.
[all …]
H A DSELinux.rst6 to use the distro-provided policies, or install the
/linux-6.15/Documentation/filesystems/
H A Dfscrypt.rst147 Limitations of v1 policies
168 policies on all new encrypted directories.
258 DIRECT_KEY policies
280 other v2 encryption policies.
282 IV_INO_LBLK_64 policies
297 IV_INO_LBLK_32 policies
588 For new encrypted directories, use v2 policies.
610 policies`_.
612 policies`_.
870 policies, then ``key_spec.type`` must contain
[all …]
/linux-6.15/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-6.15/kernel/
H A DKconfig.preempt159 allows scheduling policies to be implemented as BPF programs to
163 iteration of new scheduling policies.
165 implement policies that are not applicable to general-purpose
168 scheduling policies in production environments.
172 wish to implement scheduling policies. The struct_ops structure
/linux-6.15/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-6.15/Documentation/admin-guide/device-mapper/
H A Dindex.rst8 cache-policies
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-6.15/Documentation/security/
H A Dipe.rst153 The first issue is one of code maintenance and duplication. To author policies,
164 and the original file itself to try to understand what policies have been deployed
165 on this system and what policies have not. For a single user, this may be alright,
166 as old policies can be discarded almost immediately after the update takes hold.
169 this quickly becomes an issue, as stale policies from years ago may be present,
243 policies to be updated without updating the kernel).
270 minimum required version across all policies that can be active on
277 need to be aware of this, and ensure the new secure policies are
288 that were critical to its function. In this system, three types of policies
357 policies.
/linux-6.15/Documentation/ABI/removed/
H A Draw13947 to implement sensible device security policies, and its low level
/linux-6.15/drivers/acpi/dptf/
H A DKconfig11 a coordinated approach for different policies to effect the hardware
/linux-6.15/security/landlock/
H A DKconfig11 tailored access control policies. A Landlock security policy is a
/linux-6.15/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-6.15/Documentation/userspace-api/media/mediactl/
H A Dmedia-controller-intro.rst31 implementing policies that belong to userspace.
/linux-6.15/Documentation/ABI/testing/
H A Dconfigfs-stp-policy5 This group contains policies mandating Master/Channel allocation
/linux-6.15/drivers/ras/
H A DKconfig47 platform-specific policies.

1234