Lines Matching refs:mask2
27 struct bpf_cpumask *mask1, *mask2, *mask3, *mask4; in create_cpumask_set() local
33 mask2 = create_cpumask(); in create_cpumask_set()
34 if (!mask2) { in create_cpumask_set()
43 bpf_cpumask_release(mask2); in create_cpumask_set()
51 bpf_cpumask_release(mask2); in create_cpumask_set()
58 *out2 = mask2; in create_cpumask_set()
181 struct bpf_cpumask *mask1, *mask2; in BPF_PROG() local
191 mask2 = create_cpumask(); in BPF_PROG()
192 if (!mask2) in BPF_PROG()
196 bpf_cpumask_set_cpu(1, mask2); in BPF_PROG()
198 first = bpf_cpumask_first_and(cast(mask1), cast(mask2)); in BPF_PROG()
205 if (mask2) in BPF_PROG()
206 bpf_cpumask_release(mask2); in BPF_PROG()
245 struct bpf_cpumask *mask1, *mask2, *dst1, *dst2; in BPF_PROG() local
250 if (!create_cpumask_set(&mask1, &mask2, &dst1, &dst2)) in BPF_PROG()
254 bpf_cpumask_set_cpu(1, mask2); in BPF_PROG()
256 if (bpf_cpumask_and(dst1, cast(mask1), cast(mask2))) { in BPF_PROG()
265 bpf_cpumask_or(dst1, cast(mask1), cast(mask2)); in BPF_PROG()
275 bpf_cpumask_xor(dst2, cast(mask1), cast(mask2)); in BPF_PROG()
283 bpf_cpumask_release(mask2); in BPF_PROG()
292 struct bpf_cpumask *mask1, *mask2, *dst1, *dst2; in BPF_PROG() local
297 if (!create_cpumask_set(&mask1, &mask2, &dst1, &dst2)) in BPF_PROG()
301 bpf_cpumask_set_cpu(1, mask2); in BPF_PROG()
302 if (bpf_cpumask_intersects(cast(mask1), cast(mask2))) { in BPF_PROG()
307 bpf_cpumask_or(dst1, cast(mask1), cast(mask2)); in BPF_PROG()
313 if (!bpf_cpumask_subset(cast(mask2), cast(dst1))) { in BPF_PROG()
325 bpf_cpumask_release(mask2); in BPF_PROG()
334 struct bpf_cpumask *mask1, *mask2, *dst1, *dst2; in BPF_PROG() local
340 if (!create_cpumask_set(&mask1, &mask2, &dst1, &dst2)) in BPF_PROG()
344 bpf_cpumask_set_cpu(1, mask2); in BPF_PROG()
345 bpf_cpumask_or(dst1, cast(mask1), cast(mask2)); in BPF_PROG()
371 cpu = bpf_cpumask_any_and_distribute(cast(mask1), cast(mask2)); in BPF_PROG()
379 bpf_cpumask_release(mask2); in BPF_PROG()
467 struct bpf_cpumask *mask1, *mask2; in BPF_PROG() local
470 mask2 = bpf_cpumask_create(); in BPF_PROG()
472 if (!mask1 || !mask2) in BPF_PROG()
476 bpf_cpumask_test_cpu(0, (const struct cpumask *)mask2); in BPF_PROG()
481 if (mask2) in BPF_PROG()
482 bpf_cpumask_release(mask2); in BPF_PROG()