/Linux-v5.4/include/asm-generic/ |
D | topology.h | 47 #ifndef cpumask_of_node 49 #define cpumask_of_node(node) ((node) == 0 ? cpu_online_mask : cpu_none_mask) macro 51 #define cpumask_of_node(node) ((void)node, cpu_online_mask) macro 61 cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/s390/include/asm/ |
D | topology.h | 78 #define cpumask_of_node cpumask_of_node macro 79 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
|
/Linux-v5.4/arch/sh/include/asm/ |
D | topology.h | 9 #define cpumask_of_node(node) ((void)node, cpu_online_mask) macro 14 cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/mips/include/asm/mach-ip27/ |
D | topology.h | 18 #define cpumask_of_node(node) ((node) == -1 ? \ macro 24 #define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | topology.h | 28 #define cpumask_of_node(node) ((node) == -1 ? \ macro 52 cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | numa.h | 23 const struct cpumask *cpumask_of_node(int node); 26 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
|
D | topology.h | 13 cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | topology_64.h | 14 #define cpumask_of_node(node) ((node) == -1 ? \ macro 31 cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | topology.h | 20 #define cpumask_of_node(node) ((node) == -1 ? \ macro 36 cpumask_of_node(pcibus_to_node(bus)))
|
/Linux-v5.4/arch/x86/include/asm/ |
D | topology.h | 67 extern const struct cpumask *cpumask_of_node(int node); 70 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
|
D | pci.h | 146 cpumask_of_node(node); in cpumask_of_pcibus()
|
/Linux-v5.4/include/linux/ |
D | topology.h | 39 #define nr_cpus_node(node) cpumask_weight(cpumask_of_node(node)) 227 return cpumask_of_node(cpu_to_node(cpu)); in cpu_cpu_mask()
|
/Linux-v5.4/lib/ |
D | cpumask.c | 219 for_each_cpu_and(cpu, cpumask_of_node(node), cpu_online_mask) in cpumask_local_spread() 225 if (cpumask_test_cpu(cpu, cpumask_of_node(node))) in cpumask_local_spread()
|
D | cpu_rmap.c | 183 cpumask_of_node(cpu_to_node(cpu))); in cpu_rmap_update() 197 cpumask_of_node(cpu_to_node(cpu)), 3)) in cpu_rmap_update()
|
/Linux-v5.4/arch/powerpc/platforms/cell/ |
D | spu_priv1_mmio.c | 69 const struct cpumask *spumask = cpumask_of_node(spu->node), in cpu_affinity_set() 70 *cpumask = cpumask_of_node(cpu_to_node(cpu)); in cpu_affinity_set()
|
/Linux-v5.4/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 8 #define cpumask_of_node(node) (&__node_data[(node)]->cpumask) macro
|
/Linux-v5.4/arch/alpha/include/asm/ |
D | topology.h | 29 static const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
|
/Linux-v5.4/drivers/hv/ |
D | channel_mgmt.c | 691 if (cpumask_empty(cpumask_of_node(next_node))) in init_vp_index() 701 cpumask_weight(cpumask_of_node(primary->numa_node))) { in init_vp_index() 710 cpumask_of_node(primary->numa_node)); in init_vp_index() 722 cpumask_of_node(primary->numa_node))) in init_vp_index() 731 cpumask_of_node(primary->numa_node)); in init_vp_index()
|
/Linux-v5.4/arch/arm64/mm/ |
D | numa.c | 47 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function 57 EXPORT_SYMBOL(cpumask_of_node);
|
/Linux-v5.4/arch/mips/sgi-ip27/ |
D | ip27-nmi.c | 222 cpu = cpumask_first(cpumask_of_node(node)); in cont_nmi_dump()
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-imc.c | 210 l_cpumask = cpumask_of_node(nid); in disable_nest_pmu_counters()
|
/Linux-v5.4/arch/x86/mm/ |
D | numa.c | 862 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function 880 EXPORT_SYMBOL(cpumask_of_node);
|
/Linux-v5.4/drivers/perf/ |
D | thunderx2_pmu.c | 579 cpu = cpumask_any_and(cpumask_of_node(tx2_pmu->node), in tx2_uncore_pmu_add_dev() 751 cpumask_of_node(tx2_pmu->node), in tx2_uncore_pmu_offline_cpu()
|
/Linux-v5.4/drivers/base/ |
D | arch_topology.c | 436 const cpumask_t *core_mask = cpumask_of_node(cpu_to_node(cpu)); in cpu_coregroup_mask()
|
/Linux-v5.4/arch/x86/kernel/apic/ |
D | vector.c | 278 cpumask_and(vector_searchmask, cpumask_of_node(node), affmsk); in assign_irq_vector_any_locked() 282 if (!assign_vector_locked(irqd, cpumask_of_node(node))) in assign_irq_vector_any_locked()
|