Lines Matching defs:bpf_spin_lock
3706 * long bpf_spin_lock(struct bpf_spin_lock *lock)
3717 * * **bpf_spin_lock** objects are only allowed inside maps of
3723 * * Only one **struct bpf_spin_lock** is allowed per map element.
3730 * * The BPF program can access **struct bpf_spin_lock** only via
3731 * the **bpf_spin_lock**\ () and **bpf_spin_unlock**\ ()
3733 * bpf_spin_lock** *lock*\ **;** field of a map is not allowed.
3734 * * To use the **bpf_spin_lock**\ () helper, the BTF description
3736 * bpf_spin_lock** *anyname*\ **;** field at the top level.
3738 * * The **struct bpf_spin_lock** *lock* field in a map value must
3741 * the **bpf_spin_lock** field to user space.
3743 * a BPF program, do not update the **bpf_spin_lock** field.
3744 * * **bpf_spin_lock** cannot be on the stack or inside a
3746 * * **bpf_spin_lock** is available to root only.
3748 * **bpf_spin_lock**\ () due to insufficient preemption checks
3750 * * **bpf_spin_lock** is not allowed in inner maps of map-in-map.
3754 * long bpf_spin_unlock(struct bpf_spin_lock *lock)
3757 * **bpf_spin_lock**\ (\ *lock*\ ).
7155 struct bpf_spin_lock {