/include/linux/ |
D | stop_machine.h | 34 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 35 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 78 static inline int stop_cpus(const struct cpumask *cpumask, in stop_cpus() argument 81 if (cpumask_test_cpu(raw_smp_processor_id(), cpumask)) in stop_cpus() 86 static inline int try_stop_cpus(const struct cpumask *cpumask, in try_stop_cpus() argument 89 return stop_cpus(cpumask, fn, arg); in try_stop_cpus() 115 int stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus); 126 int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus); 129 const struct cpumask *cpus); 134 const struct cpumask *cpus) in __stop_machine() [all …]
|
D | cpumask.h | 14 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; struct 87 extern const struct cpumask *const cpu_possible_mask; 88 extern const struct cpumask *const cpu_online_mask; 89 extern const struct cpumask *const cpu_present_mask; 90 extern const struct cpumask *const cpu_active_mask; 123 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() 129 static inline unsigned int cpumask_next(int n, const struct cpumask *srcp) in cpumask_next() 134 static inline unsigned int cpumask_next_zero(int n, const struct cpumask *srcp) in cpumask_next_zero() 140 const struct cpumask *srcp, in cpumask_next_and() 141 const struct cpumask *andp) in cpumask_next_and() [all …]
|
D | cpu_cooling.h | 37 cpufreq_cooling_register(const struct cpumask *clip_cpus); 47 const struct cpumask *clip_cpus); 51 const struct cpumask *clip_cpus) in of_cpufreq_cooling_register() 66 cpufreq_cooling_register(const struct cpumask *clip_cpus) in cpufreq_cooling_register() 72 const struct cpumask *clip_cpus) in of_cpufreq_cooling_register()
|
D | padata.h | 133 struct padata_cpumask cpumask; member 157 struct padata_cpumask cpumask; member 170 const struct cpumask *pcpumask, 171 const struct cpumask *cbcpumask); 177 cpumask_var_t cpumask);
|
D | interrupt.h | 222 extern int __irq_set_affinity(unsigned int irq, const struct cpumask *cpumask, 233 irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_set_affinity() argument 235 return __irq_set_affinity(irq, cpumask, false); in irq_set_affinity() 250 irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() argument 252 return __irq_set_affinity(irq, cpumask, true); in irq_force_affinity() 258 extern int irq_set_affinity_hint(unsigned int irq, const struct cpumask *m); 265 static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m) in irq_set_affinity() 270 static inline int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() argument 283 const struct cpumask *m) in irq_set_affinity_hint()
|
D | smp.h | 39 void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, 96 void smp_call_function_many(const struct cpumask *mask, 99 int smp_call_function_any(const struct cpumask *mask, 145 smp_call_function_any(const struct cpumask *mask, smp_call_func_t func, in smp_call_function_any()
|
D | clockchips.h | 111 void (*broadcast)(const struct cpumask *mask); 123 const struct cpumask *cpumask; member 182 extern void tick_broadcast(const struct cpumask *mask);
|
D | cpuidle.h | 117 struct cpumask *cpumask; member 137 const struct cpumask *const coupled_cpus); 168 const struct cpumask *const coupled_cpus) in cpuidle_register()
|
D | topology.h | 202 static inline const struct cpumask *cpu_smt_mask(int cpu) in cpu_smt_mask() 208 static inline const struct cpumask *cpu_cpu_mask(int cpu) in cpu_cpu_mask()
|
D | tick.h | 96 extern struct cpumask *tick_get_broadcast_mask(void); 99 extern struct cpumask *tick_get_broadcast_oneshot_mask(void);
|
D | cpu_rmap.h | 43 const struct cpumask *affinity);
|
D | irqdesc.h | 67 struct cpumask *percpu_enabled; 69 const struct cpumask *affinity_hint;
|
D | cpuset.h | 44 extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask); 160 struct cpumask *mask) in cpuset_cpus_allowed()
|
D | seq_file.h | 116 static inline int seq_cpumask(struct seq_file *m, const struct cpumask *mask) in seq_cpumask() 130 const struct cpumask *mask) in seq_cpumask_list()
|
D | kthread.h | 41 void kthread_bind_mask(struct task_struct *k, const struct cpumask *mask);
|
D | irq.h | 334 int (*irq_set_affinity)(struct irq_data *data, const struct cpumask *dest, bool force); 407 const struct cpumask *cpumask, bool force);
|
D | blk-mq.h | 30 cpumask_var_t cpumask; member
|
D | mm_types.h | 438 struct cpumask cpumask_allocation;
|
D | sched.h | 1051 static inline struct cpumask *sched_domain_span(struct sched_domain *sd) in sched_domain_span() 1065 typedef const struct cpumask *(*sched_domain_mask_f)(int cpu); 2193 const struct cpumask *new_mask); 2196 const struct cpumask *new_mask); 2199 const struct cpumask *new_mask) in do_set_cpus_allowed() 2203 const struct cpumask *new_mask) in set_cpus_allowed_ptr() 3093 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask); 3094 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
|
D | cpufreq.h | 584 ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
|
D | workqueue.h | 132 cpumask_var_t cpumask; /* allowed CPUs */ member
|
D | netdevice.h | 2727 int netif_set_xps_queue(struct net_device *dev, const struct cpumask *mask, 2731 const struct cpumask *mask, in netif_set_xps_queue()
|
/include/trace/events/ |
D | ipi.h | 20 TP_PROTO(const struct cpumask *mask, const char *reason),
|
D | xen.h | 407 TP_PROTO(const struct cpumask *cpus, struct mm_struct *mm,
|