Home
last modified time | relevance | path

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

123456789

/arch/x86/include/asm/uv/
Duv.h9 struct cpumask;
27 extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask,
38 static inline const struct cpumask *
39 uv_flush_tlb_others(const struct cpumask *cpumask, in uv_flush_tlb_others() argument
41 { return cpumask; } in uv_flush_tlb_others()
/arch/arc/plat-eznps/
Dsmp.c21 static int __init eznps_get_map(const char *name, struct cpumask *cpumask) in eznps_get_map() argument
30 cpulist_parse(buf, cpumask); in eznps_get_map()
38 struct cpumask cpumask; in eznps_init_cpumasks() local
40 if (eznps_get_map("present-cpus", &cpumask)) { in eznps_init_cpumasks()
44 init_cpu_present(&cpumask); in eznps_init_cpumasks()
46 if (eznps_get_map("possible-cpus", &cpumask)) { in eznps_init_cpumasks()
50 init_cpu_possible(&cpumask); in eznps_init_cpumasks()
/arch/arc/kernel/
Dsmp.c48 static int __init arc_get_cpu_map(const char *name, struct cpumask *cpumask) in arc_get_cpu_map() argument
57 if (cpulist_parse(buf, cpumask)) in arc_get_cpu_map()
69 struct cpumask cpumask; in arc_init_cpu_possible() local
71 if (arc_get_cpu_map("possible-cpus", &cpumask)) { in arc_init_cpu_possible()
75 cpumask_setall(&cpumask); in arc_init_cpu_possible()
78 if (!cpumask_test_cpu(0, &cpumask)) in arc_init_cpu_possible()
81 init_cpu_possible(&cpumask); in arc_init_cpu_possible()
298 static void ipi_send_msg(const struct cpumask *callmap, enum ipi_msg_type msg) in ipi_send_msg()
313 struct cpumask targets; in smp_send_stop()
324 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/x86/kernel/apic/
Dlocal.h58 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector);
59 void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, int vector);
65 void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, int vector);
66 void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, int vector);
67 void default_send_IPI_mask_logical(const struct cpumask *mask, int vector);
Dipi.c78 void native_send_call_func_ipi(const struct cpumask *mask) in native_send_call_func_ipi()
184 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys()
202 void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, in default_send_IPI_mask_allbutself_phys()
246 void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, in default_send_IPI_mask_sequence_logical()
266 void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, in default_send_IPI_mask_allbutself_logical()
289 void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector) in default_send_IPI_mask_logical() argument
291 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical()
Dapic_flat_64.c60 static void flat_send_IPI_mask(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask() argument
62 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask()
68 flat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask_allbutself() argument
70 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask_allbutself()
Dapic_noop.c18 static void noop_send_IPI_mask(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask() argument
19 static void noop_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask_allbutself() argument
Dx2apic_cluster.c15 struct cpumask mask;
37 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask()
40 struct cpumask *tmpmsk; in __x2apic_send_IPI_mask()
72 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask()
78 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself()
/arch/arm64/include/asm/
Dsmp.h72 extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int));
74 extern void (*__smp_cross_call)(const struct cpumask *, unsigned int);
98 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
101 extern void arch_send_wakeup_ipi_mask(const struct cpumask *mask);
103 static inline void arch_send_wakeup_ipi_mask(const struct cpumask *mask) in arch_send_wakeup_ipi_mask()
/arch/hexagon/include/asm/
Dsmp.h23 extern void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg);
26 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
/arch/powerpc/include/asm/
Dsmp.h116 static inline struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
121 static inline struct cpumask *cpu_core_mask(int cpu) in cpu_core_mask()
126 static inline struct cpumask *cpu_l2_cache_mask(int cpu) in cpu_l2_cache_mask()
131 static inline struct cpumask *cpu_smallcore_mask(int cpu) in cpu_smallcore_mask()
181 static inline const struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
186 static inline const struct cpumask *cpu_smallcore_mask(int cpu) in cpu_smallcore_mask()
239 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
/arch/x86/xen/
Dsmp.h5 extern void xen_send_IPI_mask(const struct cpumask *mask,
7 extern void xen_send_IPI_mask_allbutself(const struct cpumask *mask,
21 void xen_smp_send_call_function_ipi(const struct cpumask *mask);
/arch/riscv/include/asm/
Dsmp.h32 void arch_send_call_function_ipi_mask(struct cpumask *mask);
38 void riscv_cpuid_to_hartid_mask(const struct cpumask *in, struct cpumask *out);
/arch/ia64/kernel/
Dsmp.c169 send_IPI_mask(const struct cpumask *mask, int op) in send_IPI_mask()
259 cpumask_t cpumask = xcpumask; in smp_flush_tlb_cpumask() local
265 for_each_cpu(cpu, &cpumask) in smp_flush_tlb_cpumask()
269 for_each_cpu(cpu, &cpumask) { in smp_flush_tlb_cpumask()
279 for_each_cpu(cpu, &cpumask) in smp_flush_tlb_cpumask()
324 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/x86/hyperv/
Dhv_apic.c100 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector) in __send_ipi_mask_ex()
139 static bool __send_ipi_mask(const struct cpumask *mask, int vector) in __send_ipi_mask()
197 struct cpumask mask = CPU_MASK_NONE; in __send_ipi_one()
209 static void hv_send_ipi_mask(const struct cpumask *mask, int vector) in hv_send_ipi_mask()
215 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector) in hv_send_ipi_mask_allbutself()
218 struct cpumask new_mask; in hv_send_ipi_mask_allbutself()
219 const struct cpumask *local_mask; in hv_send_ipi_mask_allbutself()
/arch/x86/include/asm/
Dtlbbatch.h12 struct cpumask cpumask; member
Dsmp.h32 static inline struct cpumask *cpu_llc_shared_mask(int cpu) in cpu_llc_shared_mask()
60 void (*send_call_func_ipi)(const struct cpumask *mask);
125 static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
147 void native_send_call_func_ipi(const struct cpumask *mask);
/arch/hexagon/kernel/
Dsmp.c93 void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg) in send_ipi() argument
101 for_each_cpu(cpu, cpumask) { in send_ipi()
227 struct cpumask targets; in smp_send_stop()
238 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/riscv/kernel/
Dsmp.c57 void riscv_cpuid_to_hartid_mask(const struct cpumask *in, struct cpumask *out) in riscv_cpuid_to_hartid_mask()
84 static void send_ipi_mask(const struct cpumask *mask, enum ipi_message_type op) in send_ipi_mask()
86 struct cpumask hartid_mask; in send_ipi_mask()
172 void arch_send_call_function_ipi_mask(struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/openrisc/include/asm/
Dsmp.h21 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
23 extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int));
/arch/arm/include/asm/
Dsmp.h46 extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int));
75 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
76 extern void arch_send_wakeup_ipi_mask(const struct cpumask *mask);
/arch/csky/include/asm/
Dsmp.h16 void arch_send_call_function_ipi_mask(struct cpumask *mask);
20 void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq);
/arch/mips/include/asm/
Dsmp.h115 int mips_smp_ipi_allocate(const struct cpumask *mask);
122 int mips_smp_ipi_free(const struct cpumask *mask);
131 static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/arm/mach-vexpress/
Ddcscb.c40 unsigned int rst_hold, cpumask = (1 << cpu); in dcscb_cpu_powerup() local
43 if (cluster >= 2 || !(cpumask & dcscb_allcpus_mask[cluster])) in dcscb_cpu_powerup()
47 rst_hold &= ~(cpumask | (cpumask << 4)); in dcscb_cpu_powerup()
/arch/xtensa/include/asm/
Dsmp.h22 struct cpumask;
23 void arch_send_call_function_ipi_mask(const struct cpumask *mask);

123456789