/linux-6.1.9/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)))
|
D | numa.h | 21 const struct cpumask *cpumask_of_node(int node); 24 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
|
/linux-6.1.9/arch/s390/include/asm/ |
D | topology.h | 81 #define cpumask_of_node cpumask_of_node macro 82 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
|
/linux-6.1.9/lib/ |
D | cpumask.c | 136 cpu = cpumask_nth_and(i, cpu_online_mask, cpumask_of_node(node)); in cpumask_local_spread() 140 i -= cpumask_weight_and(cpu_online_mask, cpumask_of_node(node)); in cpumask_local_spread() 143 cpu = cpumask_nth_andnot(i, cpu_online_mask, 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-6.1.9/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-6.1.9/arch/mips/include/asm/mach-ip27/ |
D | topology.h | 17 #define cpumask_of_node(node) ((node) == -1 ? \ macro 23 #define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus)))
|
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/powerpc/include/asm/ |
D | topology.h | 21 #define cpumask_of_node(node) ((node) == -1 ? \ macro 37 cpumask_of_node(pcibus_to_node(bus)))
|
/linux-6.1.9/include/linux/ |
D | topology.h | 39 #define nr_cpus_node(node) cpumask_weight(cpumask_of_node(node)) 245 return cpumask_of_node(cpu_to_node(cpu)); in cpu_cpu_mask()
|
/linux-6.1.9/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 | 122 cpumask_of_node(node); in cpumask_of_pcibus()
|
/linux-6.1.9/arch/powerpc/platforms/cell/ |
D | spu_priv1_mmio.c | 68 const struct cpumask *spumask = cpumask_of_node(spu->node), in cpu_affinity_set() 69 *cpumask = cpumask_of_node(cpu_to_node(cpu)); in cpu_affinity_set()
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | pci.h | 26 cpumask_of_node(pcibus_to_node(bus)))
|
/linux-6.1.9/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 10 #define cpumask_of_node(node) (&__node_cpumask[node]) macro
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | topology.h | 13 cpumask_of_node(pcibus_to_node(bus)))
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | topology.h | 14 #define cpumask_of_node(node) (&cpus_on_node[node]) macro
|
/linux-6.1.9/drivers/nvdimm/ |
D | nd_perf.c | 157 cpumask = cpumask_of_node(nodeid); in nvdimm_pmu_cpu_offline() 233 cpumask = cpumask_of_node(nodeid); in nvdimm_pmu_cpu_hotplug_init()
|
/linux-6.1.9/drivers/base/ |
D | arch_numa.c | 46 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function 60 EXPORT_SYMBOL(cpumask_of_node);
|
/linux-6.1.9/arch/mips/sgi-ip27/ |
D | ip27-nmi.c | 217 cpu = cpumask_first(cpumask_of_node(node)); in cont_nmi_dump()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | acpi.c | 261 cpumask_set_cpu(cpu, cpumask_of_node(nid)); in acpi_map_cpu2node()
|
/linux-6.1.9/drivers/md/ |
D | dm-ps-io-affinity.c | 219 cpumask = cpumask_of_node(node); in ioa_select_path()
|
/linux-6.1.9/drivers/hwtracing/ptt/ |
D | hisi_ptt.c | 480 const cpumask_t *cpumask = cpumask_of_node(dev_to_node(&hisi_ptt->pdev->dev)); in cpumask_show() 812 if (!cpumask_test_cpu(cpu, cpumask_of_node(dev_to_node(&hisi_ptt->pdev->dev)))) in hisi_ptt_pmu_add() 999 target = cpumask_any_but(cpumask_of_node(dev_to_node(&hisi_ptt->pdev->dev)), cpu); in hisi_ptt_cpu_teardown()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | opal-imc.c | 191 l_cpumask = cpumask_of_node(nid); in disable_nest_pmu_counters()
|