Lines Matching refs:mask1

27 	struct bpf_cpumask *mask1, *mask2, *mask3, *mask4;  in create_cpumask_set()  local
29 mask1 = create_cpumask(); in create_cpumask_set()
30 if (!mask1) in create_cpumask_set()
35 bpf_cpumask_release(mask1); in create_cpumask_set()
42 bpf_cpumask_release(mask1); in create_cpumask_set()
50 bpf_cpumask_release(mask1); in create_cpumask_set()
57 *out1 = mask1; in create_cpumask_set()
181 struct bpf_cpumask *mask1, *mask2; in BPF_PROG() local
187 mask1 = create_cpumask(); in BPF_PROG()
188 if (!mask1) in BPF_PROG()
195 bpf_cpumask_set_cpu(0, mask1); in BPF_PROG()
198 first = bpf_cpumask_first_and(cast(mask1), cast(mask2)); in BPF_PROG()
203 if (mask1) in BPF_PROG()
204 bpf_cpumask_release(mask1); 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()
253 bpf_cpumask_set_cpu(0, mask1); 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()
282 bpf_cpumask_release(mask1); 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()
300 bpf_cpumask_set_cpu(0, mask1); 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()
308 if (!bpf_cpumask_subset(cast(mask1), cast(dst1))) { in BPF_PROG()
318 if (bpf_cpumask_subset(cast(dst1), cast(mask1))) { in BPF_PROG()
324 bpf_cpumask_release(mask1); 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()
343 bpf_cpumask_set_cpu(0, mask1); in BPF_PROG()
345 bpf_cpumask_or(dst1, cast(mask1), cast(mask2)); in BPF_PROG()
347 cpu = bpf_cpumask_any_distribute(cast(mask1)); in BPF_PROG()
371 cpu = bpf_cpumask_any_and_distribute(cast(mask1), cast(mask2)); in BPF_PROG()
378 bpf_cpumask_release(mask1); in BPF_PROG()
467 struct bpf_cpumask *mask1, *mask2; in BPF_PROG() local
469 mask1 = bpf_cpumask_create(); in BPF_PROG()
472 if (!mask1 || !mask2) in BPF_PROG()
475 bpf_cpumask_test_cpu(0, (const struct cpumask *)mask1); in BPF_PROG()
479 if (mask1) in BPF_PROG()
480 bpf_cpumask_release(mask1); in BPF_PROG()