• Home
  • Raw
  • Download

Lines Matching refs:nbits

114 static inline void __nodes_setall(nodemask_t *dstp, int nbits)  in __nodes_setall()  argument
116 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
120 static inline void __nodes_clear(nodemask_t *dstp, int nbits) in __nodes_clear() argument
122 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
138 const nodemask_t *src2p, int nbits) in __nodes_and() argument
140 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
146 const nodemask_t *src2p, int nbits) in __nodes_or() argument
148 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
154 const nodemask_t *src2p, int nbits) in __nodes_xor() argument
156 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
162 const nodemask_t *src2p, int nbits) in __nodes_andnot() argument
164 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot()
170 const nodemask_t *srcp, int nbits) in __nodes_complement() argument
172 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
178 const nodemask_t *src2p, int nbits) in __nodes_equal() argument
180 return bitmap_equal(src1p->bits, src2p->bits, nbits); in __nodes_equal()
186 const nodemask_t *src2p, int nbits) in __nodes_intersects() argument
188 return bitmap_intersects(src1p->bits, src2p->bits, nbits); in __nodes_intersects()
194 const nodemask_t *src2p, int nbits) in __nodes_subset() argument
196 return bitmap_subset(src1p->bits, src2p->bits, nbits); in __nodes_subset()
200 static inline int __nodes_empty(const nodemask_t *srcp, int nbits) in __nodes_empty() argument
202 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
206 static inline int __nodes_full(const nodemask_t *srcp, int nbits) in __nodes_full() argument
208 return bitmap_full(srcp->bits, nbits); in __nodes_full()
212 static inline int __nodes_weight(const nodemask_t *srcp, int nbits) in __nodes_weight() argument
214 return bitmap_weight(srcp->bits, nbits); in __nodes_weight()
220 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() argument
222 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
228 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left() argument
230 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_left()
301 const nodemask_t *srcp, int nbits) in __nodemask_scnprintf() argument
303 return bitmap_scnprintf(buf, len, srcp->bits, nbits); in __nodemask_scnprintf()
309 nodemask_t *dstp, int nbits) in __nodemask_parse_user() argument
311 return bitmap_parse_user(buf, len, dstp->bits, nbits); in __nodemask_parse_user()
317 const nodemask_t *srcp, int nbits) in __nodelist_scnprintf() argument
319 return bitmap_scnlistprintf(buf, len, srcp->bits, nbits); in __nodelist_scnprintf()
323 static inline int __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) in __nodelist_parse() argument
325 return bitmap_parselist(buf, dstp->bits, nbits); in __nodelist_parse()
331 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __node_remap() argument
333 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap()
339 const nodemask_t *oldp, const nodemask_t *newp, int nbits) in __nodes_remap() argument
341 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()
347 const nodemask_t *relmapp, int nbits) in __nodes_onto() argument
349 bitmap_onto(dstp->bits, origp->bits, relmapp->bits, nbits); in __nodes_onto()
355 int sz, int nbits) in __nodes_fold() argument
357 bitmap_fold(dstp->bits, origp->bits, sz, nbits); in __nodes_fold()