Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A 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()
A 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()
A 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()
A Dfreplace_attach_probe.c12 struct bpf_spin_lock lock;
33 bpf_spin_lock(&val->lock); in new_handle_kprobe()
A Dtest_helper_restricted.c11 struct bpf_spin_lock l;
54 bpf_spin_lock(&lock->l); in spin_lock_work()
A Dtest_sock_fields.c26 struct bpf_spin_lock lock;
209 bpf_spin_lock(&pkt_out_cnt10->lock); in egress_read_sock_fields()
A Dtimer.c13 struct bpf_spin_lock lock; /* unused */
/linux/kernel/bpf/
A 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 …]
A Dbtf.c3143 sizeof(struct bpf_spin_lock), in btf_find_spin_lock()
3144 __alignof__(struct bpf_spin_lock)); in btf_find_spin_lock()
A Dsyscall.c804 if (map->spin_lock_off + sizeof(struct bpf_spin_lock) > in map_check_btf()
A Dverifier.c3445 if (reg->smin_value + off < lock + sizeof(struct bpf_spin_lock) && in check_map_access()
/linux/samples/bpf/
A Dhbm.h12 struct bpf_spin_lock lock;
A Dhbm_edt_kern.c92 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()
A Dhbm_out_kern.c94 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtest_local_storage.c34 struct bpf_spin_lock lock;
A Dsock_fields.c28 struct bpf_spin_lock lock;
/linux/Documentation/bpf/
A Dmap_cgroup_storage.rst51 ``struct bpf_spin_lock`` to synchronize the storage. See
/linux/include/linux/
A Dbpf.h212 *(struct bpf_spin_lock *)(dst + map->spin_lock_off) = in check_and_init_map_value()
213 (struct bpf_spin_lock){}; in check_and_init_map_value()
226 s_sz = sizeof(struct bpf_spin_lock); in copy_map_value()
/linux/tools/include/uapi/linux/
A Dbpf.h6250 struct bpf_spin_lock { struct
/linux/include/uapi/linux/
A Dbpf.h6250 struct bpf_spin_lock { struct

Completed in 83 milliseconds