Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H 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()
H 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()
H A Dfreplace_attach_probe.c12 struct bpf_spin_lock lock;
33 bpf_spin_lock(&val->lock); in new_handle_kprobe()
H A Dtest_sock_fields.c27 struct bpf_spin_lock lock;
210 bpf_spin_lock(&pkt_out_cnt10->lock); in egress_read_sock_fields()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
H A 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()
H A Dsyscall.c792 if (map->spin_lock_off + sizeof(struct bpf_spin_lock) > in map_check_btf()
H A Dverifier.c2903 if (reg->smin_value + off < lock + sizeof(struct bpf_spin_lock) && in check_map_access()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dhbm.h12 struct bpf_spin_lock lock;
H A Dhbm_edt_kern.c92 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()
H A Dhbm_out_kern.c94 bpf_spin_lock(&qdp->lock); in _hbm_out_cg()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h199 *(struct bpf_spin_lock *)(dst + map->spin_lock_off) = in check_and_init_map_lock()
200 (struct bpf_spin_lock){}; in check_and_init_map_lock()
210 memcpy(dst + off + sizeof(struct bpf_spin_lock), in copy_map_value()
211 src + off + sizeof(struct bpf_spin_lock), in copy_map_value()
212 map->value_size - off - sizeof(struct bpf_spin_lock)); in copy_map_value()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c31 struct bpf_spin_lock lock;
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dmap_cgroup_storage.rst51 ``struct bpf_spin_lock`` to synchronize the storage. See
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4979 struct bpf_spin_lock { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h4979 struct bpf_spin_lock { struct