/include/linux/ |
D | cpufreq.h | 71 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 …]
|
D | cpu_cooling.h | 28 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
|
D | cpufreq_times.h | 29 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
|
D | page-flags.h | 246 #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 …]
|
D | psp-sev.h | 206 u32 policy; /* Out */ member 223 u32 policy; /* In */ member 322 u32 policy; /* Out */ member 403 u32 policy; /* In */ member
|
D | ioprio.h | 65 if (task->policy == SCHED_IDLE) in task_nice_ioclass()
|
D | blk-mq.h | 245 #define BLK_ALLOC_POLICY_TO_MQ_FLAG(policy) \ argument 246 ((policy & ((1 << BLK_MQ_F_ALLOC_POLICY_BITS) - 1)) \
|
D | shmem_fs.h | 22 struct shared_policy policy; /* NUMA memory alloc policy */ member
|
D | mempolicy.h | 122 struct mempolicy *policy; member
|
D | genhd.h | 122 int policy, partno; member 461 return disk->part0.policy; in get_disk_ro()
|
/include/linux/sched/ |
D | rt.h | 23 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()
|
D | cpufreq.h | 25 bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy);
|
/include/net/ |
D | netlink.h | 331 #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 …]
|
D | genetlink.h | 54 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()
|
D | rtnetlink.h | 68 const struct nla_policy *policy; member
|
D | xfrm.h | 762 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,
|
D | fib_rules.h | 100 const struct nla_policy *policy; member
|
/include/acpi/ |
D | processor.h | 313 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/ |
D | supply.h | 124 struct wm8350_charger_policy *policy; member
|
/include/trace/events/ |
D | power.h | 154 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/ |
D | fscrypt.h | 83 } policy; /* output */ member
|
/include/linux/netfilter/ |
D | nfnetlink.h | 23 const struct nla_policy *policy; /* netlink attribute policy */ member
|
/include/net/netfilter/ |
D | nf_tables.h | 446 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/ |
D | ebtables.h | 86 int policy; member
|
/include/net/bluetooth/ |
D | hci.h | 884 __le16 policy; member 890 __le16 policy; member 900 __le16 policy; member 905 __le16 policy; member
|