Home
last modified time | relevance | path

Searched refs:cpumask_of_node (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.1.9/include/asm-generic/
Dtopology.h47 #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)))
Dnuma.h21 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/
Dtopology.h81 #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/
Dcpumask.c136 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()
Dcpu_rmap.c183 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/
Dtopology.h9 #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/
Dtopology.h17 #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/
Dtopology.h28 #define cpumask_of_node(node) ((node) == -1 ? \ macro
52 cpumask_of_node(pcibus_to_node(bus)))
/linux-6.1.9/arch/sparc/include/asm/
Dtopology_64.h14 #define cpumask_of_node(node) ((node) == -1 ? \ macro
31 cpumask_of_node(pcibus_to_node(bus)))
/linux-6.1.9/arch/powerpc/include/asm/
Dtopology.h21 #define cpumask_of_node(node) ((node) == -1 ? \ macro
37 cpumask_of_node(pcibus_to_node(bus)))
/linux-6.1.9/include/linux/
Dtopology.h39 #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/
Dtopology.h67 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
Dpci.h122 cpumask_of_node(node); in cpumask_of_pcibus()
/linux-6.1.9/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c68 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/
Dpci.h26 cpumask_of_node(pcibus_to_node(bus)))
/linux-6.1.9/arch/mips/include/asm/mach-loongson64/
Dtopology.h10 #define cpumask_of_node(node) (&__node_cpumask[node]) macro
/linux-6.1.9/arch/arm64/include/asm/
Dtopology.h13 cpumask_of_node(pcibus_to_node(bus)))
/linux-6.1.9/arch/loongarch/include/asm/
Dtopology.h14 #define cpumask_of_node(node) (&cpus_on_node[node]) macro
/linux-6.1.9/drivers/nvdimm/
Dnd_perf.c157 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/
Darch_numa.c46 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/
Dip27-nmi.c217 cpu = cpumask_first(cpumask_of_node(node)); in cont_nmi_dump()
/linux-6.1.9/arch/loongarch/kernel/
Dacpi.c261 cpumask_set_cpu(cpu, cpumask_of_node(nid)); in acpi_map_cpu2node()
/linux-6.1.9/drivers/md/
Ddm-ps-io-affinity.c219 cpumask = cpumask_of_node(node); in ioa_select_path()
/linux-6.1.9/drivers/hwtracing/ptt/
Dhisi_ptt.c480 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/
Dopal-imc.c191 l_cpumask = cpumask_of_node(nid); in disable_nest_pmu_counters()

123