bpf_res_spin_lock
return sizeof(struct bpf_res_spin_lock);
return __alignof__(struct bpf_res_spin_lock);
__bpf_kfunc int bpf_res_spin_lock(struct bpf_res_spin_lock *lock)
BUILD_BUG_ON(sizeof(rqspinlock_t) != sizeof(struct bpf_res_spin_lock));
__bpf_kfunc void bpf_res_spin_unlock(struct bpf_res_spin_lock *lock)
__bpf_kfunc int bpf_res_spin_lock_irqsave(struct bpf_res_spin_lock *lock, unsigned long *flags__irq_flag)
__bpf_kfunc void bpf_res_spin_unlock_irqrestore(struct bpf_res_spin_lock *lock, unsigned long *flags__irq_flag)
BTF_ID_FLAGS(func, bpf_res_spin_lock, KF_RET_NULL)
BTF_ID(struct, bpf_res_spin_lock)
BTF_ID(func, bpf_res_spin_lock)
struct bpf_res_spin_lock lockA __hidden SEC(".data.A");
struct bpf_res_spin_lock lockB __hidden SEC(".data.B");
struct bpf_res_spin_lock lock;
if (bpf_res_spin_lock(locks[i]))
ret = bpf_res_spin_lock(locks[34]);
struct bpf_res_spin_lock lockA __hidden SEC(".data.A");
struct bpf_res_spin_lock lockB __hidden SEC(".data.B");
r = bpf_res_spin_lock(&elem1->lock);
r = bpf_res_spin_lock(&elem2->lock);
r = bpf_res_spin_lock(&lockA);
if (!bpf_res_spin_lock(&lockB))
r = bpf_res_spin_lock(&lockB);
if (!bpf_res_spin_lock(&lockA))
struct bpf_res_spin_lock *locks[48] = {};
struct bpf_res_spin_lock lock;
if (bpf_res_spin_lock(&res_lock))
if (bpf_res_spin_lock(&res_lock))
if (bpf_res_spin_lock(&elem->lock)) {
struct bpf_res_spin_lock lock1 __hidden SEC(".data.OO1");
struct bpf_res_spin_lock lock2 __hidden SEC(".data.OO2");
if (bpf_res_spin_lock(&lock1))
if (bpf_res_spin_lock(&lock2)) {
bpf_res_spin_lock((void *)&elem->lock + 1);
bpf_res_spin_lock((void *)&value + val);
bpf_res_spin_lock((void *)&value + 1);
struct bpf_res_spin_lock res_lock __hidden SEC(".data.B");
bpf_res_spin_lock((void *)p);
bpf_res_spin_lock((struct bpf_res_spin_lock *)bpf_core_cast(&elem->lock, struct __sk_buff));
bpf_res_spin_lock(&elem->lock);
bpf_res_spin_lock(&elem->lock);
bpf_res_spin_lock(&elem->lock);
if (bpf_res_spin_lock(&elem->lock))
bpf_res_spin_lock(&elem->lock);
if (bpf_res_spin_lock(&elem->lock))
if (bpf_res_spin_lock(&res_lock))
if (bpf_res_spin_lock(lock))
if (bpf_res_spin_lock(nlock)) {
struct bpf_res_spin_lock lock;
struct bpf_res_spin_lock *lock, *nlock;