Lines Matching refs:nbits
140 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() argument
142 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
146 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() argument
148 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
164 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() argument
166 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
172 const nodemask_t *src2p, unsigned int nbits) in __nodes_or() argument
174 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
180 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor() argument
182 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
188 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot() argument
190 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot()
196 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() argument
198 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
204 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal() argument
206 return bitmap_equal(src1p->bits, src2p->bits, nbits); in __nodes_equal()
212 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects() argument
214 return bitmap_intersects(src1p->bits, src2p->bits, nbits); in __nodes_intersects()
220 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset() argument
222 return bitmap_subset(src1p->bits, src2p->bits, nbits); in __nodes_subset()
226 static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument
228 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
232 static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument
234 return bitmap_full(srcp->bits, nbits); in __nodes_full()
238 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument
240 return bitmap_weight(srcp->bits, nbits); in __nodes_weight()
246 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() argument
248 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
254 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left() argument
256 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_left()
334 nodemask_t *dstp, int nbits) in __nodemask_parse_user() argument
336 return bitmap_parse_user(buf, len, dstp->bits, nbits); in __nodemask_parse_user()
340 static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) in __nodelist_parse() argument
342 return bitmap_parselist(buf, dstp->bits, nbits); in __nodelist_parse()
348 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument
350 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap()
356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument
358 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
364 const nodemask_t *relmapp, int nbits) in __nodes_onto() argument
366 bitmap_onto(dstp->bits, origp->bits, relmapp->bits, nbits); in __nodes_onto()
372 int sz, int nbits) in __nodes_fold() argument
374 bitmap_fold(dstp->bits, origp->bits, sz, nbits); in __nodes_fold()