Home
last modified time | relevance | path

Searched full:policies (Results 1 – 25 of 228) sorted by relevance

12345678910

/linux-6.8/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst15 Memory policies should not be confused with cpusets
18 memory may be allocated by a set of processes. Memory policies are a
20 both cpusets and policies are applied to a task, the restrictions of the cpuset
21 takes priority. See :ref:`Memory Policies and cpusets <mem_pol_and_cpusets>`
27 Scope of Memory Policies
61 In a multi-threaded task, task policies apply only to the thread
88 VMA policies have a few complicating details:
100 * VMA policies are shared between all tasks that share a
103 fork(). However, because VMA policies refer to a specific
105 space is discarded and recreated on exec*(), VMA policies
[all …]
/linux-6.8/net/netlink/
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_alloc].policy = policy; in add_policy()
[all …]
/linux-6.8/Documentation/filesystems/
Dfscrypt.rst148 Limitations of v1 policies
151 v1 encryption policies have some weaknesses with respect to online
167 All the above problems are fixed with v2 encryption policies. For
169 policies on all new encrypted directories.
212 the key is used for v1 encryption policies or for v2 encryption
213 policies. Users **must not** use the same key for both v1 and v2
214 encryption policies. (No real-world attack is currently known on this
218 For v1 encryption policies, the KDF only supports deriving per-file
224 For v2 encryption policies, the KDF is HKDF-SHA512. The master key is
259 DIRECT_KEY policies
[all …]
/linux-6.8/tools/testing/selftests/net/
Dxfrm_policy.sh58 # add policies with different netmasks, to make sure kernel carries
59 # the policies contained within new netmask over when search tree is
67 # policies it carries need to be merged with the existing one(s).
97 # the sub-tree. As no duplicates are allowed, policies in
109 # similar to above: add policies (with partially random address), with shrinking prefixes.
151 # policies that are not supposed to match any packets generated in this test.
289 # insert non-overlapping policies in a random order and check that
446 # insert block policies with adjacent/overlapping netmasks
449 check_exceptions "exceptions and block policies"
459 check_exceptions "exceptions and block policies after hresh changes"
[all …]
Dsrv6_hl2encap_red_l2vpn_test.sh17 # i) The SRv6 H.L2Encaps.Red behavior applies SRv6 Policies on traffic
83 # SRv6 Policies
86 # An SRv6 ingress router applies SRv6 policies to the traffic received from a
96 # handled by rt-1 which applies the following SRv6 Policies:
106 # policies:
575 # set the SRv6 Policies at the ingress router
/linux-6.8/tools/testing/selftests/amd-pstate/
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.8/include/uapi/linux/
Dmempolicy.h3 * NUMA memory policies for Linux.
18 /* Policies */
63 #define MPOL_F_SHARED (1 << 0) /* identify shared policies */
/linux-6.8/tools/testing/selftests/cpufreq/
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.8/tools/perf/trace/beauty/
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.8/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c60 struct guc_policies policies; member
148 ads_blob_write(guc, policies.dpc_promote_time, in guc_policies_init()
150 ads_blob_write(guc, policies.max_num_work_items, in guc_policies_init()
156 ads_blob_write(guc, policies.global_flags, global_flags); in guc_policies_init()
157 ads_blob_write(guc, policies.is_valid, 1); in guc_policies_init()
166 drm_printf(dp, "Global scheduling policies:\n"); in intel_guc_ads_print_policy_info()
168 ads_blob_read(guc, policies.dpc_promote_time)); in intel_guc_ads_print_policy_info()
170 ads_blob_read(guc, policies.max_num_work_items)); in intel_guc_ads_print_policy_info()
172 ads_blob_read(guc, policies.global_flags)); in intel_guc_ads_print_policy_info()
802 /* GuC scheduling policies */ in __guc_ads_init()
[all …]
/linux-6.8/Documentation/admin-guide/device-mapper/
Dcache-policies.rst2 Guidance for writing policies
7 makes it easier to write the policies.
26 Overview of supplied cache replacement policies
Dcache.rst158 Policies will have different tunables, specific to each one, so we
160 messages are used. Refer to cache-policies.txt.
199 See cache-policies.txt for details.
295 Policies will have different tunables, specific to each one, so we
Dindex.rst8 cache-policies
/linux-6.8/drivers/gpu/drm/xe/
Dxe_guc_ads.c98 struct guc_policies policies; member
315 ads_blob_write(ads, policies.dpc_promote_time, in guc_policies_init()
317 ads_blob_write(ads, policies.max_num_work_items, in guc_policies_init()
319 ads_blob_write(ads, policies.global_flags, 0); in guc_policies_init()
320 ads_blob_write(ads, policies.is_valid, 1); in guc_policies_init()
575 offsetof(struct __guc_ads_blob, policies)); in xe_guc_ads_populate_minimal()
608 offsetof(struct __guc_ads_blob, policies)); in xe_guc_ads_populate()
/linux-6.8/fs/crypto/
Dpolicy.c21 * fscrypt_policies_equal() - check whether two encryption policies are the same
65 * (and later) encryption policies.
67 * Do *not* add anything new here, since v1 encryption policies are deprecated.
208 "v1 policies can't be used on casefolded directories"); in fscrypt_supported_v1_policy()
587 /* Extended ioctl version; can get policies of any version */
677 * encryption policy. Compare the cached policies if the keys are in fscrypt_has_permitted_context()
798 * times), then this function will verify that the policies are the same.
853 * fscrypt_dummy_policies_equal() - check whether two dummy policies are equal
857 * Return: %true if the dummy policies are both set and equal, or both unset.
Dkeysetup_v1.c3 * Key setup for v1 encryption policies
18 * - Handling policies with the DIRECT_KEY flag set using a master key table
31 /* Table of keys referenced by DIRECT_KEY policies */
/linux-6.8/Documentation/admin-guide/LSM/
DSafeSetID.rst100 applicable restriction policy is in place. Policies are configured through
109 Note on GID policies and setgroups()
116 policies add no meaningful security. setgroups() restrictions will be enforced
/linux-6.8/include/linux/
Dmempolicy.h3 * NUMA memory policies for Linux.
73 * Currently only needed for shared policies.
109 * Tree of shared policies for a shared memory region.
/linux-6.8/drivers/net/wireless/silabs/wfx/
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.8/Documentation/bpf/
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.8/drivers/md/
Ddm-cache-metadata.h131 * policies are changed, then hints will be lost. If the machine crashes,
134 * The hints are indexed by the cblock, but many policies will not
/linux-6.8/fs/nfsd/
DKconfig156 SELinux and Smack to label files to facilitate enforcement of their policies.
160 Smack policies on NFSv4 files, say N.
/linux-6.8/tools/power/cpupower/man/
Dcpupower-info.110 registers affecting processor power saving policies.
/linux-6.8/net/netfilter/
Dxt_cgroup.c6 * policies in contrast to global policies based on control groups.
/linux-6.8/Documentation/ABI/removed/
Draw13947 to implement sensible device security policies, and its low level

12345678910