Lines Matching defs:bpf_spin_lock
14 struct bpf_spin_lock;
2366 * bpf_spin_lock
2377 * * **bpf_spin_lock** objects are only allowed inside maps of
2383 * * Only one **struct bpf_spin_lock** is allowed per map element.
2390 * * The BPF program can access **struct bpf_spin_lock** only via
2391 * the **bpf_spin_lock**\ () and **bpf_spin_unlock**\ ()
2393 * bpf_spin_lock** *lock*\ **;** field of a map is not allowed.
2394 * * To use the **bpf_spin_lock**\ () helper, the BTF description
2396 * bpf_spin_lock** *anyname*\ **;** field at the top level.
2398 * * The **struct bpf_spin_lock** *lock* field in a map value must
2401 * the **bpf_spin_lock** field to user space.
2403 * a BPF program, do not update the **bpf_spin_lock** field.
2404 * * **bpf_spin_lock** cannot be on the stack or inside a
2406 * * **bpf_spin_lock** is available to root only.
2408 * **bpf_spin_lock**\ () due to insufficient preemption checks
2410 * * **bpf_spin_lock** is not allowed in inner maps of map-in-map.
2415 static long (*bpf_spin_lock)(struct bpf_spin_lock *lock) = (void *) 93;
2421 * **bpf_spin_lock**\ (\ *lock*\ ).
2426 static long (*bpf_spin_unlock)(struct bpf_spin_lock *lock) = (void *) 94;