| /kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
| D | numa_memory_policy.rst | 17 Memory policies should not be confused with cpusets 20 memory may be allocated by a set of processes. Memory policies are a 22 both cpusets and policies are applied to a task, the restrictions of the cpuset 23 takes priority. See :ref:`Memory Policies and cpusets <mem_pol_and_cpusets>` 29 Scope of Memory Policies 63 In a multi-threaded task, task policies apply only to the thread 90 VMA policies have a few complicating details: 102 * VMA policies are shared between all tasks that share a 105 fork(). However, because VMA policies refer to a specific 107 space is discarded and recreated on exec*(), VMA policies [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/ |
| D | numa_memory_policy.rst | 15 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 …]
|
| /kernel/linux/linux-5.10/net/netlink/ |
| D | policy.c | 24 } policies[]; 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() 55 memset(&state->policies[state->n_alloc], 0, in add_policy() 56 flex_array_size(state, policies, n_alloc - state->n_alloc)); in add_policy() 58 state->policies[state->n_alloc].policy = policy; in add_policy() [all …]
|
| /kernel/linux/linux-6.6/net/netlink/ |
| D | policy.c | 24 } policies[]; 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() 55 memset(&state->policies[state->n_alloc], 0, in add_policy() 56 flex_array_size(state, policies, n_alloc - state->n_alloc)); in add_policy() 58 state->policies[state->n_alloc].policy = policy; in add_policy() [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | fscrypt.rst | 148 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
| D | intel_guc_ads.c | 38 struct guc_policies policies; member 68 static void guc_policies_init(struct guc_policies *policies) in guc_policies_init() argument 73 policies->dpc_promote_time = POLICY_DEFAULT_DPC_PROMOTE_TIME_US; in guc_policies_init() 74 policies->max_num_work_items = POLICY_MAX_NUM_WI; in guc_policies_init() 78 policy = &policies->policy[p][i]; in guc_policies_init() 84 policies->is_valid = 1; in guc_policies_init() 128 /* GuC scheduling policies */ in __guc_ads_init() 129 guc_policies_init(&blob->policies); in __guc_ads_init() 184 blob->ads.scheduler_policies = base + ptr_offset(blob, policies); in __guc_ads_init()
|
| /kernel/linux/linux-6.6/Documentation/filesystems/ |
| D | fscrypt.rst | 148 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | xfrm_policy.sh | 59 # add policies with different netmasks, to make sure kernel carries 60 # the policies contained within new netmask over when search tree is 68 # policies it carries need to be merged with the existing one(s). 98 # the sub-tree. As no duplicates are allowed, policies in 110 # similar to above: add policies (with partially random address), with shrinking prefixes. 152 # policies that are not supposed to match any packets generated in this test. 290 # 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | xfrm_policy.sh | 59 # add policies with different netmasks, to make sure kernel carries 60 # the policies contained within new netmask over when search tree is 68 # policies it carries need to be merged with the existing one(s). 98 # the sub-tree. As no duplicates are allowed, policies in 110 # similar to above: add policies (with partially random address), with shrinking prefixes. 152 # policies that are not supposed to match any packets generated in this test. 290 # 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 …]
|
| /kernel/uniproton/ |
| D | OAT.xml | 32 … <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 37 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 42 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 47 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 52 …ter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 57 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
| /kernel/liteos_a/ |
| D | OAT.xml | 42 <filefilter name="defaultPolicyFilter" desc="Filters for license header policies"> 47 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 52 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 57 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 62 …ter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 67 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
| /kernel/liteos_m/ |
| D | OAT.xml | 44 … <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 49 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 54 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 59 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 64 …ter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 69 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
| /kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
| D | run.sh | 73 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*") 74 for policy in $policies; do 86 policies=$(awk '{print $1}' $OUTFILE.backup_governor.log) 87 for policy in $policies; do 101 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*") 102 for policy in $policies; do
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | mempolicy.h | 3 * NUMA memory policies for Linux. 18 /* Policies */ 60 #define MPOL_F_SHARED (1 << 0) /* identify shared policies */
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | mempolicy.h | 3 * NUMA memory policies for Linux. 18 /* Policies */ 63 #define MPOL_F_SHARED (1 << 0) /* identify shared policies */
|
| /kernel/linux/linux-6.6/tools/testing/selftests/cpufreq/ |
| D | cpufreq.sh | 31 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
|
| /kernel/linux/linux-5.10/tools/testing/selftests/cpufreq/ |
| D | cpufreq.sh | 31 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
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | mempolicy.h | 3 * NUMA memory policies for Linux. 74 * Currently only needed for shared policies. 112 * Tree of shared policies for a shared memory region. 113 * Maintain the policies in a pseudo mm that contains vmas. The vmas
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | mempolicy.h | 3 * NUMA memory policies for Linux. 71 * Currently only needed for shared policies. 109 * Tree of shared policies for a shared memory region. 110 * Maintain the policies in a pseudo mm that contains vmas. The vmas
|
| /kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
| D | sched_policy.c | 22 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()
|
| /kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
| D | sched_policy.c | 22 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
| D | intel_guc_ads.c | 60 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
| D | cache-policies.rst | 2 Guidance for writing policies 7 makes it easier to write the policies. 26 Overview of supplied cache replacement policies
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/device-mapper/ |
| D | cache-policies.rst | 2 Guidance for writing policies 7 makes it easier to write the policies. 26 Overview of supplied cache replacement policies
|
| /kernel/linux/linux-6.6/fs/crypto/ |
| D | policy.c | 21 * 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. 197 "v1 policies can't be used on casefolded directories"); in fscrypt_supported_v1_policy() 560 /* Extended ioctl version; can get policies of any version */ 771 * times), then this function will verify that the policies are the same. 826 * fscrypt_dummy_policies_equal() - check whether two dummy policies are equal 830 * Return: %true if the dummy policies are both set and equal, or both unset.
|