Lines Matching defs:node

124 #define node_set(node, dst) __node_set((node), &(dst))  argument
125 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set()
130 #define node_clear(node, dst) __node_clear((node), &(dst)) argument
131 static __always_inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear()
149 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument
151 #define node_test_and_set(node, nodemask) \ argument
153 static __always_inline bool __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set()
267 static __always_inline unsigned int __next_node_in(int node, const nodemask_t *srcp) in __next_node_in()
276 static __always_inline void init_nodemask_of_node(nodemask_t *mask, int node) in init_nodemask_of_node()
282 #define nodemask_of_node(node) \ argument
372 #define for_each_node_mask(node, mask) \ argument
377 #define for_each_node_mask(node, mask) \ argument
407 static __always_inline int node_state(int node, enum node_states state) in node_state()
412 static __always_inline void node_set_state(int node, enum node_states state) in node_set_state()
417 static __always_inline void node_clear_state(int node, enum node_states state) in node_clear_state()
458 static __always_inline int node_state(int node, enum node_states state) in node_state()
463 static __always_inline void node_set_state(int node, enum node_states state) in node_set_state()
467 static __always_inline void node_clear_state(int node, enum node_states state) in node_clear_state()
476 #define for_each_node_state(node, __state) \ argument
486 #define node_set_online(node) node_set_state((node), N_ONLINE) argument
487 #define node_set_offline(node) node_clear_state((node), N_ONLINE) argument
494 int node = find_random_bit(maskp->bits, MAX_NUMNODES); in node_random() local
507 #define node_online(node) node_state((node), N_ONLINE) argument
508 #define node_possible(node) node_state((node), N_POSSIBLE) argument
510 #define for_each_node(node) for_each_node_state(node, N_POSSIBLE) argument
511 #define for_each_online_node(node) for_each_node_state(node, N_ONLINE) argument
512 #define for_each_node_with_cpus(node) for_each_node_state(node, N_CPU) argument