/linux-master/kernel/ |
H A D | up.c | 44 void *info, bool wait, const struct cpumask *mask)
|
/linux-master/arch/x86/kernel/ |
H A D | itmt.c | 20 #include <linux/cpumask.h>
|
/linux-master/mm/ |
H A D | init-mm.c | 7 #include <linux/cpumask.h> 23 * For dynamically allocated mm_structs, there is a dynamically sized cpumask
|
/linux-master/arch/x86/kernel/apic/ |
H A D | bigsmp_32.c | 7 #include <linux/cpumask.h>
|
/linux-master/arch/csky/kernel/ |
H A D | smp.c | 76 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/arch/x86/include/asm/ |
H A D | hw_irq.h | 78 const struct cpumask *mask;
|
H A D | cpu.h | 70 extern struct cpumask cpus_stop_mask;
|
H A D | apic.h | 5 #include <linux/cpumask.h> 283 void (*send_IPI_mask)(const struct cpumask *mask, int vector); 284 void (*send_IPI_mask_allbutself)(const struct cpumask *msk, int vec); 326 void (*send_IPI_mask)(const struct cpumask *mask, int vector); 327 void (*send_IPI_mask_allbutself)(const struct cpumask *msk, int vec); 438 static __always_inline void __apic_send_IPI_mask(const struct cpumask *mask, int vector) 443 static __always_inline void __apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector)
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_arena_alloc.h | 14 #define NR_CPUS (sizeof(struct cpumask) * 8)
|
/linux-master/include/asm-generic/ |
H A D | mshyperv.h | 25 #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 D | hv_apic.c | 107 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/drivers/irqchip/ |
H A D | irq-riscv-imsic-state.h | 97 struct imsic_vector *imsic_vector_alloc(unsigned int hwirq, const struct cpumask *mask);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | netdev.h | 89 struct cpumask *cpu_mask);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | verifier_kfunc_prog_types.c | 89 * cpumask kfuncs * 102 bpf_cpumask_test_cpu(0, (const struct cpumask *)ref);
|
/linux-master/drivers/thermal/ |
H A D | thermal_trace.h | 116 TP_PROTO(const struct cpumask *cpus, unsigned int freq, 122 __bitmask(cpumask, num_possible_cpus()) 129 __assign_bitmask(cpumask, cpumask_bits(cpus), 137 __get_bitmask(cpumask), __entry->freq, __entry->cdev_state,
|
/linux-master/samples/trace_events/ |
H A D | trace-events-sample.h | 212 * To assign a cpumask, use the __assign_cpumask() helper macro. 294 const char *string, const struct cpumask *mask, 574 __rel_cpumask( cpumask ) 582 __assign_rel_cpumask(cpumask, cpus); 587 __get_rel_cpumask(cpumask))
|
/linux-master/arch/arm/kernel/ |
H A D | smp.c | 544 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/kernel/irq/ |
H A D | manage.c | 209 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 D | matrix.c | 136 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/drivers/clocksource/ |
H A D | dw_apb_timer.c | 127 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 D | isst_tpmi_core.c | 1181 static struct isst_perf_level_cpu_mask cpumask; local 1185 if (copy_from_user(&cpumask, argp, sizeof(cpumask))) 1188 power_domain_info = get_instance(cpumask.socket_id, cpumask.power_domain_id); 1192 _read_pp_level_info("mask", mask, cpumask.level, SST_PP_INFO_2_OFFSET, 1196 cpumask.mask = mask; 1198 if (!cpumask.punit_cpu_map) 1201 if (copy_to_user(argp, &cpumask, sizeof(cpumask))) 1262 static struct isst_perf_level_cpu_mask cpumask; local [all...] |
/linux-master/drivers/base/ |
H A D | arch_topology.c | 18 #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_hw_pressure(const struct cpumask *cpus, 727 const struct cpumask *cpu_coregroup_mask(int cpu) 754 const struct cpumask *cpu_clustergroup_mas [all...] |
/linux-master/drivers/thermal/intel/ |
H A D | x86_pkg_temp_thermal.c | 56 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/kernel/time/ |
H A D | clockevents.c | 450 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/opp/ |
H A D | of.c | 1262 * 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...] |