Home
last modified time | relevance | path

Searched refs:bpf_cgrp_storage_get (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcgrp_ls_recursion.c40 ptr = bpf_cgrp_storage_get(&map_a, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
45 ptr = bpf_cgrp_storage_get(&map_b, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
60 ptr = bpf_cgrp_storage_get(&map_a, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
65 ptr = bpf_cgrp_storage_get(&map_b, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
H A Dcgrp_ls_tp_btf.c43 ptr = bpf_cgrp_storage_get(&map_a, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
54 ptr = bpf_cgrp_storage_get(&map_a, task->cgroups->dfl_cgrp, 0, 0); in BPF_PROG()
59 ptr = bpf_cgrp_storage_get(&map_a, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
79 ptr = bpf_cgrp_storage_get(&map_a, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
H A Dcgrp_ls_sleepable.c33 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in cgroup_iter()
53 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in no_rcu_lock()
74 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in yes_rcu_lock()
H A Dcgrp_ls_attach_cgroup.c41 p = bpf_cgrp_storage_get(&socket_cookies, in set_cookie()
70 p = bpf_cgrp_storage_get(&socket_cookies, in update_cookie_sockops()
91 p = bpf_cgrp_storage_get(&socket_cookies, sock->sk->sk_cgrp_data.cgroup, 0, 0); in BPF_PROG()
H A Dcgrp_ls_negative.c23 (void)bpf_cgrp_storage_get(&map_a, (struct cgroup *)task, 0, in BPF_PROG()
H A Dmap_kptr.c217 v = bpf_cgrp_storage_get(&cgrp_ls_map, cgrp, NULL, BPF_LOCAL_STORAGE_GET_F_CREATE); in BPF_PROG()
/openbmc/linux/Documentation/bpf/
H A Dmap_cgrp_storage.rst21 To access the storage in a program, use ``bpf_cgrp_storage_get``::
23 void *bpf_cgrp_storage_get(struct bpf_map *map, struct cgroup *cgroup, void *value, u64 flags)
56 ptr = bpf_cgrp_storage_get(&cgrp_storage, task->cgroups->dfl_cgrp, 0,
98 it is possible that ``bpf_cgrp_storage_get()`` may return null local storage.
/openbmc/linux/kernel/bpf/
H A Dbpf_cgrp_storage.c161 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5() argument
223 .func = bpf_cgrp_storage_get,