Lines Matching defs:bpf_spin_lock
3811 * long bpf_spin_lock(struct bpf_spin_lock *lock)
3822 * * **bpf_spin_lock** objects are only allowed inside maps of
3828 * * Only one **struct bpf_spin_lock** is allowed per map element.
3835 * * The BPF program can access **struct bpf_spin_lock** only via
3836 * the **bpf_spin_lock**\ () and **bpf_spin_unlock**\ ()
3838 * bpf_spin_lock** *lock*\ **;** field of a map is not allowed.
3839 * * To use the **bpf_spin_lock**\ () helper, the BTF description
3841 * bpf_spin_lock** *anyname*\ **;** field at the top level.
3843 * * The **struct bpf_spin_lock** *lock* field in a map value must
3846 * the **bpf_spin_lock** field to user space.
3848 * a BPF program, do not update the **bpf_spin_lock** field.
3849 * * **bpf_spin_lock** cannot be on the stack or inside a
3851 * * **bpf_spin_lock** is available to root only.
3853 * **bpf_spin_lock**\ () due to insufficient preemption checks
3855 * * **bpf_spin_lock** is not allowed in inner maps of map-in-map.
3859 * long bpf_spin_unlock(struct bpf_spin_lock *lock)
3862 * **bpf_spin_lock**\ (\ *lock*\ ).
7278 struct bpf_spin_lock {