Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
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()
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()
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()
A Dcg_storage_multi_egress_only.c27 bpf_get_local_storage(&cgroup_storage, 0); in egress()
A Dtest_spin_lock.c93 cls = bpf_get_local_storage(&cls_map, 0); in bpf_spin_lock_test()
A Dlsm_cgroup.c43 val = bpf_get_local_storage(&cgroup_storage, 0); in test_local_storage()
/linux-6.3-rc2/Documentation/bpf/
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);
A Dmap_cgrp_storage.rst96 ``bpf_get_local_storage()`` always returns non-NULL local storage.
/linux-6.3-rc2/samples/bpf/
A Dhbm_edt_kern.c83 qdp = bpf_get_local_storage(&queue_state, 0); in _hbm_out_cg()
A Dhbm_out_kern.c85 qdp = bpf_get_local_storage(&queue_state, 0); in _hbm_out_cg()
/linux-6.3-rc2/kernel/bpf/
A Dcgroup.c1540 BPF_CALL_2(bpf_get_local_storage, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument
1564 .func = bpf_get_local_storage,

Completed in 17 milliseconds