/kernel/linux/linux-5.10/include/linux/ |
H A D | cpumask.h | 220 const struct cpumask *src2p) { in cpumask_any_and_distribute() 221 return cpumask_next_and(-1, src1p, src2p); in cpumask_any_and_distribute() 276 const struct cpumask *src2p); 439 * cpumask_and - *dstp = *src1p & *src2p 442 * @src2p: the second input 448 const struct cpumask *src2p) in cpumask_and() 451 cpumask_bits(src2p), nr_cpumask_bits); in cpumask_and() 455 * cpumask_or - *dstp = *src1p | *src2p 458 * @src2p: the second input 461 const struct cpumask *src2p) in cpumask_or() 219 cpumask_any_and_distribute(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_any_and_distribute() argument 446 cpumask_and(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_and() argument 460 cpumask_or(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_or() 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 D | nodemask.h | 164 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() 166 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and() 172 const nodemask_t *src2p, unsigned int nbits) in __nodes_or() 174 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or() 180 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor() 182 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor() 188 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot() 190 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot() 204 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal() 206 return bitmap_equal(src1p->bits, src2p in __nodes_equal() 163 __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_and() argument 171 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_or() argument 179 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_xor() argument 187 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_andnot() argument 203 __nodes_equal(const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_equal() argument 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 D | netdevice.h | 3744 * netif_attrmask_next_and - get the next CPU/Rx queue in \*src1p & \*src2p 3747 * @src2p: the second CPUs/Rx queues mask pointer 3753 const unsigned long *src2p, in netif_attrmask_next_and() 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() 3764 else if (src2p) in netif_attrmask_next_and() 3765 return find_next_bit(src2p, nr_bits, n + 1); in netif_attrmask_next_and() 3752 netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits) netif_attrmask_next_and() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | cpumask.h | 259 const struct cpumask *src2p) in cpumask_any_and_distribute() 261 return cpumask_first_and(src1p, src2p); in cpumask_any_and_distribute() 271 const struct cpumask *src2p); 276 * cpumask_next_and - get the next cpu in *src1p & *src2p 279 * @src2p: the second cpumask pointer 285 const struct cpumask *src2p) in cpumask_next_and() 290 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and() 578 * cpumask_and - *dstp = *src1p & *src2p 581 * @src2p: the second input 587 const struct cpumask *src2p) in cpumask_and() 258 cpumask_any_and_distribute(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_any_and_distribute() argument 284 cpumask_next_and(int n, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_next_and() argument 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 D | nodemask.h | 165 const nodemask_t *src2p, unsigned int nbits) in __nodes_and() 167 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and() 173 const nodemask_t *src2p, unsigned int nbits) in __nodes_or() 175 bitmap_or(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_or() 181 const nodemask_t *src2p, unsigned int nbits) in __nodes_xor() 183 bitmap_xor(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_xor() 189 const nodemask_t *src2p, unsigned int nbits) in __nodes_andnot() 191 bitmap_andnot(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_andnot() 205 const nodemask_t *src2p, unsigned int nbits) in __nodes_equal() 207 return bitmap_equal(src1p->bits, src2p in __nodes_equal() 164 __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_and() argument 172 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_or() argument 180 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_xor() argument 188 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_andnot() argument 204 __nodes_equal(const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_equal() argument 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 D | netdevice.h | 3780 * netif_attrmask_next_and - get the next CPU/Rx queue in \*src1p & \*src2p 3783 * @src2p: the second CPUs/Rx queues mask pointer 3789 const unsigned long *src2p, in netif_attrmask_next_and() 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() 3800 else if (src2p) in netif_attrmask_next_and() 3801 return find_next_bit(src2p, nr_bits, n + 1); in netif_attrmask_next_and() 3788 netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits) netif_attrmask_next_and() argument
|
/kernel/linux/linux-5.10/lib/ |
H A D | cpumask.c | 27 * cpumask_next_and - get the next cpu in *src1p & *src2p 30 * @src2p: the second cpumask pointer 35 const struct cpumask *src2p) in cpumask_next_and() 40 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and() 247 const struct cpumask *src2p) in cpumask_any_and_distribute() 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() 34 cpumask_next_and(int n, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_next_and() argument 246 cpumask_any_and_distribute(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_any_and_distribute() argument
|
/kernel/linux/linux-6.6/lib/ |
H A D | cpumask.c | 161 * cpumask_any_and_distribute - Return an arbitrary cpu within src1p & src2p. 163 * @src2p: second &cpumask for intersection 171 const struct cpumask *src2p) in cpumask_any_and_distribute() 178 next = find_next_and_bit_wrap(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_any_and_distribute() 170 cpumask_any_and_distribute(const struct cpumask *src1p, const struct cpumask *src2p) cpumask_any_and_distribute() argument
|