Lines Matching refs:nbits

141 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits)  in __nodes_setall()  argument
143 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
147 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() argument
149 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
165 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() argument
167 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
173 const nodemask_t *src2p, unsigned int nbits) in __nodes_or() argument
175 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
181 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor() argument
183 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
189 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot() argument
191 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot()
197 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() argument
199 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
205 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal() argument
207 return bitmap_equal(src1p->bits, src2p->bits, nbits); in __nodes_equal()
213 const nodemask_t *src2p, unsigned int nbits) in __nodes_intersects() argument
215 return bitmap_intersects(src1p->bits, src2p->bits, nbits); in __nodes_intersects()
221 const nodemask_t *src2p, unsigned int nbits) in __nodes_subset() argument
223 return bitmap_subset(src1p->bits, src2p->bits, nbits); in __nodes_subset()
227 static inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument
229 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
233 static inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument
235 return bitmap_full(srcp->bits, nbits); in __nodes_full()
239 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument
241 return bitmap_weight(srcp->bits, nbits); in __nodes_weight()
247 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() argument
249 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
255 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left() argument
257 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_left()
342 nodemask_t *dstp, int nbits) in __nodemask_parse_user() argument
344 return bitmap_parse_user(buf, len, dstp->bits, nbits); in __nodemask_parse_user()
348 static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) in __nodelist_parse() argument
350 return bitmap_parselist(buf, dstp->bits, nbits); in __nodelist_parse()
356 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument
358 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap()
364 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument
366 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
372 const nodemask_t *relmapp, int nbits) in __nodes_onto() argument
374 bitmap_onto(dstp->bits, origp->bits, relmapp->bits, nbits); in __nodes_onto()
380 int sz, int nbits) in __nodes_fold() argument
382 bitmap_fold(dstp->bits, origp->bits, sz, nbits); in __nodes_fold()