Lines Matching refs:srcp

195 					const nodemask_t *srcp, unsigned int nbits)  in __nodes_copy()  argument
197 bitmap_copy(dstp->bits, srcp->bits, nbits); in __nodes_copy()
203 const nodemask_t *srcp, unsigned int nbits) in __nodes_complement() argument
205 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement()
233 static __always_inline bool __nodes_empty(const nodemask_t *srcp, unsigned int nbits) in __nodes_empty() argument
235 return bitmap_empty(srcp->bits, nbits); in __nodes_empty()
239 static __always_inline bool __nodes_full(const nodemask_t *srcp, unsigned int nbits) in __nodes_full() argument
241 return bitmap_full(srcp->bits, nbits); in __nodes_full()
245 static __always_inline int __nodes_weight(const nodemask_t *srcp, unsigned int nbits) in __nodes_weight() argument
247 return bitmap_weight(srcp->bits, nbits); in __nodes_weight()
253 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_right() argument
255 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right()
261 const nodemask_t *srcp, int n, int nbits) in __nodes_shift_left() argument
263 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_left()
270 static __always_inline unsigned int __first_node(const nodemask_t *srcp) in __first_node() argument
272 return min_t(unsigned int, MAX_NUMNODES, find_first_bit(srcp->bits, MAX_NUMNODES)); in __first_node()
276 static __always_inline unsigned int __next_node(int n, const nodemask_t *srcp) in __next_node() argument
278 return min_t(unsigned int, MAX_NUMNODES, find_next_bit(srcp->bits, MAX_NUMNODES, n+1)); in __next_node()
286 static __always_inline unsigned int __next_node_in(int node, const nodemask_t *srcp) in __next_node_in() argument
288 unsigned int ret = __next_node(node, srcp); in __next_node_in()
291 ret = __first_node(srcp); in __next_node_in()
369 static __always_inline void __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, in __nodes_remap() argument
372 bitmap_remap(dstp->bits, srcp->bits, oldp->bits, newp->bits, nbits); in __nodes_remap()