Lines Matching refs:nodemask_t
98 typedef struct { DECLARE_BITMAP(bits, MAX_NUMNODES); } nodemask_t; typedef
99 extern nodemask_t _unused_nodemask_arg_;
109 static inline unsigned int __nodemask_pr_numnodes(const nodemask_t *m) in __nodemask_pr_numnodes()
113 static inline const unsigned long *__nodemask_pr_bits(const nodemask_t *m) in __nodemask_pr_bits()
128 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set()
134 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear()
140 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall()
146 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear()
156 static inline int __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set()
163 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and()
164 const nodemask_t *src2p, unsigned int nbits) in __nodes_and()
171 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or()
172 const nodemask_t *src2p, unsigned int nbits) in __nodes_or()
179 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor()
180 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor()
187 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot()
188 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot()
195 static inline void __nodes_complement(nodemask_t *dstp, in __nodes_complement()
196 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement()
203 static inline int __nodes_equal(const nodemask_t *src1p, in __nodes_equal()
204 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal()
211 static inline int __nodes_intersects(const nodemask_t *src1p, in __nodes_intersects()
212 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects()
219 static inline int __nodes_subset(const nodemask_t *src1p, in __nodes_subset()
220 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset()
226 static inline int __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty()
232 static inline int __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full()
238 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight()
245 static inline void __nodes_shift_right(nodemask_t *dstp, in __nodes_shift_right()
246 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right()
253 static inline void __nodes_shift_left(nodemask_t *dstp, in __nodes_shift_left()
254 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left()
263 static inline int __first_node(const nodemask_t *srcp) in __first_node()
269 static inline int __next_node(int n, const nodemask_t *srcp) in __next_node()
279 int __next_node_in(int node, const nodemask_t *srcp);
281 static inline void init_nodemask_of_node(nodemask_t *mask, int node) in init_nodemask_of_node()
299 static inline int __first_unset_node(const nodemask_t *maskp) in __first_unset_node()
310 ((nodemask_t) { { \
317 ((nodemask_t) { { \
325 ((nodemask_t) { { \
334 nodemask_t *dstp, int nbits) in __nodemask_parse_user()
340 static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) in __nodelist_parse()
348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap()
355 static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap()
356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap()
363 static inline void __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, in __nodes_onto()
364 const nodemask_t *relmapp, int nbits) in __nodes_onto()
371 static inline void __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, in __nodes_fold()
410 extern nodemask_t node_states[NR_NODE_STATES];
497 extern int node_random(const nodemask_t *maskp);
499 static inline int node_random(const nodemask_t *mask) in node_random()
532 nodemask_t mask1;
533 nodemask_t mask2;