Searched refs:policy (Results 276 - 300 of 509) sorted by path

<<11121314151617181920>>

/linux-master/include/net/
H A Drtnetlink.h53 * @policy: Netlink policy for device specific attribute validation
93 const struct nla_policy *policy; member in struct:rtnl_link_ops
H A Dxfrm.h65 - policy rule, struct xfrm_policy (=SPD entry)
79 policy entry has list of up to XFRM_MAX_DEPTH transformations,
787 static inline void xfrm_pol_hold(struct xfrm_policy *policy) argument
789 if (likely(policy != NULL))
790 refcount_inc(&policy->refcnt);
793 void xfrm_policy_destroy(struct xfrm_policy *policy);
795 static inline void xfrm_pol_put(struct xfrm_policy *policy) argument
797 if (refcount_dec_and_test(&policy->refcnt))
798 xfrm_policy_destroy(policy);
949 * policy rul
[all...]
/linux-master/include/trace/events/
H A Dpower.h176 TP_PROTO(struct cpufreq_policy *policy),
178 TP_ARGS(policy),
187 __entry->min_freq = policy->min;
188 __entry->max_freq = policy->max;
189 __entry->cpu_id = policy->cpu;
H A Dsunrpc.h145 #define rpc_show_xprtsec_policy(policy) \
146 __print_symbolic(policy, \
189 __entry->xprtsec = args->xprtsec.policy;
1552 __entry->requested_policy = clnt->cl_xprtsec.policy;
/linux-master/include/uapi/linux/
H A Dfscrypt.h14 /* Encryption policy flags */
36 * Legacy policy version; ad-hoc KDF and no key verification.
65 * New policy version with HKDF and key verification (recommended).
86 } policy; /* output */ member in struct:fscrypt_get_policy_ex_arg
90 * v1 policy keys are specified by an arbitrary 8-byte key "descriptor",
96 * v2 policy keys are specified by a 16-byte key "identifier" which the kernel
H A Dxfrm.h48 /* Selector, used as selector both on policy rules (SPD) and SAs. */
276 XFRM_AE_CU=64, /* Event cause is policy update */
436 #define XFRM_POLICY_LOCALOK 1 /* Allow user to override global policy */
452 struct xfrm_userpolicy_info policy; member in struct:xfrm_user_acquire
530 * offload is used for both policy and state flows.
532 * In policy offload mode, they are free and can be safely reused.
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debtables.h86 int policy; member in struct:ebt_entries
100 * different techniques for naming the policy and such. So, iptables doesn't
/linux-master/init/
H A Dinit_task.c76 .policy = SCHED_NORMAL,
/linux-master/kernel/power/
H A Denergy_model.c460 struct cpufreq_policy *policy; local
470 dev_warn(dev, "EM: No online CPU for CPUFreq policy\n");
474 policy = cpufreq_cpu_get(cpu);
475 if (!policy) {
476 dev_warn(dev, "EM: Access to CPUFreq policy failed\n");
484 if (!cpufreq_table_set_inefficient(policy, table[i].frequency))
488 cpufreq_cpu_put(policy);
541 * obligatory. It can be taken from i.e. 'policy->cpus'. For other
760 struct cpufreq_policy *policy; local
767 policy
[all...]
/linux-master/kernel/sched/
H A Dcore.c496 * - __sched_setscheduler(): p->sched_class, p->policy, p->*prio,
2160 static inline int __normal_prio(int policy, int rt_prio, int nice) argument
2164 if (dl_policy(policy))
2166 else if (rt_policy(policy))
2183 return __normal_prio(p->policy, p->rt_priority, PRIO_TO_NICE(p->static_prio));
4775 * Revert to default priority/policy on fork if requested.
4779 p->policy = SCHED_NORMAL;
7394 * sched policy return value kernel prio user prio/nice
7598 * sched_setparam() passes in -1 for its policy, to let the functions
7606 int policy local
7646 user_check_sched_setscheduler(struct task_struct *p, const struct sched_attr *attr, int policy, int reset_on_fork) argument
7708 int oldpolicy = -1, policy = attr->sched_policy; local
7935 _sched_setscheduler(struct task_struct *p, int policy, const struct sched_param *param, bool check) argument
7965 sched_setscheduler(struct task_struct *p, int policy, const struct sched_param *param) argument
7995 sched_setscheduler_nocheck(struct task_struct *p, int policy, const struct sched_param *param) argument
8047 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) argument
[all...]
H A Dcpufreq.c61 * cpufreq_this_cpu_can_update - Check if cpufreq policy can be updated.
62 * @policy: cpufreq policy to check.
65 * - the local and remote CPUs share @policy,
66 * - dvfs_possible_from_any_cpu is set in @policy and the local CPU is not going
69 bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy) argument
71 return cpumask_test_cpu(smp_processor_id(), policy->cpus) ||
72 (policy->dvfs_possible_from_any_cpu &&
H A Dcpufreq_schedutil.c17 struct cpufreq_policy *policy; member in struct:sugov_policy
81 if (!cpufreq_this_cpu_can_update(sg_policy->policy))
119 * correlate frequency and compute capacity for a given cpufreq policy. We use
121 * @policy: the cpufreq policy of the CPU in question.
126 unsigned long get_capacity_ref_freq(struct cpufreq_policy *policy) argument
128 unsigned int freq = arch_scale_freq_ref(policy->cpu);
134 return policy->cpuinfo.max_freq;
140 return policy->cur + (policy
168 struct cpufreq_policy *policy = sg_policy->policy; local
458 struct cpufreq_policy *policy = sg_policy->policy; local
626 sugov_policy_alloc(struct cpufreq_policy *policy) argument
661 struct cpufreq_policy *policy = sg_policy->policy; local
725 sugov_init(struct cpufreq_policy *policy) argument
803 sugov_exit(struct cpufreq_policy *policy) argument
825 sugov_start(struct cpufreq_policy *policy) argument
858 sugov_stop(struct cpufreq_policy *policy) argument
874 sugov_limits(struct cpufreq_policy *policy) argument
[all...]
H A Ddeadline.c1159 * The task might have changed its scheduling policy to something
2945 int sched_dl_overflow(struct task_struct *p, int policy, argument
2950 u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0;
2971 if (dl_policy(policy) && !task_has_dl_policy(p) &&
2977 } else if (dl_policy(policy) && task_has_dl_policy(p) &&
2990 } else if (!dl_policy(policy) && task_has_dl_policy(p)) {
3009 * for the first time with its new policy.
H A Ddebug.c1086 P(policy);
H A Dfair.c8394 if (unlikely(p->policy != SCHED_NORMAL) || !sched_feat(WAKEUP_PREEMPTION))
12853 /* Account for a task changing its policy or group.
H A Didle.c395 WARN_ON_ONCE(current->policy != SCHED_FIFO);
H A Drt.c1218 return (tsk->policy == SCHED_RR) ? 1 : 0;
2601 if (p->policy != SCHED_RR)
2627 if (task->policy == SCHED_RR)
H A Dsched.h186 static inline int idle_policy(int policy) argument
188 return policy == SCHED_IDLE;
190 static inline int fair_policy(int policy) argument
192 return policy == SCHED_NORMAL || policy == SCHED_BATCH;
195 static inline int rt_policy(int policy) argument
197 return policy == SCHED_FIFO || policy == SCHED_RR;
200 static inline int dl_policy(int policy) argument
202 return policy
204 valid_policy(int policy) argument
[all...]
H A Dtopology.c218 struct cpufreq_policy *policy; local
256 policy = cpufreq_cpu_get(i);
257 if (!policy) {
259 pr_info("rd %*pbl: Checking EAS, cpufreq policy not set for CPU: %d",
264 gov = policy->governor;
265 cpufreq_cpu_put(policy);
/linux-master/kernel/
H A Dtaskstats.c671 .policy = taskstats_cmd_get_policy,
679 .policy = cgroupstats_cmd_get_policy,
H A Dtsacct.c57 stats->ac_sched = tsk->policy;
/linux-master/kernel/trace/
H A Dtrace.c1916 max_data->policy = tsk->policy;
4190 "(uid:%d nice:%ld policy:%ld rt_prio:%ld)\n",
4193 data->policy, data->rt_priority);
H A Dtrace.h193 unsigned long policy; member in struct:trace_array_cpu
/linux-master/lib/
H A Dnlattr.c54 * policy in some cases, and userspace could try to
61 const struct nla_policy *policy,
90 const struct nla_policy *policy,
104 NL_SET_ERR_MSG_ATTR_POL(extack, entry, policy,
110 maxtype, policy, validate, extack,
394 const struct nla_policy *policy, unsigned int validate,
397 u16 strict_start_type = policy[0].strict_start_type;
409 pt = &policy[type];
600 "Attribute failed policy validation");
605 const struct nla_policy *policy,
89 nla_validate_array(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack, unsigned int validate, unsigned int depth) argument
393 validate_nla(const struct nlattr *nla, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, unsigned int depth) argument
604 __nla_validate_parse(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, struct nlattr **tb, unsigned int depth) argument
673 __nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) argument
727 __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/mm/kfence/
H A Dkfence_test.c244 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) argument
250 switch (policy) {
265 kunit_info(test, "%s: size=%zu, gfp=%x, policy=%s, cache=%i\n", __func__, size, gfp,
299 if (policy == ALLOCATE_ANY)
301 if (policy == ALLOCATE_LEFT && PAGE_ALIGNED(alloc))
303 if (policy == ALLOCATE_RIGHT && !PAGE_ALIGNED(alloc))
305 } else if (policy == ALLOCATE_NONE)

Completed in 485 milliseconds

<<11121314151617181920>>