Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 37) sorted by relevance

12

/include/linux/
Dcpufreq.h71 unsigned int policy; /* see above */ member
166 struct cpufreq_policy *policy; member
181 void cpufreq_cpu_put(struct cpufreq_policy *policy);
191 static inline void cpufreq_cpu_put(struct cpufreq_policy *policy) { } in cpufreq_cpu_put() argument
194 static inline bool policy_is_inactive(struct cpufreq_policy *policy) in policy_is_inactive() argument
196 return cpumask_empty(policy->cpus); in policy_is_inactive()
199 static inline bool policy_is_shared(struct cpufreq_policy *policy) in policy_is_shared() argument
201 return cpumask_weight(policy->cpus) > 1; in policy_is_shared()
213 void cpufreq_cpu_release(struct cpufreq_policy *policy);
214 int cpufreq_get_policy(struct cpufreq_policy *policy, unsigned int cpu);
[all …]
Dcpu_cooling.h28 cpufreq_cooling_register(struct cpufreq_policy *policy);
38 cpufreq_cooling_register(struct cpufreq_policy *policy) in cpufreq_cooling_register() argument
56 of_cpufreq_cooling_register(struct cpufreq_policy *policy);
59 of_cpufreq_cooling_register(struct cpufreq_policy *policy) in of_cpufreq_cooling_register() argument
Dcpufreq_times.h29 void cpufreq_times_create_policy(struct cpufreq_policy *policy);
30 void cpufreq_times_record_transition(struct cpufreq_policy *policy,
38 static inline void cpufreq_times_create_policy(struct cpufreq_policy *policy) {} in cpufreq_times_create_policy() argument
40 struct cpufreq_policy *policy, unsigned int new_freq) {} in cpufreq_times_record_transition() argument
Dpage-flags.h246 #define TESTPAGEFLAG(uname, lname, policy) \ argument
248 { return test_bit(PG_##lname, &policy(page, 0)->flags); }
250 #define SETPAGEFLAG(uname, lname, policy) \ argument
252 { set_bit(PG_##lname, &policy(page, 1)->flags); }
254 #define CLEARPAGEFLAG(uname, lname, policy) \ argument
256 { clear_bit(PG_##lname, &policy(page, 1)->flags); }
258 #define __SETPAGEFLAG(uname, lname, policy) \ argument
260 { __set_bit(PG_##lname, &policy(page, 1)->flags); }
262 #define __CLEARPAGEFLAG(uname, lname, policy) \ argument
264 { __clear_bit(PG_##lname, &policy(page, 1)->flags); }
[all …]
Dpsp-sev.h206 u32 policy; /* Out */ member
223 u32 policy; /* In */ member
322 u32 policy; /* Out */ member
403 u32 policy; /* In */ member
Dioprio.h65 if (task->policy == SCHED_IDLE) in task_nice_ioclass()
Dblk-mq.h245 #define BLK_ALLOC_POLICY_TO_MQ_FLAG(policy) \ argument
246 ((policy & ((1 << BLK_MQ_F_ALLOC_POLICY_BITS) - 1)) \
Dshmem_fs.h22 struct shared_policy policy; /* NUMA memory alloc policy */ member
Dmempolicy.h122 struct mempolicy *policy; member
Dgenhd.h122 int policy, partno; member
461 return disk->part0.policy; in get_disk_ro()
/include/linux/sched/
Drt.h23 int policy = tsk->policy; in task_is_realtime() local
25 if (policy == SCHED_FIFO || policy == SCHED_RR) in task_is_realtime()
27 if (policy == SCHED_DEADLINE) in task_is_realtime()
Dcpufreq.h25 bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy);
/include/net/
Dnetlink.h331 #define _NLA_POLICY_NESTED(maxattr, policy) \ argument
332 { .type = NLA_NESTED, .validation_data = policy, .len = maxattr }
333 #define _NLA_POLICY_NESTED_ARRAY(maxattr, policy) \ argument
334 { .type = NLA_NESTED_ARRAY, .validation_data = policy, .len = maxattr }
335 #define NLA_POLICY_NESTED(policy) \ argument
336 _NLA_POLICY_NESTED(ARRAY_SIZE(policy) - 1, policy)
337 #define NLA_POLICY_NESTED_ARRAY(policy) \ argument
338 _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy)
435 const struct nla_policy *policy, unsigned int validate,
438 int len, const struct nla_policy *policy, unsigned int validate,
[all …]
Dgenetlink.h54 const struct nla_policy *policy; member
178 const struct nla_policy *policy, in genlmsg_parse_deprecated() argument
182 policy, NL_VALIDATE_LIBERAL, extack); in genlmsg_parse_deprecated()
197 const struct nla_policy *policy, in genlmsg_parse() argument
201 policy, NL_VALIDATE_STRICT, extack); in genlmsg_parse()
Drtnetlink.h68 const struct nla_policy *policy; member
Dxfrm.h762 static inline void xfrm_pol_hold(struct xfrm_policy *policy) in xfrm_pol_hold() argument
764 if (likely(policy != NULL)) in xfrm_pol_hold()
765 refcount_inc(&policy->refcnt); in xfrm_pol_hold()
768 void xfrm_policy_destroy(struct xfrm_policy *policy);
770 static inline void xfrm_pol_put(struct xfrm_policy *policy) in xfrm_pol_put() argument
772 if (refcount_dec_and_test(&policy->refcnt)) in xfrm_pol_put()
773 xfrm_policy_destroy(policy); in xfrm_pol_put()
1638 int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl);
2009 int maxtype, const struct nla_policy *policy,
Dfib_rules.h100 const struct nla_policy *policy; member
/include/acpi/
Dprocessor.h313 void acpi_processor_ppc_init(struct cpufreq_policy *policy);
314 void acpi_processor_ppc_exit(struct cpufreq_policy *policy);
322 static inline void acpi_processor_ppc_init(struct cpufreq_policy *policy) in acpi_processor_ppc_init() argument
326 static inline void acpi_processor_ppc_exit(struct cpufreq_policy *policy) in acpi_processor_ppc_exit() argument
442 void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy);
443 void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy);
445 static inline void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy) in acpi_thermal_cpufreq_init() argument
449 static inline void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy) in acpi_thermal_cpufreq_exit() argument
/include/linux/mfd/wm8350/
Dsupply.h124 struct wm8350_charger_policy *policy; member
/include/trace/events/
Dpower.h154 TP_PROTO(struct cpufreq_policy *policy),
156 TP_ARGS(policy),
165 __entry->min_freq = policy->min;
166 __entry->max_freq = policy->max;
167 __entry->cpu_id = policy->cpu;
/include/uapi/linux/
Dfscrypt.h83 } policy; /* output */ member
/include/linux/netfilter/
Dnfnetlink.h23 const struct nla_policy *policy; /* netlink attribute policy */ member
/include/net/netfilter/
Dnf_tables.h446 u16 policy; member
703 const struct nla_policy *policy; member
949 u8 policy; member
1107 const struct nla_policy *policy; member
1381 u8 policy; member
1391 (((struct nft_trans_chain *)trans->data)->policy)
/include/uapi/linux/netfilter_bridge/
Debtables.h86 int policy; member
/include/net/bluetooth/
Dhci.h884 __le16 policy; member
890 __le16 policy; member
900 __le16 policy; member
905 __le16 policy; member

12