Home
last modified time | relevance | path

Searched refs:bpf_cpumask (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcpumask_common.h13 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;
40 bool bpf_cpumask_and(struct bpf_cpumask *cpumask,
43 void bpf_cpumask_or(struct bpf_cpumask *cpumask,
46 void bpf_cpumask_xor(struct bpf_cpumask *cpumask,
66 static inline struct bpf_cpumask *create_cpumask(void) in create_cpumask()
68 struct bpf_cpumask *cpumask; in create_cpumask()
[all …]
H A Dcpumask_failure.c23 struct bpf_cpumask *cpumask; in BPF_PROG()
36 struct bpf_cpumask *cpumask; in BPF_PROG()
51 struct bpf_cpumask *cpumask; in BPF_PROG()
54 cpumask = bpf_cpumask_acquire((struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG()
64 struct bpf_cpumask *cpumask; in BPF_PROG()
67 bpf_cpumask_set_cpu(0, (struct bpf_cpumask *)task->cpus_ptr); in BPF_PROG()
77 struct bpf_cpumask *cpumask; in BPF_PROG()
111 struct bpf_cpumask *local, *prev; in BPF_PROG()
145 struct bpf_cpumask *local, *prev; in BPF_PROG()
173 struct bpf_cpumask *prev, *curr; in BPF_PROG()
H A Dcpumask_success.c23 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()
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 *mask1, *mask2; in BPF_PROG()
213 struct bpf_cpumask *cpumask; in BPF_PROG()
388 struct bpf_cpumask *cpumask; in BPF_PROG()
[all …]
/openbmc/linux/kernel/bpf/
H A Dcpumask.c25 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()
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()
232 __bpf_kfunc void bpf_cpumask_clear(struct bpf_cpumask *cpumask) in bpf_cpumask_clear()
249 __bpf_kfunc bool bpf_cpumask_and(struct bpf_cpumask *dst, in bpf_cpumask_and()
264 __bpf_kfunc void bpf_cpumask_or(struct bpf_cpumask *dst, in bpf_cpumask_or()
279 __bpf_kfunc void bpf_cpumask_xor(struct bpf_cpumask *dst, in bpf_cpumask_xor()
[all …]
H A Dverifier.c5322 BTF_ID(struct, bpf_cpumask) in BTF_ID()
/openbmc/linux/Documentation/bpf/
H A Dcpumasks.rst26 2.1 ``struct bpf_cpumask *``
34 2.1.1 ``struct bpf_cpumask *`` lifecycle
54 struct bpf_cpumask __kptr * cpumask;
68 struct bpf_cpumask *old;
98 struct bpf_cpumask *cpumask;
114 2.1.1 ``struct bpf_cpumask *`` as kptrs
126 struct bpf_cpumask __kptr * bpf_cpumask;
141 * struct bpf_cpumask * kptr that is stored in a map can
147 struct bpf_cpumask *kptr;
211 a CPU in a ``struct bpf_cpumask`` respectively:
[all …]
H A Dkfuncs.rst357 struct bpf_cpumask {
362 The verifier would allow a ``struct bpf_cpumask *`` to be passed to a kfunc