Home
last modified time | relevance | path

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

12345678910

/arch/x86/include/asm/uv/
Duv.h9 struct cpumask;
20 extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask,
30 static inline const struct cpumask *
31 uv_flush_tlb_others(const struct cpumask *cpumask, in uv_flush_tlb_others() argument
33 { return cpumask; } in uv_flush_tlb_others()
/arch/m32r/kernel/
Dsmp.c80 static void send_IPI_mask(const struct cpumask *, int, int);
151 cpumask_t cpumask; in smp_flush_cache_all() local
155 cpumask_copy(&cpumask, cpu_online_mask); in smp_flush_cache_all()
156 cpumask_clear_cpu(smp_processor_id(), &cpumask); in smp_flush_cache_all()
158 mask=cpumask_bits(&cpumask); in smp_flush_cache_all()
160 send_IPI_mask(&cpumask, INVALIDATE_CACHE_IPI, 0); in smp_flush_cache_all()
371 static void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm, in flush_tlb_others() argument
389 BUG_ON(cpumask_empty(&cpumask)); in flush_tlb_others()
391 BUG_ON(cpumask_test_cpu(smp_processor_id(), &cpumask)); in flush_tlb_others()
395 cpumask_and(&cpumask, &cpumask, cpu_online_mask); in flush_tlb_others()
[all …]
/arch/arc/plat-eznps/
Dsmp.c32 static int __init eznps_get_map(const char *name, struct cpumask *cpumask) in eznps_get_map() argument
41 cpulist_parse(buf, cpumask); in eznps_get_map()
49 struct cpumask cpumask; in eznps_init_cpumasks() local
51 if (eznps_get_map("present-cpus", &cpumask)) { in eznps_init_cpumasks()
55 init_cpu_present(&cpumask); in eznps_init_cpumasks()
57 if (eznps_get_map("possible-cpus", &cpumask)) { in eznps_init_cpumasks()
61 init_cpu_possible(&cpumask); in eznps_init_cpumasks()
/arch/x86/kernel/apic/
Dapic_noop.c34 static void noop_send_IPI_mask(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask() argument
35 static void noop_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask_allbutself() argument
87 static const struct cpumask *noop_target_cpus(void) in noop_target_cpus()
93 static void noop_vector_allocation_domain(int cpu, struct cpumask *retmask, in noop_vector_allocation_domain()
94 const struct cpumask *mask) in noop_vector_allocation_domain()
Dipi.c91 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys()
109 void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, in default_send_IPI_mask_allbutself_phys()
138 void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, in default_send_IPI_mask_sequence_logical()
158 void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, in default_send_IPI_mask_allbutself_logical()
181 void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector) in default_send_IPI_mask_logical() argument
183 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical()
Dx2apic_cluster.c37 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask()
39 struct cpumask *cpus_in_cluster_ptr; in __x2apic_send_IPI_mask()
40 struct cpumask *ipi_mask_ptr; in __x2apic_send_IPI_mask()
87 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask()
93 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself()
109 x2apic_cpu_mask_to_apicid(const struct cpumask *mask, struct irq_data *irqdata, in x2apic_cpu_mask_to_apicid()
112 struct cpumask *effmsk = irq_data_get_effective_affinity_mask(irqdata); in x2apic_cpu_mask_to_apicid()
201 static const struct cpumask *x2apic_cluster_target_cpus(void) in x2apic_cluster_target_cpus()
209 static void cluster_vector_allocation_domain(int cpu, struct cpumask *retmask, in cluster_vector_allocation_domain()
210 const struct cpumask *mask) in cluster_vector_allocation_domain()
/arch/arm64/include/asm/
Dsmp.h70 extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int));
72 extern void (*__smp_cross_call)(const struct cpumask *, unsigned int);
96 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
99 extern void arch_send_wakeup_ipi_mask(const struct cpumask *mask);
101 static inline void arch_send_wakeup_ipi_mask(const struct cpumask *mask) in arch_send_wakeup_ipi_mask()
/arch/tile/include/asm/
Dsmp.h32 void send_IPI_many(const struct cpumask *mask, int tag);
75 static inline void arch_send_call_function_ipi_mask(struct cpumask *mask) in arch_send_call_function_ipi_mask()
102 extern struct cpumask cpu_lotar_map;
106 extern struct cpumask hash_for_home_map;
109 extern struct cpumask cpu_cacheable_map;
127 static inline int __cpulist_parse_crop(const char *buf, struct cpumask *dstp, in __cpulist_parse_crop()
Dhomecache.h51 const struct cpumask *cache_cpumask,
54 const struct cpumask *tlb_cpumask,
61 extern void homecache_evict(const struct cpumask *mask);
/arch/arc/kernel/
Dsmp.c51 static int __init arc_get_cpu_map(const char *name, struct cpumask *cpumask) in arc_get_cpu_map() argument
60 if (cpulist_parse(buf, cpumask)) in arc_get_cpu_map()
72 struct cpumask cpumask; in arc_init_cpu_possible() local
74 if (arc_get_cpu_map("possible-cpus", &cpumask)) { in arc_init_cpu_possible()
78 cpumask_setall(&cpumask); in arc_init_cpu_possible()
81 if (!cpumask_test_cpu(0, &cpumask)) in arc_init_cpu_possible()
84 init_cpu_possible(&cpumask); in arc_init_cpu_possible()
301 static void ipi_send_msg(const struct cpumask *callmap, enum ipi_msg_type msg) in ipi_send_msg()
316 struct cpumask targets; in smp_send_stop()
327 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/mn10300/mm/
Dtlb-smp.c52 static void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm,
94 static void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm, in flush_tlb_others() argument
105 BUG_ON(cpumask_empty(&cpumask)); in flush_tlb_others()
106 BUG_ON(cpumask_test_cpu(smp_processor_id(), &cpumask)); in flush_tlb_others()
108 cpumask_and(&tmp, &cpumask, cpu_online_mask); in flush_tlb_others()
109 BUG_ON(!cpumask_equal(&cpumask, &tmp)); in flush_tlb_others()
122 atomic_or(cpumask.bits[0], (atomic_t *)&flush_cpumask.bits[0]); in flush_tlb_others()
/arch/x86/include/asm/
Dapic.h279 const struct cpumask *(*target_cpus)(void);
286 void (*vector_allocation_domain)(int cpu, struct cpumask *retmask,
287 const struct cpumask *mask);
302 int (*cpu_mask_to_apicid)(const struct cpumask *cpumask,
308 void (*send_IPI_mask)(const struct cpumask *mask, int vector);
309 void (*send_IPI_mask_allbutself)(const struct cpumask *mask,
481 static inline const struct cpumask *default_target_cpus(void) in default_target_cpus()
490 static inline const struct cpumask *online_target_cpus(void) in online_target_cpus()
546 extern int flat_cpu_mask_to_apicid(const struct cpumask *cpumask,
549 extern int default_cpu_mask_to_apicid(const struct cpumask *cpumask,
[all …]
Dipi.h70 extern void default_send_IPI_mask_sequence_phys(const struct cpumask *mask,
72 extern void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask,
97 extern void default_send_IPI_mask_sequence_logical(const struct cpumask *mask,
99 extern void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask,
101 extern void default_send_IPI_mask_logical(const struct cpumask *mask,
Dtlbbatch.h12 struct cpumask cpumask; member
/arch/hexagon/include/asm/
Dsmp.h36 extern void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg);
39 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
/arch/tile/mm/
Dmigrate.h33 const unsigned long *cpumask);
51 const struct cpumask *cache_cpumask,
52 const struct cpumask *tlb_cpumask,
/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/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/hexagon/kernel/
Dsmp.c106 void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg) in send_ipi() argument
114 for_each_cpu(cpu, cpumask) { in send_ipi()
240 struct cpumask targets; in smp_send_stop()
251 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/powerpc/include/asm/
Dsmp.h103 static inline struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
108 static inline struct cpumask *cpu_core_mask(int cpu) in cpu_core_mask()
113 static inline struct cpumask *cpu_l2_cache_mask(int cpu) in cpu_l2_cache_mask()
163 static inline const struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
216 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
/arch/tile/kernel/
Dhardwall.c105 struct cpumask cpumask; /* cpus reserved */ member
202 static int check_rectangle(struct hardwall_info *r, struct cpumask *mask) in check_rectangle()
296 struct cpumask rect_cpus; in hardwall_protect_rectangle()
351 if (cpumask_test_cpu(cpu, &rect->cpumask)) in do_hardwall_trap()
477 return info && cpumask_test_cpu(cpu, &info->cpumask); in hardwall_ipi_valid()
493 struct cpumask mask; in hardwall_create()
502 if (copy_from_user(&mask, bits, min(sizeof(struct cpumask), size))) in hardwall_create()
510 if (size < sizeof(struct cpumask)) { in hardwall_create()
511 memset((char *)&mask + size, 0, sizeof(struct cpumask) - size); in hardwall_create()
512 } else if (size > sizeof(struct cpumask)) { in hardwall_create()
[all …]
/arch/mips/include/asm/
Dsmp.h99 int mips_smp_ipi_allocate(const struct cpumask *mask);
106 int mips_smp_ipi_free(const struct cpumask *mask);
115 static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/ia64/include/asm/
Dirq.h31 bool is_affinity_mask_valid(const struct cpumask *cpumask);
/arch/arm/include/asm/
Dsmp.h49 extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int));
79 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
80 extern void arch_send_wakeup_ipi_mask(const struct cpumask *mask);
/arch/arm/mach-vexpress/
Ddcscb.c43 unsigned int rst_hold, cpumask = (1 << cpu); in dcscb_cpu_powerup() local
46 if (cluster >= 2 || !(cpumask & dcscb_allcpus_mask[cluster])) in dcscb_cpu_powerup()
50 rst_hold &= ~(cpumask | (cpumask << 4)); in dcscb_cpu_powerup()

12345678910