Home
last modified time | relevance | path

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

/Linux-v6.1/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_helper_restricted.c11 struct bpf_spin_lock l;
54 bpf_spin_lock(&lock->l); in spin_lock_work()
Dtimer_crash.c9 struct bpf_spin_lock lock;
Dtest_sock_fields.c27 struct bpf_spin_lock lock;
210 bpf_spin_lock(&pkt_out_cnt10->lock); in egress_read_sock_fields()
Dtimer.c13 struct bpf_spin_lock lock; /* unused */
/Linux-v6.1/kernel/bpf/
Dhelpers.c275 static inline void __bpf_spin_lock(struct bpf_spin_lock *lock) in __bpf_spin_lock()
289 static inline void __bpf_spin_unlock(struct bpf_spin_lock *lock) in __bpf_spin_unlock()
298 static inline void __bpf_spin_lock(struct bpf_spin_lock *lock) in __bpf_spin_lock()
308 static inline void __bpf_spin_unlock(struct bpf_spin_lock *lock) in __bpf_spin_unlock()
319 static inline void __bpf_spin_lock_irqsave(struct bpf_spin_lock *lock) in __bpf_spin_lock_irqsave()
328 notrace BPF_CALL_1(bpf_spin_lock, struct bpf_spin_lock *, lock) in BPF_CALL_1() argument
335 .func = bpf_spin_lock,
341 static inline void __bpf_spin_unlock_irqrestore(struct bpf_spin_lock *lock) in __bpf_spin_unlock_irqrestore()
350 notrace BPF_CALL_1(bpf_spin_unlock, struct bpf_spin_lock *, lock) in BPF_CALL_1() argument
366 struct bpf_spin_lock *lock; in copy_map_value_locked()
[all …]
Dsyscall.c958 off_arr->field_sz[i] = sizeof(struct bpf_spin_lock); in bpf_map_alloc_off_arr()
1021 if (map->spin_lock_off + sizeof(struct bpf_spin_lock) > in map_check_btf()
Dbtf.c3369 sz = sizeof(struct bpf_spin_lock); in btf_find_field()
3370 align = __alignof__(struct bpf_spin_lock); in btf_find_field()
Dverifier.c3836 if (reg->smin_value + off < lock + sizeof(struct bpf_spin_lock) && in check_map_access()
/Linux-v6.1/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-v6.1/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c30 struct bpf_spin_lock lock;
/Linux-v6.1/Documentation/bpf/
Dmap_hash.rst86 infrastructure provides ``struct bpf_spin_lock`` to synchronise access.
Dmap_cgroup_storage.rst51 ``struct bpf_spin_lock`` to synchronize the storage. See
/Linux-v6.1/tools/include/uapi/linux/
Dbpf.h6822 struct bpf_spin_lock { struct
/Linux-v6.1/include/uapi/linux/
Dbpf.h6822 struct bpf_spin_lock { struct
/Linux-v6.1/include/linux/
Dbpf.h272 memset(dst + map->spin_lock_off, 0, sizeof(struct bpf_spin_lock)); in check_and_init_map_value()