Lines Matching refs:nodemask_t
99 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
100 extern nodemask_t _unused_nodemask_arg_;
110 static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes()
114 static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) in __nodemask_pr_bits()
129 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set()
135 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear()
141 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall()
147 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear()
157 static inline bool __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set()
164 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and()
165 const nodemask_t *src2p, unsigned int nbits) in __nodes_and()
172 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or()
173 const nodemask_t *src2p, unsigned int nbits) in __nodes_or()
180 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor()
181 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor()
188 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot()
189 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot()
196 static inline void __nodes_complement(nodemask_t *dstp, in __nodes_complement()
197 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement()
204 static inline bool __nodes_equal(const nodemask_t *src1p, in __nodes_equal()
205 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal()
212 static inline bool __nodes_intersects(const nodemask_t *src1p, in __nodes_intersects()
213 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects()
220 static inline bool __nodes_subset(const nodemask_t *src1p, in __nodes_subset()
221 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset()
227 static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty()
233 static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full()
239 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight()
246 static inline void __nodes_shift_right(nodemask_t *dstp, in __nodes_shift_right()
247 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right()
254 static inline void __nodes_shift_left(nodemask_t *dstp, in __nodes_shift_left()
255 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left()
264 static inline unsigned int __first_node(const nodemask_t *srcp) in __first_node()
270 static inline unsigned int __next_node(int n, const nodemask_t *srcp) in __next_node()
280 static inline unsigned int __next_node_in(int node, const nodemask_t *srcp) in __next_node_in()
289 static inline void init_nodemask_of_node(nodemask_t *mask, int node) in init_nodemask_of_node()
307 static inline unsigned int __first_unset_node(const nodemask_t *maskp) in __first_unset_node()
318 ((nodemask_t) { { \
325 ((nodemask_t) { { \
333 ((nodemask_t) { { \
342 nodemask_t *dstp, int nbits) in __nodemask_parse_user()
348 static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) in __nodelist_parse()
356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap()
363 static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap()
364 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap()
371 static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, in __nodes_onto()
372 const nodemask_t *relmapp, int nbits) in __nodes_onto()
379 static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, in __nodes_fold()
418 extern nodemask_t node_states[NR_NODE_STATES];
505 static inline int node_random(const nodemask_t *maskp) in node_random()
555 nodemask_t mask1;
556 nodemask_t mask2;