Lines Matching refs:nodemask_t
95 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
96 extern nodemask_t _unused_nodemask_arg_;
116 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set()
122 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear()
128 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall()
134 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear()
144 static inline int __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set()
151 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and()
152 const nodemask_t *src2p, unsigned int nbits) in __nodes_and()
159 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or()
160 const nodemask_t *src2p, unsigned int nbits) in __nodes_or()
167 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor()
168 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor()
175 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot()
176 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot()
183 static inline void __nodes_complement(nodemask_t *dstp, in __nodes_complement()
184 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement()
191 static inline int __nodes_equal(const nodemask_t *src1p, in __nodes_equal()
192 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal()
199 static inline int __nodes_intersects(const nodemask_t *src1p, in __nodes_intersects()
200 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects()
207 static inline int __nodes_subset(const nodemask_t *src1p, in __nodes_subset()
208 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset()
214 static inline int __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty()
220 static inline int __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full()
226 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight()
233 static inline void __nodes_shift_right(nodemask_t *dstp, in __nodes_shift_right()
234 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right()
241 static inline void __nodes_shift_left(nodemask_t *dstp, in __nodes_shift_left()
242 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left()
251 static inline int __first_node(const nodemask_t *srcp) in __first_node()
257 static inline int __next_node(int n, const nodemask_t *srcp) in __next_node()
262 static inline void init_nodemask_of_node(nodemask_t *mask, int node) in init_nodemask_of_node()
280 static inline int __first_unset_node(const nodemask_t *maskp) in __first_unset_node()
291 ((nodemask_t) { { \
298 ((nodemask_t) { { \
306 ((nodemask_t) { { \
315 nodemask_t *dstp, int nbits) in __nodemask_parse_user()
321 static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) in __nodelist_parse()
329 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap()
336 static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap()
337 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap()
344 static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, in __nodes_onto()
345 const nodemask_t *relmapp, int nbits) in __nodes_onto()
352 static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, in __nodes_fold()
395 extern nodemask_t node_states[NR_NODE_STATES];
482 extern int node_random(const nodemask_t *maskp);
484 static inline int node_random(const nodemask_t *mask) in node_random()
517 nodemask_t mask1;
518 nodemask_t mask2;