Home
last modified time | relevance | path

Searched refs:bpf_spin_lock (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_spin_lock.c9 struct bpf_spin_lock lock;
21 struct bpf_spin_lock lock;
32 struct bpf_spin_lock lock;
69 bpf_spin_lock(&val->lock); in bpf_sping_lock_test()
83 bpf_spin_lock(&q->lock); in bpf_sping_lock_test()
94 bpf_spin_lock(&cls->lock); in bpf_sping_lock_test()
Dlocal_storage.c23 struct bpf_spin_lock lock;
61 bpf_spin_lock(&storage->lock); in BPF_PROG()
92 bpf_spin_lock(&storage->lock); in BPF_PROG()
120 bpf_spin_lock(&storage->lock); in BPF_PROG()
147 bpf_spin_lock(&storage->lock); in BPF_PROG()
170 bpf_spin_lock(&storage->lock); in BPF_PROG()
180 bpf_spin_lock(&storage->lock); in BPF_PROG()
Dtest_map_lock.c10 struct bpf_spin_lock lock;
22 struct bpf_spin_lock lock;
45 bpf_spin_lock(&val->lock); in bpf_map_lock_test()
54 bpf_spin_lock(&q->lock); in bpf_map_lock_test()
Dfreplace_attach_probe.c12 struct bpf_spin_lock lock;
33 bpf_spin_lock(&val->lock); in new_handle_kprobe()
Dtest_sock_fields.c26 struct bpf_spin_lock lock;
209 bpf_spin_lock(&pkt_out_cnt10->lock); in egress_read_sock_fields()
Dtimer.c13 struct bpf_spin_lock lock; /* unused */
/Linux-v5.15/kernel/bpf/
Dhelpers.c248 static inline void __bpf_spin_lock(struct bpf_spin_lock *lock) in __bpf_spin_lock()
262 static inline void __bpf_spin_unlock(struct bpf_spin_lock *lock) in __bpf_spin_unlock()
271 static inline void __bpf_spin_lock(struct bpf_spin_lock *lock) in __bpf_spin_lock()
281 static inline void __bpf_spin_unlock(struct bpf_spin_lock *lock) in __bpf_spin_unlock()
292 static inline void __bpf_spin_lock_irqsave(struct bpf_spin_lock *lock) in __bpf_spin_lock_irqsave()
301 notrace BPF_CALL_1(bpf_spin_lock, struct bpf_spin_lock *, lock) in BPF_CALL_1() argument
308 .func = bpf_spin_lock,
314 static inline void __bpf_spin_unlock_irqrestore(struct bpf_spin_lock *lock) in __bpf_spin_unlock_irqrestore()
323 notrace BPF_CALL_1(bpf_spin_unlock, struct bpf_spin_lock *, lock) in BPF_CALL_1() argument
339 struct bpf_spin_lock *lock; in copy_map_value_locked()
[all …]
Dbtf.c3124 sizeof(struct bpf_spin_lock), in btf_find_spin_lock()
3125 __alignof__(struct bpf_spin_lock)); in btf_find_spin_lock()
Dsyscall.c790 if (map->spin_lock_off + sizeof(struct bpf_spin_lock) > in map_check_btf()
Dverifier.c3271 if (reg->smin_value + off < lock + sizeof(struct bpf_spin_lock) && in check_map_access()
/Linux-v5.15/samples/bpf/
Dhbm.h12 struct bpf_spin_lock lock;
Dhbm_edt_kern.c92 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()
Dhbm_out_kern.c94 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dtest_local_storage.c34 struct bpf_spin_lock lock;
Dsock_fields.c28 struct bpf_spin_lock lock;
/Linux-v5.15/Documentation/bpf/
Dmap_cgroup_storage.rst51 ``struct bpf_spin_lock`` to synchronize the storage. See
/Linux-v5.15/include/linux/
Dbpf.h209 *(struct bpf_spin_lock *)(dst + map->spin_lock_off) = in check_and_init_map_value()
210 (struct bpf_spin_lock){}; in check_and_init_map_value()
223 s_sz = sizeof(struct bpf_spin_lock); in copy_map_value()
/Linux-v5.15/include/uapi/linux/
Dbpf.h6180 struct bpf_spin_lock { struct
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h6180 struct bpf_spin_lock { struct