Home
last modified time | relevance | path

Searched refs:bpf_get_local_storage (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dcg_storage_multi_isolated.c27 bpf_get_local_storage(&cgroup_storage, 0); in egress1()
39 bpf_get_local_storage(&cgroup_storage, 0); in egress2()
51 bpf_get_local_storage(&cgroup_storage, 0); in ingress()
Dcg_storage_multi_shared.c27 bpf_get_local_storage(&cgroup_storage, 0); in egress1()
39 bpf_get_local_storage(&cgroup_storage, 0); in egress2()
51 bpf_get_local_storage(&cgroup_storage, 0); in ingress()
Dnetcnt_prog.c34 cnt = bpf_get_local_storage(&netcnt, 0); in bpf_nextcnt()
35 percpu_cnt = bpf_get_local_storage(&percpu_netcnt, 0); in bpf_nextcnt()
Dcg_storage_multi_egress_only.c27 bpf_get_local_storage(&cgroup_storage, 0); in egress()
Dtest_spin_lock.c93 cls = bpf_get_local_storage(&cls_map, 0); in bpf_sping_lock_test()
/kernel/linux/linux-5.10/Documentation/bpf/
Dmap_cgroup_storage.rst42 To access the storage in a program, use ``bpf_get_local_storage``::
44 void *bpf_get_local_storage(void *map, u64 flags)
69 __u32 *ptr = bpf_get_local_storage(&cgroup_storage, 0);
104 __u32 *ptr = bpf_get_local_storage(&cgroup_storage, 0);
/kernel/linux/linux-5.10/samples/bpf/
Dhbm_edt_kern.c83 qdp = bpf_get_local_storage(&queue_state, 0); in _hbm_out_cg()
Dhbm_out_kern.c85 qdp = bpf_get_local_storage(&queue_state, 0); in _hbm_out_cg()
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c376 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument
400 .func = bpf_get_local_storage,