Home
last modified time | relevance | path

Searched refs:src1p (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dcpumask.h219 static inline int cpumask_any_and_distribute(const struct cpumask *src1p, in cpumask_any_and_distribute() argument
221 return cpumask_next_and(-1, src1p, src2p); in cpumask_any_and_distribute()
275 int cpumask_any_and_distribute(const struct cpumask *src1p,
439 * cpumask_and - *dstp = *src1p & *src2p
441 * @src1p: the first input
447 const struct cpumask *src1p, in cpumask_and()
450 return bitmap_and(cpumask_bits(dstp), cpumask_bits(src1p), in cpumask_and()
455 * cpumask_or - *dstp = *src1p | *src2p
457 * @src1p: the first input
460 static inline void cpumask_or(struct cpumask *dstp, const struct cpumask *src1p, in cpumask_or() argument
446 cpumask_and(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_and() argument
473 cpumask_xor(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_xor() argument
489 cpumask_andnot(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_andnot() argument
514 cpumask_equal(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_equal() argument
527 cpumask_or_equal(const struct cpumask *src1p, const struct cpumask *src2p, const struct cpumask *src3p) cpumask_or_equal() argument
540 cpumask_intersects(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_intersects() argument
554 cpumask_subset(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_subset() argument
[all...]
H A Dnodemask.h163 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() argument
166 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
171 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or() argument
174 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
179 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor() argument
182 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
187 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot() argument
190 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot()
203 static inline bool __nodes_equal(const nodemask_t *src1p, in __nodes_equal() argument
206 return bitmap_equal(src1p in __nodes_equal()
211 __nodes_intersects(const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_intersects() argument
219 __nodes_subset(const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_subset() argument
[all...]
H A Dnetdevice.h3744 * netif_attrmask_next_and - get the next CPU/Rx queue in \*src1p & \*src2p
3746 * @src1p: the first CPUs/Rx queues mask pointer
3752 static inline int netif_attrmask_next_and(int n, const unsigned long *src1p, in netif_attrmask_next_and() argument
3760 if (src1p && src2p) in netif_attrmask_next_and()
3761 return find_next_and_bit(src1p, src2p, nr_bits, n + 1); in netif_attrmask_next_and()
3762 else if (src1p) in netif_attrmask_next_and()
3763 return find_next_bit(src1p, nr_bits, n + 1); in netif_attrmask_next_and()
/kernel/linux/linux-6.6/include/linux/
H A Dcpumask.h258 static inline unsigned int cpumask_any_and_distribute(const struct cpumask *src1p, in cpumask_any_and_distribute() argument
261 return cpumask_first_and(src1p, src2p); in cpumask_any_and_distribute()
270 unsigned int cpumask_any_and_distribute(const struct cpumask *src1p,
276 * cpumask_next_and - get the next cpu in *src1p & *src2p
278 * @src1p: the first cpumask pointer
284 unsigned int cpumask_next_and(int n, const struct cpumask *src1p, in cpumask_next_and() argument
290 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and()
578 * cpumask_and - *dstp = *src1p & *src2p
580 * @src1p: the first input
586 const struct cpumask *src1p, in cpumask_and()
585 cpumask_and(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_and() argument
599 cpumask_or(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_or() argument
612 cpumask_xor(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_xor() argument
628 cpumask_andnot(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_andnot() argument
653 cpumask_equal(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_equal() argument
666 cpumask_or_equal(const struct cpumask *src1p, const struct cpumask *src2p, const struct cpumask *src3p) cpumask_or_equal() argument
679 cpumask_intersects(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_intersects() argument
693 cpumask_subset(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_subset() argument
[all...]
H A Dnodemask.h164 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() argument
167 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
172 static inline void __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_or() argument
175 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or()
180 static inline void __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_xor() argument
183 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor()
188 static inline void __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_andnot() argument
191 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot()
204 static inline bool __nodes_equal(const nodemask_t *src1p, in __nodes_equal() argument
207 return bitmap_equal(src1p in __nodes_equal()
212 __nodes_intersects(const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_intersects() argument
220 __nodes_subset(const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_subset() argument
[all...]
H A Dnetdevice.h3780 * netif_attrmask_next_and - get the next CPU/Rx queue in \*src1p & \*src2p
3782 * @src1p: the first CPUs/Rx queues mask pointer
3788 static inline int netif_attrmask_next_and(int n, const unsigned long *src1p, in netif_attrmask_next_and() argument
3796 if (src1p && src2p) in netif_attrmask_next_and()
3797 return find_next_and_bit(src1p, src2p, nr_bits, n + 1); in netif_attrmask_next_and()
3798 else if (src1p) in netif_attrmask_next_and()
3799 return find_next_bit(src1p, nr_bits, n + 1); in netif_attrmask_next_and()
/kernel/linux/linux-5.10/lib/
H A Dcpumask.c27 * cpumask_next_and - get the next cpu in *src1p & *src2p
29 * @src1p: the first cpumask pointer
34 int cpumask_next_and(int n, const struct cpumask *src1p, in cpumask_next_and() argument
40 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and()
246 int cpumask_any_and_distribute(const struct cpumask *src1p, in cpumask_any_and_distribute() argument
254 next = cpumask_next_and(prev, src1p, src2p); in cpumask_any_and_distribute()
256 next = cpumask_first_and(src1p, src2p); in cpumask_any_and_distribute()
/kernel/linux/linux-6.6/lib/
H A Dcpumask.c161 * cpumask_any_and_distribute - Return an arbitrary cpu within src1p & src2p.
162 * @src1p: first &cpumask for intersection
170 unsigned int cpumask_any_and_distribute(const struct cpumask *src1p, in cpumask_any_and_distribute() argument
178 next = find_next_and_bit_wrap(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_any_and_distribute()

Completed in 30 milliseconds