Lines Matching refs:srcp
184 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() argument
186 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
214 static inline int __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument
216 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
220 static inline int __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument
222 return bitmap_full(srcp->bits, nbits); in __nodes_full()
226 static inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument
228 return bitmap_weight(srcp->bits, nbits); in __nodes_weight()
234 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() argument
236 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
242 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left() argument
244 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_left()
251 static inline int __first_node(const nodemask_t *srcp) in __first_node() argument
253 return min_t(int, MAX_NUMNODES, find_first_bit(srcp->bits, MAX_NUMNODES)); in __first_node()
257 static inline int __next_node(int n, const nodemask_t *srcp) in __next_node() argument
259 return min_t(int,MAX_NUMNODES,find_next_bit(srcp->bits, MAX_NUMNODES, n+1)); in __next_node()
336 static inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap() argument
339 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()