Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A 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()
H A Dcg_storage_multi_egress_only.c27 bpf_get_local_storage(&cgroup_storage, 0); in egress()
H A Dtest_spin_lock.c93 cls = bpf_get_local_storage(&cls_map, 0); in bpf_sping_lock_test()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A 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);
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dhbm_edt_kern.c83 qdp = bpf_get_local_storage(&queue_state, 0); in _hbm_out_cg()
H A Dhbm_out_kern.c85 qdp = bpf_get_local_storage(&queue_state, 0); in _hbm_out_cg()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dhelpers.c378 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument
406 .func = bpf_get_local_storage,