Searched refs:bpf_cpumask (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | cpumask_common.h | 13 private(MASK) static struct bpf_cpumask __kptr * global_mask; 16 struct bpf_cpumask __kptr * cpumask; 26 struct bpf_cpumask *bpf_cpumask_create(void) __ksym; 27 void bpf_cpumask_release(struct bpf_cpumask *cpumask) __ksym; 28 struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) __ksym; 33 void bpf_cpumask_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; 34 void bpf_cpumask_clear_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; 36 bool bpf_cpumask_test_and_set_cpu(u32 cpu, struct bpf_cpumask *cpumask) __ksym; 37 bool bpf_cpumask_test_and_clear_cpu(u32 cpu, struct bpf_cpumask *cpumas [all...] |
H A D | cpumask_success.c | 22 static bool create_cpumask_set(struct bpf_cpumask **out1, in create_cpumask_set() 23 struct bpf_cpumask **out2, in create_cpumask_set() 24 struct bpf_cpumask **out3, in create_cpumask_set() 25 struct bpf_cpumask **out4) in create_cpumask_set() 27 struct bpf_cpumask *mask1, *mask2, *mask3, *mask4; in create_cpumask_set() 68 struct bpf_cpumask *cpumask; in BPF_PROG() 84 struct bpf_cpumask *cpumask; in BPF_PROG() 113 struct bpf_cpumask *cpumask; in BPF_PROG() 142 struct bpf_cpumask *cpumask; in BPF_PROG() 181 struct bpf_cpumask *mask in BPF_PROG() [all...] |
H A D | cpumask_failure.c | 23 struct bpf_cpumask *cpumask; in BPF_PROG() 36 struct bpf_cpumask *cpumask; in BPF_PROG() 51 struct bpf_cpumask *cpumask; in BPF_PROG() 53 /* Can't acquire a non-struct bpf_cpumask. */ in BPF_PROG() 54 cpumask = bpf_cpumask_acquire((struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG() 61 __failure __msg("bpf_cpumask_set_cpu args#1 expected pointer to STRUCT bpf_cpumask") 64 struct bpf_cpumask *cpumask; in BPF_PROG() 66 /* Can't set the CPU of a non-struct bpf_cpumask. */ in BPF_PROG() 67 bpf_cpumask_set_cpu(0, (struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG() 77 struct bpf_cpumask *cpumas in BPF_PROG() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | cpumask.c | 10 * struct bpf_cpumask - refcounted BPF cpumask wrapper structure 25 struct bpf_cpumask { struct 51 __bpf_kfunc struct bpf_cpumask *bpf_cpumask_create(void) in bpf_cpumask_create() 53 struct bpf_cpumask *cpumask; in bpf_cpumask_create() 55 /* cpumask must be the first element so struct bpf_cpumask be cast to struct cpumask. */ in bpf_cpumask_create() 56 BUILD_BUG_ON(offsetof(struct bpf_cpumask, cpumask) != 0); in bpf_cpumask_create() 77 __bpf_kfunc struct bpf_cpumask *bpf_cpumask_acquire(struct bpf_cpumask *cpumask) in bpf_cpumask_acquire() 91 __bpf_kfunc void bpf_cpumask_release(struct bpf_cpumask *cpumask) in bpf_cpumask_release() 105 * Find the index of the first nonzero bit of the cpumask. A struct bpf_cpumask [all...] |
H A D | verifier.c | 5318 BTF_ID(struct, bpf_cpumask) 10857 * struct bpf_cpumask { in process_kf_arg_ptr_to_btf_id() 10864 * bpf_cpumask * to a kfunc expecting a struct cpumask *. in process_kf_arg_ptr_to_btf_id()
|
Completed in 25 milliseconds