Symbol: bpf_res_spin_lock
include/linux/bpf.h
389
return sizeof(struct bpf_res_spin_lock);
include/linux/bpf.h
423
return __alignof__(struct bpf_res_spin_lock);
kernel/bpf/rqspinlock.c
693
__bpf_kfunc int bpf_res_spin_lock(struct bpf_res_spin_lock *lock)
kernel/bpf/rqspinlock.c
697
BUILD_BUG_ON(sizeof(rqspinlock_t) != sizeof(struct bpf_res_spin_lock));
kernel/bpf/rqspinlock.c
709
__bpf_kfunc void bpf_res_spin_unlock(struct bpf_res_spin_lock *lock)
kernel/bpf/rqspinlock.c
715
__bpf_kfunc int bpf_res_spin_lock_irqsave(struct bpf_res_spin_lock *lock, unsigned long *flags__irq_flag)
kernel/bpf/rqspinlock.c
734
__bpf_kfunc void bpf_res_spin_unlock_irqrestore(struct bpf_res_spin_lock *lock, unsigned long *flags__irq_flag)
kernel/bpf/rqspinlock.c
747
BTF_ID_FLAGS(func, bpf_res_spin_lock, KF_RET_NULL)
kernel/bpf/verifier.c
12340
BTF_ID(struct, bpf_res_spin_lock)
kernel/bpf/verifier.c
12621
BTF_ID(func, bpf_res_spin_lock)
tools/testing/selftests/bpf/progs/irq.c
14
struct bpf_res_spin_lock lockA __hidden SEC(".data.A");
tools/testing/selftests/bpf/progs/irq.c
15
struct bpf_res_spin_lock lockB __hidden SEC(".data.B");
tools/testing/selftests/bpf/progs/res_spin_lock.c
12
struct bpf_res_spin_lock lock;
tools/testing/selftests/bpf/progs/res_spin_lock.c
121
if (bpf_res_spin_lock(locks[i]))
tools/testing/selftests/bpf/progs/res_spin_lock.c
128
ret = bpf_res_spin_lock(locks[34]);
tools/testing/selftests/bpf/progs/res_spin_lock.c
22
struct bpf_res_spin_lock lockA __hidden SEC(".data.A");
tools/testing/selftests/bpf/progs/res_spin_lock.c
23
struct bpf_res_spin_lock lockB __hidden SEC(".data.B");
tools/testing/selftests/bpf/progs/res_spin_lock.c
38
r = bpf_res_spin_lock(&elem1->lock);
tools/testing/selftests/bpf/progs/res_spin_lock.c
41
r = bpf_res_spin_lock(&elem2->lock);
tools/testing/selftests/bpf/progs/res_spin_lock.c
56
r = bpf_res_spin_lock(&lockA);
tools/testing/selftests/bpf/progs/res_spin_lock.c
60
if (!bpf_res_spin_lock(&lockB))
tools/testing/selftests/bpf/progs/res_spin_lock.c
73
r = bpf_res_spin_lock(&lockB);
tools/testing/selftests/bpf/progs/res_spin_lock.c
76
if (!bpf_res_spin_lock(&lockA))
tools/testing/selftests/bpf/progs/res_spin_lock.c
87
struct bpf_res_spin_lock *locks[48] = {};
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
11
struct bpf_res_spin_lock lock;
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
110
if (bpf_res_spin_lock(&res_lock))
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
141
if (bpf_res_spin_lock(&res_lock))
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
143
if (bpf_res_spin_lock(&elem->lock)) {
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
174
struct bpf_res_spin_lock lock1 __hidden SEC(".data.OO1");
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
175
struct bpf_res_spin_lock lock2 __hidden SEC(".data.OO2");
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
181
if (bpf_res_spin_lock(&lock1))
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
183
if (bpf_res_spin_lock(&lock2)) {
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
201
bpf_res_spin_lock((void *)&elem->lock + 1);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
220
bpf_res_spin_lock((void *)&value + val);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
228
bpf_res_spin_lock((void *)&value + 1);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
24
struct bpf_res_spin_lock res_lock __hidden SEC(".data.B");
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
240
bpf_res_spin_lock((void *)p);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
35
bpf_res_spin_lock((struct bpf_res_spin_lock *)bpf_core_cast(&elem->lock, struct __sk_buff));
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
36
bpf_res_spin_lock(&elem->lock);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
49
bpf_res_spin_lock(&elem->lock);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
50
bpf_res_spin_lock(&elem->lock);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
63
if (bpf_res_spin_lock(&elem->lock))
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
65
bpf_res_spin_lock(&elem->lock);
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
78
if (bpf_res_spin_lock(&elem->lock))
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
93
if (bpf_res_spin_lock(&res_lock))
tools/testing/selftests/bpf/progs/stream.c
101
if (bpf_res_spin_lock(lock))
tools/testing/selftests/bpf/progs/stream.c
103
if (bpf_res_spin_lock(nlock)) {
tools/testing/selftests/bpf/progs/stream.c
11
struct bpf_res_spin_lock lock;
tools/testing/selftests/bpf/progs/stream.c
93
struct bpf_res_spin_lock *lock, *nlock;