Searched refs:cpumask (Results 176 - 200 of 781) sorted by relevance

1234567891011>>

/linux-master/lib/
H A Dnmi_backtrace.c16 #include <linux/cpumask.h>
/linux-master/arch/x86/include/asm/
H A Dtlbflush.h196 * - flush_tlb_multi(cpumask, info) flushes TLBs on multiple cpus
230 void flush_tlb_multi(const struct cpumask *cpumask,
285 cpumask_or(&batch->cpumask, &batch->cpumask, mm_cpumask(mm));
H A Dhw_irq.h78 const struct cpumask *mask;
H A Dcpu.h70 extern struct cpumask cpus_stop_mask;
H A Dapic.h5 #include <linux/cpumask.h>
282 void (*send_IPI_mask)(const struct cpumask *mask, int vector);
283 void (*send_IPI_mask_allbutself)(const struct cpumask *msk, int vec);
325 void (*send_IPI_mask)(const struct cpumask *mask, int vector);
326 void (*send_IPI_mask_allbutself)(const struct cpumask *msk, int vec);
437 static __always_inline void __apic_send_IPI_mask(const struct cpumask *mask, int vector)
442 static __always_inline void __apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector)
/linux-master/kernel/
H A Dup.c44 void *info, bool wait, const struct cpumask *mask)
/linux-master/arch/x86/kernel/
H A Ditmt.c20 #include <linux/cpumask.h>
/linux-master/mm/
H A Dinit-mm.c7 #include <linux/cpumask.h>
23 * For dynamically allocated mm_structs, there is a dynamically sized cpumask
/linux-master/arch/x86/kernel/apic/
H A Dbigsmp_32.c7 #include <linux/cpumask.h>
/linux-master/arch/csky/kernel/
H A Dsmp.c76 static void (*send_arch_ipi)(const struct cpumask *mask);
79 void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq)
89 send_ipi_message(const struct cpumask *to_whom, enum ipi_message_type operation)
123 void arch_send_call_function_ipi_mask(struct cpumask *mask)
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_arena_alloc.h14 #define NR_CPUS (sizeof(struct cpumask) * 8)
/linux-master/samples/trace_events/
H A Dtrace-events-sample.h211 * To assign a cpumask, use the __assign_cpumask() helper macro.
293 const char *string, const struct cpumask *mask,
573 __rel_cpumask( cpumask )
581 __assign_rel_cpumask(cpumask, cpus);
586 __get_rel_cpumask(cpumask))
/linux-master/include/asm-generic/
H A Dmshyperv.h25 #include <linux/cpumask.h>
237 const struct cpumask *cpus,
276 * Convert a Linux cpumask into a Hyper-V VPset. In the _skip variant,
277 * 'func' is called for each CPU present in cpumask. If 'func' returns
278 * true, that CPU is skipped -- i.e., that CPU from cpumask is *not*
283 const struct cpumask *cpus)
289 const struct cpumask *cpus,
/linux-master/arch/x86/hyperv/
H A Dhv_apic.c107 static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector,
129 * Use HV_GENERIC_SET_ALL and avoid converting cpumask to VP_SET
139 * 'nr_bank <= 0' means some CPUs in cpumask can't be
157 static bool __send_ipi_mask(const struct cpumask *mask, int vector,
260 static void hv_send_ipi_mask(const struct cpumask *mask, int vector)
266 static void hv_send_ipi_mask_allbutself(const struct cpumask *mask, int vector)
/linux-master/kernel/irq/
H A Dinternals.h143 const struct cpumask *dest, bool force);
424 irq_copy_pending(struct irq_desc *desc, const struct cpumask *mask)
429 irq_get_pending(struct cpumask *mask, struct irq_desc *desc)
433 static inline struct cpumask *irq_desc_get_pending_mask(struct irq_desc *desc)
452 irq_copy_pending(struct irq_desc *desc, const struct cpumask *mask)
456 irq_get_pending(struct cpumask *mask, struct irq_desc *desc)
459 static inline struct cpumask *irq_desc_get_pending_mask(struct irq_desc *desc)
H A Dmanage.c209 const struct cpumask *m = irq_data_get_effective_affinity_mask(data);
221 int irq_do_set_affinity(struct irq_data *data, const struct cpumask *mask,
226 const struct cpumask *prog_mask;
230 static struct cpumask tmp_mask;
257 const struct cpumask *hk_mask;
301 const struct cpumask *dest)
311 const struct cpumask *dest)
318 const struct cpumask *dest, bool force)
333 const struct cpumask *mask)
356 int irq_set_affinity_locked(struct irq_data *data, const struct cpumask *mas
482 irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) argument
499 irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) argument
526 cpumask_var_t cpumask; local
[all...]
H A Dmatrix.c136 const struct cpumask *msk)
157 const struct cpumask *msk)
216 int irq_matrix_reserve_managed(struct irq_matrix *m, const struct cpumask *msk)
257 void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)
292 int irq_matrix_alloc_managed(struct irq_matrix *m, const struct cpumask *msk,
383 int irq_matrix_alloc(struct irq_matrix *m, const struct cpumask *msk,
391 * for_each_cpu() which ignores the cpumask on UP .
/linux-master/arch/arm/kernel/
H A Dsmp.c544 static void smp_cross_call(const struct cpumask *target, unsigned int ipinr);
563 void arch_send_call_function_ipi_mask(const struct cpumask *mask)
568 void arch_send_wakeup_ipi_mask(const struct cpumask *mask)
587 void tick_broadcast(const struct cpumask *mask)
706 static void smp_cross_call(const struct cpumask *target, unsigned int ipinr)
755 struct cpumask mask;
797 struct cpumask *cpus = freq->policy->cpus;
/linux-master/drivers/clocksource/
H A Ddw_apb_timer.c127 cpumask_first(evt->cpumask));
141 cpumask_first(evt->cpumask));
174 cpumask_first(evt->cpumask));
198 cpumask_first(evt->cpumask));
261 dw_ced->ced.cpumask = cpu < 0 ? cpu_possible_mask : cpumask_of(cpu);
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1018 static struct isst_perf_level_cpu_mask cpumask; local
1022 if (copy_from_user(&cpumask, argp, sizeof(cpumask)))
1025 power_domain_info = get_instance(cpumask.socket_id, cpumask.power_domain_id);
1029 _read_pp_level_info("mask", mask, cpumask.level, SST_PP_INFO_2_OFFSET,
1033 cpumask.mask = mask;
1035 if (!cpumask.punit_cpu_map)
1038 if (copy_to_user(argp, &cpumask, sizeof(cpumask)))
1099 static struct isst_perf_level_cpu_mask cpumask; local
[all...]
/linux-master/drivers/base/
H A Darch_topology.c18 #include <linux/cpumask.h>
28 static struct cpumask scale_freq_counters_mask;
33 static bool supports_scale_freq_counters(const struct cpumask *cpus)
62 const struct cpumask *cpus)
93 const struct cpumask *cpus)
132 void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq,
171 * cpumask should include all (online+offline) affected CPUs, to avoid
179 void topology_update_thermal_pressure(const struct cpumask *cpus,
727 const struct cpumask *cpu_coregroup_mask(int cpu)
754 const struct cpumask *cpu_clustergroup_mas
[all...]
/linux-master/kernel/time/
H A Dclockevents.c450 if (!dev->cpumask) {
452 dev->cpumask = cpumask_of(smp_processor_id());
455 if (dev->cpumask == cpu_all_mask) {
456 WARN(1, "%s cpumask == cpu_all_mask, using cpu_possible_mask instead\n",
458 dev->cpumask = cpu_possible_mask;
650 if (cpumask_test_cpu(cpu, dev->cpumask) &&
651 cpumask_weight(dev->cpumask) == 1 &&
/linux-master/drivers/thermal/intel/
H A Dx86_pkg_temp_thermal.c56 struct cpumask cpumask; member in struct:zone_device
355 cpumask_set_cpu(cpu, &zonedev->cpumask);
378 target = cpumask_any_but(&zonedev->cpumask, cpu);
379 cpumask_clear_cpu(cpu, &zonedev->cpumask);
467 cpumask_set_cpu(cpu, &zonedev->cpumask);
/linux-master/drivers/opp/
H A Dof.c1262 * dev_pm_opp_of_cpumask_remove_table() - Removes OPP table for @cpumask
1263 * @cpumask: cpumask for which OPP table needs to be removed
1265 * This removes the OPP tables for CPUs present in the @cpumask.
1268 void dev_pm_opp_of_cpumask_remove_table(const struct cpumask *cpumask) argument
1270 _dev_pm_opp_cpumask_remove_table(cpumask, -1);
1275 * dev_pm_opp_of_cpumask_add_table() - Adds OPP table for @cpumask
1276 * @cpumask: cpumask fo
1280 dev_pm_opp_of_cpumask_add_table(const struct cpumask *cpumask) argument
1337 dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) argument
[all...]
/linux-master/drivers/cpuidle/
H A Dcpuidle-qcom-spm.c117 data->cpuidle_driver.cpumask = (struct cpumask *)cpumask_of(cpu);

Completed in 246 milliseconds

1234567891011>>