Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
topology.h File Reference

Go to the source code of this file.

Macros

#define cpu_to_node(cpu)   ((void)(cpu),0)
 
#define set_numa_node(node)
 
#define set_cpu_numa_node(cpu, node)
 
#define cpu_to_mem(cpu)   ((void)(cpu),0)
 
#define parent_node(node)   ((void)(node),0)
 
#define cpumask_of_node(node)   ((void)node, cpu_online_mask)
 
#define pcibus_to_node(bus)   ((void)(bus), -1)
 
#define cpumask_of_pcibus(bus)
 
#define set_numa_mem(node)
 
#define set_cpu_numa_mem(cpu, node)
 

Macro Definition Documentation

#define cpu_to_mem (   cpu)    ((void)(cpu),0)

Definition at line 44 of file topology.h.

#define cpu_to_node (   cpu)    ((void)(cpu),0)

Definition at line 35 of file topology.h.

#define cpumask_of_node (   node)    ((void)node, cpu_online_mask)

Definition at line 51 of file topology.h.

#define cpumask_of_pcibus (   bus)
Value:
(pcibus_to_node(bus) == -1 ? \
cpu_all_mask : \
cpumask_of_node(pcibus_to_node(bus)))

Definition at line 58 of file topology.h.

#define parent_node (   node)    ((void)(node),0)

Definition at line 48 of file topology.h.

#define pcibus_to_node (   bus)    ((void)(bus), -1)

Definition at line 54 of file topology.h.

#define set_cpu_numa_mem (   cpu,
  node 
)

Definition at line 71 of file topology.h.

#define set_cpu_numa_node (   cpu,
  node 
)

Definition at line 41 of file topology.h.

#define set_numa_mem (   node)

Definition at line 68 of file topology.h.

#define set_numa_node (   node)

Definition at line 38 of file topology.h.