Home
last modified time | relevance | path

Searched refs:node_states (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dnodemask.h390 enum node_states { enum
410 extern nodemask_t node_states[NR_NODE_STATES];
413 static inline int node_state(int node, enum node_states state) in node_state()
415 return node_isset(node, node_states[state]); in node_state()
418 static inline void node_set_state(int node, enum node_states state) in node_set_state()
420 __node_set(node, &node_states[state]); in node_set_state()
423 static inline void node_clear_state(int node, enum node_states state) in node_clear_state()
425 __node_clear(node, &node_states[state]); in node_clear_state()
428 static inline int num_node_state(enum node_states state) in num_node_state()
430 return nodes_weight(node_states[state]); in num_node_state()
[all …]
Dcpuset.h205 #define cpuset_current_mems_allowed (node_states[N_MEMORY])