Home
last modified time | relevance | path

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

12345678910

/arch/x86/include/asm/uv/
Duv.h6 struct cpumask;
16 extern const struct cpumask *uv_flush_tlb_others(const struct cpumask *cpumask,
28 static inline const struct cpumask *
29 uv_flush_tlb_others(const struct cpumask *cpumask, struct mm_struct *mm, in uv_flush_tlb_others() argument
31 { 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()
370 static void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm, in flush_tlb_others() argument
388 BUG_ON(cpumask_empty(&cpumask)); in flush_tlb_others()
390 BUG_ON(cpumask_test_cpu(smp_processor_id(), &cpumask)); in flush_tlb_others()
394 cpumask_and(&cpumask, &cpumask, cpu_online_mask); in flush_tlb_others()
[all …]
/arch/x86/include/asm/
Dapic.h289 const struct cpumask *(*target_cpus)(void);
296 void (*vector_allocation_domain)(int cpu, struct cpumask *retmask,
297 const struct cpumask *mask);
312 int (*cpu_mask_to_apicid_and)(const struct cpumask *cpumask,
313 const struct cpumask *andmask,
317 void (*send_IPI_mask)(const struct cpumask *mask, int vector);
318 void (*send_IPI_mask_allbutself)(const struct cpumask *mask,
491 static inline const struct cpumask *default_target_cpus(void) in default_target_cpus()
500 static inline const struct cpumask *online_target_cpus(void) in online_target_cpus()
557 flat_cpu_mask_to_apicid_and(const struct cpumask *cpumask, in flat_cpu_mask_to_apicid_and() argument
[all …]
Dipi.h122 extern void default_send_IPI_mask_sequence_phys(const struct cpumask *mask,
124 extern void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask,
149 extern void default_send_IPI_mask_sequence_logical(const struct cpumask *mask,
151 extern void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask,
153 extern void default_send_IPI_mask_logical(const struct cpumask *mask,
Dsmp.h40 static inline struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
45 static inline struct cpumask *cpu_core_mask(int cpu) in cpu_core_mask()
50 static inline struct cpumask *cpu_llc_shared_mask(int cpu) in cpu_llc_shared_mask()
79 void (*send_call_func_ipi)(const struct cpumask *mask);
147 static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
165 void native_send_call_func_ipi(const struct cpumask *mask);
Dtopology.h76 extern const struct cpumask *cpumask_of_node(int node);
79 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node()
120 extern const struct cpumask *cpu_coregroup_mask(int cpu);
/arch/x86/kernel/apic/
Dapic_noop.c33 static void noop_send_IPI_mask(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask() argument
34 static void noop_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask_allbutself() argument
86 static const struct cpumask *noop_target_cpus(void) in noop_target_cpus()
92 static void noop_vector_allocation_domain(int cpu, struct cpumask *retmask, in noop_vector_allocation_domain()
93 const struct cpumask *mask) in noop_vector_allocation_domain()
Dx2apic_cluster.c27 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask()
29 struct cpumask *cpus_in_cluster_ptr; in __x2apic_send_IPI_mask()
30 struct cpumask *ipi_mask_ptr; in __x2apic_send_IPI_mask()
77 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask()
83 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself()
99 x2apic_cpu_mask_to_apicid_and(const struct cpumask *cpumask, in x2apic_cpu_mask_to_apicid_and() argument
100 const struct cpumask *andmask, in x2apic_cpu_mask_to_apicid_and()
107 for_each_cpu_and(i, cpumask, andmask) { in x2apic_cpu_mask_to_apicid_and()
118 for_each_cpu_and(i, cpumask, andmask) { in x2apic_cpu_mask_to_apicid_and()
211 static const struct cpumask *x2apic_cluster_target_cpus(void) in x2apic_cluster_target_cpus()
[all …]
Dapic_flat_64.c65 static void flat_send_IPI_mask(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask() argument
67 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask()
73 flat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask_allbutself() argument
75 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask_allbutself()
234 static void physflat_send_IPI_mask(const struct cpumask *cpumask, int vector) in physflat_send_IPI_mask() argument
236 default_send_IPI_mask_sequence_phys(cpumask, vector); in physflat_send_IPI_mask()
239 static void physflat_send_IPI_mask_allbutself(const struct cpumask *cpumask, in physflat_send_IPI_mask_allbutself() argument
242 default_send_IPI_mask_allbutself_phys(cpumask, vector); in physflat_send_IPI_mask_allbutself()
Dipi.c21 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys()
39 void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, in default_send_IPI_mask_allbutself_phys()
60 void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, in default_send_IPI_mask_sequence_logical()
80 void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, in default_send_IPI_mask_allbutself_logical()
103 void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector) in default_send_IPI_mask_logical() argument
105 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical()
/arch/tile/include/asm/
Dsmp.h32 void send_IPI_many(const struct cpumask *mask, int tag);
74 static inline void arch_send_call_function_ipi_mask(struct cpumask *mask) in arch_send_call_function_ipi_mask()
101 extern struct cpumask cpu_lotar_map;
105 extern struct cpumask hash_for_home_map;
108 extern struct cpumask cpu_cacheable_map;
126 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/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_set_mask(cpumask.bits[0], &flush_cpumask.bits[0]); in flush_tlb_others()
/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/arm64/include/asm/
Dsmp.h45 extern void set_smp_cross_call(void (*)(const struct cpumask *, unsigned int));
47 extern void (*__smp_cross_call)(const struct cpumask *, unsigned int);
64 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
/arch/arm/mach-vexpress/
Ddcscb.c53 unsigned int rst_hold, cpumask = (1 << cpu); in dcscb_power_up() local
77 rst_hold &= ~(cpumask | (cpumask << 4)); in dcscb_power_up()
99 unsigned int mpidr, cpu, cluster, rst_hold, cpumask, all_mask; in dcscb_power_down() local
105 cpumask = (1 << cpu); in dcscb_power_down()
119 rst_hold |= cpumask; in dcscb_power_down()
/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_mask(cpu, cpumask) in smp_flush_tlb_cpumask()
269 for_each_cpu_mask(cpu, cpumask) { in smp_flush_tlb_cpumask()
279 for_each_cpu_mask(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.c105 void send_ipi(const struct cpumask *cpumask, enum ipi_message_type msg) in send_ipi() argument
113 for_each_cpu(cpu, cpumask) { in send_ipi()
239 struct cpumask targets; in smp_send_stop()
250 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
/arch/ia64/include/asm/
Dirq.h30 bool is_affinity_mask_valid(const struct cpumask *cpumask);
/arch/x86/xen/
Dsmp.h3 extern void xen_send_IPI_mask(const struct cpumask *mask,
5 extern void xen_send_IPI_mask_allbutself(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()
478 return info && cpumask_test_cpu(cpu, &info->cpumask); in hardwall_ipi_valid()
494 struct cpumask mask; in hardwall_create()
503 if (copy_from_user(&mask, bits, min(sizeof(struct cpumask), size))) in hardwall_create()
511 if (size < sizeof(struct cpumask)) { in hardwall_create()
512 memset((char *)&mask + size, 0, sizeof(struct cpumask) - size); in hardwall_create()
513 } else if (size > sizeof(struct cpumask)) { in hardwall_create()
[all …]
/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/powerpc/include/asm/
Dsmp.h97 static inline struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
102 static inline struct cpumask *cpu_core_mask(int cpu) in cpu_core_mask()
141 static inline const struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask()
191 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
/arch/x86/mm/
Dtlb.c133 void native_flush_tlb_others(const struct cpumask *cpumask, in native_flush_tlb_others() argument
147 cpumask = uv_flush_tlb_others(cpumask, mm, start, end, cpu); in native_flush_tlb_others()
148 if (cpumask) in native_flush_tlb_others()
149 smp_call_function_many(cpumask, flush_tlb_func, in native_flush_tlb_others()
153 smp_call_function_many(cpumask, flush_tlb_func, &info, 1); in native_flush_tlb_others()

12345678910