Searched refs:node_states (Results 1 – 2 of 2) sorted by relevance
381 enum node_states { enum404 extern nodemask_t node_states[NR_NODE_STATES];407 static inline int node_state(int node, enum node_states state) in node_state()409 return node_isset(node, node_states[state]); in node_state()412 static inline void node_set_state(int node, enum node_states state) in node_set_state()414 __node_set(node, &node_states[state]); in node_set_state()417 static inline void node_clear_state(int node, enum node_states state) in node_clear_state()419 __node_clear(node, &node_states[state]); in node_clear_state()422 static inline int num_node_state(enum node_states state) in num_node_state()424 return nodes_weight(node_states[state]); in num_node_state()[all …]
197 #define cpuset_current_mems_allowed (node_states[N_MEMORY])