Lines Matching refs:node
42 #define nr_cpus_node(node) cpumask_weight(cpumask_of_node(node)) argument
45 #define for_each_node_with_cpus(node) \ argument
46 for_each_online_node(node) \
47 if (nr_cpus_node(node))
197 static inline void set_numa_node(int node) in set_numa_node() argument
199 this_cpu_write(numa_node, node); in set_numa_node()
204 static inline void set_cpu_numa_node(int cpu, int node) in set_cpu_numa_node() argument
206 per_cpu(numa_node, cpu) = node; in set_cpu_numa_node()
232 static inline void set_numa_mem(int node) in set_numa_mem() argument
234 this_cpu_write(_numa_mem_, node); in set_numa_mem()
254 static inline void set_cpu_numa_mem(int cpu, int node) in set_cpu_numa_mem() argument
256 per_cpu(_numa_mem_, cpu) = node; in set_cpu_numa_mem()