Home
last modified time | relevance | path

Searched refs:cpumask (Results 1 – 24 of 24) sorted by relevance

/include/linux/
Dstop_machine.h34 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 …]
Dcpumask.h14 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 …]
Dcpu_cooling.h37 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()
Dpadata.h133 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);
Dinterrupt.h222 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()
Dsmp.h39 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()
Dclockchips.h111 void (*broadcast)(const struct cpumask *mask);
123 const struct cpumask *cpumask; member
182 extern void tick_broadcast(const struct cpumask *mask);
Dcpuidle.h117 struct cpumask *cpumask; member
137 const struct cpumask *const coupled_cpus);
168 const struct cpumask *const coupled_cpus) in cpuidle_register()
Dtopology.h202 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()
Dtick.h96 extern struct cpumask *tick_get_broadcast_mask(void);
99 extern struct cpumask *tick_get_broadcast_oneshot_mask(void);
Dcpu_rmap.h43 const struct cpumask *affinity);
Dirqdesc.h67 struct cpumask *percpu_enabled;
69 const struct cpumask *affinity_hint;
Dcpuset.h44 extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask);
160 struct cpumask *mask) in cpuset_cpus_allowed()
Dseq_file.h116 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()
Dkthread.h41 void kthread_bind_mask(struct task_struct *k, const struct cpumask *mask);
Dirq.h334 int (*irq_set_affinity)(struct irq_data *data, const struct cpumask *dest, bool force);
407 const struct cpumask *cpumask, bool force);
Dblk-mq.h30 cpumask_var_t cpumask; member
Dmm_types.h438 struct cpumask cpumask_allocation;
Dsched.h1051 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);
Dcpufreq.h584 ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
Dworkqueue.h132 cpumask_var_t cpumask; /* allowed CPUs */ member
Dnetdevice.h2727 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/
Dipi.h20 TP_PROTO(const struct cpumask *mask, const char *reason),
Dxen.h407 TP_PROTO(const struct cpumask *cpus, struct mm_struct *mm,