Lines Matching refs:nbits
104 static inline void __cpus_setall(cpumask_t *dstp, int nbits)
106 bitmap_fill(dstp->bits, nbits);
110 static inline void __cpus_clear(cpumask_t *dstp, int nbits)
112 bitmap_zero(dstp->bits, nbits);
126 const cpumask_t *src2p, int nbits)
128 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits);
133 const cpumask_t *src2p, int nbits)
135 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits);
140 const cpumask_t *src2p, int nbits)
142 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits);
148 const cpumask_t *src2p, int nbits)
150 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits);
155 const cpumask_t *srcp, int nbits)
157 bitmap_complement(dstp->bits, srcp->bits, nbits);
162 const cpumask_t *src2p, int nbits)
164 return bitmap_equal(src1p->bits, src2p->bits, nbits);
169 const cpumask_t *src2p, int nbits)
171 return bitmap_intersects(src1p->bits, src2p->bits, nbits);
176 const cpumask_t *src2p, int nbits)
178 return bitmap_subset(src1p->bits, src2p->bits, nbits);
182 static inline int __cpus_empty(const cpumask_t *srcp, int nbits)
184 return bitmap_empty(srcp->bits, nbits);
188 static inline int __cpus_full(const cpumask_t *srcp, int nbits)
190 return bitmap_full(srcp->bits, nbits);
194 static inline int __cpus_weight(const cpumask_t *srcp, int nbits)
196 return bitmap_weight(srcp->bits, nbits);
202 const cpumask_t *srcp, int n, int nbits)
204 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits);
210 const cpumask_t *srcp, int n, int nbits)
212 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits);
271 const cpumask_t *srcp, int nbits)
273 return bitmap_scnprintf(buf, len, srcp->bits, nbits);
279 cpumask_t *dstp, int nbits)
281 return bitmap_parse(buf, len, dstp->bits, nbits);
287 const cpumask_t *srcp, int nbits)
289 return bitmap_scnlistprintf(buf, len, srcp->bits, nbits);
293 static inline int __cpulist_parse(const char *buf, cpumask_t *dstp, int nbits)
295 return bitmap_parselist(buf, dstp->bits, nbits);
301 const cpumask_t *oldp, const cpumask_t *newp, int nbits)
303 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits);
309 const cpumask_t *oldp, const cpumask_t *newp, int nbits)
311 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits);