Home
last modified time | relevance | path

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

123

/Linux-v5.4/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)))
/Linux-v5.4/arch/s390/include/asm/
Dtopology.h78 #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/
Dtopology.h9 #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/
Dtopology.h18 #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/
Dtopology.h28 #define cpumask_of_node(node) ((node) == -1 ? \ macro
52 cpumask_of_node(pcibus_to_node(bus)))
/Linux-v5.4/arch/arm64/include/asm/
Dnuma.h23 const struct cpumask *cpumask_of_node(int node);
26 static inline const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
Dtopology.h13 cpumask_of_node(pcibus_to_node(bus)))
/Linux-v5.4/arch/sparc/include/asm/
Dtopology_64.h14 #define cpumask_of_node(node) ((node) == -1 ? \ macro
31 cpumask_of_node(pcibus_to_node(bus)))
/Linux-v5.4/arch/powerpc/include/asm/
Dtopology.h20 #define cpumask_of_node(node) ((node) == -1 ? \ macro
36 cpumask_of_node(pcibus_to_node(bus)))
/Linux-v5.4/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.h146 cpumask_of_node(node); in cpumask_of_pcibus()
/Linux-v5.4/include/linux/
Dtopology.h39 #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/
Dcpumask.c219 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()
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-v5.4/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c69 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/
Dtopology.h8 #define cpumask_of_node(node) (&__node_data[(node)]->cpumask) macro
/Linux-v5.4/arch/alpha/include/asm/
Dtopology.h29 static const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
/Linux-v5.4/drivers/hv/
Dchannel_mgmt.c691 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/
Dnuma.c47 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/
Dip27-nmi.c222 cpu = cpumask_first(cpumask_of_node(node)); in cont_nmi_dump()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-imc.c210 l_cpumask = cpumask_of_node(nid); in disable_nest_pmu_counters()
/Linux-v5.4/arch/x86/mm/
Dnuma.c862 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() function
880 EXPORT_SYMBOL(cpumask_of_node);
/Linux-v5.4/drivers/perf/
Dthunderx2_pmu.c579 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/
Darch_topology.c436 const cpumask_t *core_mask = cpumask_of_node(cpu_to_node(cpu)); in cpu_coregroup_mask()
/Linux-v5.4/arch/x86/kernel/apic/
Dvector.c278 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()

123