Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
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.c27 struct bpf_spin_lock lock;
210 bpf_spin_lock(&pkt_out_cnt10->lock); in egress_read_sock_fields()
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c237 static inline void __bpf_spin_lock(struct bpf_spin_lock *lock) in __bpf_spin_lock()
251 static inline void __bpf_spin_unlock(struct bpf_spin_lock *lock) in __bpf_spin_unlock()
260 static inline void __bpf_spin_lock(struct bpf_spin_lock *lock) in __bpf_spin_lock()
270 static inline void __bpf_spin_unlock(struct bpf_spin_lock *lock) in __bpf_spin_unlock()
281 notrace BPF_CALL_1(bpf_spin_lock, struct bpf_spin_lock *, lock) in BPF_CALL_1() argument
292 .func = bpf_spin_lock,
298 notrace BPF_CALL_1(bpf_spin_unlock, struct bpf_spin_lock *, lock) in BPF_CALL_1() argument
318 struct bpf_spin_lock *lock; in copy_map_value_locked()
Dbtf.c2996 if (member_type->size != sizeof(struct bpf_spin_lock)) in btf_find_spin_lock()
3009 if (off % __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.c2926 if (reg->smin_value + off < lock + sizeof(struct bpf_spin_lock) && in check_map_access()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h188 *(struct bpf_spin_lock *)(dst + map->spin_lock_off) = in check_and_init_map_lock()
189 (struct bpf_spin_lock){}; in check_and_init_map_lock()
199 memcpy(dst + off + sizeof(struct bpf_spin_lock), in copy_map_value()
200 src + off + sizeof(struct bpf_spin_lock), in copy_map_value()
201 map->value_size - off - sizeof(struct bpf_spin_lock)); in copy_map_value()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c31 struct bpf_spin_lock lock;
/kernel/linux/linux-5.10/Documentation/bpf/
Dmap_cgroup_storage.rst51 ``struct bpf_spin_lock`` to synchronize the storage. See
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4979 struct bpf_spin_lock { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h1070 struct bpf_spin_lock { struct
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h4979 struct bpf_spin_lock { struct