Home
last modified time | relevance | path

Searched refs:cpu_to_node (Results 1 – 5 of 5) sorted by relevance

/include/linux/
Dtopology.h93 #ifndef cpu_to_node
94 static inline int cpu_to_node(int cpu) in cpu_to_node() function
120 return cpu_to_node(raw_smp_processor_id()); in numa_node_id()
177 return cpu_to_node(cpu); in cpu_to_mem()
211 return cpumask_of_node(cpu_to_node(cpu)); in cpu_cpu_mask()
Dmm.h1457 return cpu_to_node(cpupid_to_cpu(cpupid)); in cpupid_to_nid()
/include/asm-generic/
Dtopology.h34 #ifndef cpu_to_node
35 #define cpu_to_node(cpu) ((void)(cpu),0) macro
/include/trace/events/
Dsched.h621 __entry->src_nid = cpu_to_node(src_cpu);
623 __entry->dst_nid = cpu_to_node(dst_cpu);
657 __entry->src_nid = cpu_to_node(src_cpu);
662 __entry->dst_nid = dst_cpu >= 0 ? cpu_to_node(dst_cpu) : -1;
/include/linux/sched/
Dtopology.h280 return cpu_to_node(task_cpu(p)); in task_node()