Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcgrp_ls_recursion.c34 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in __on_update()
38 ptr = bpf_cgrp_storage_get(&map_b, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in __on_update()
67 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in __on_enter()
71 ptr = bpf_cgrp_storage_get(&map_b, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in __on_enter()
Dcgrp_ls_tp_btf.c42 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __on_enter()
53 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, 0); in __on_enter()
58 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __on_enter()
94 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __on_exit()
Dcgrp_ls_sleepable.c37 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in cgroup_iter()
51 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __no_rcu_lock()
110 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in yes_rcu_lock()
121 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in yes_rcu_lock()
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()
Dpercpu_alloc_cgrp_local_storage.c30 e = bpf_cgrp_storage_get(&cgrp, task->cgroups->dfl_cgrp, 0, in BPF_PROG()
56 e = bpf_cgrp_storage_get(&cgrp, task->cgroups->dfl_cgrp, 0, 0); in BPF_PROG()
89 e = bpf_cgrp_storage_get(&cgrp, task->cgroups->dfl_cgrp, 0, 0); in BPF_PROG()
Dcgrp_ls_negative.c23 (void)bpf_cgrp_storage_get(&map_a, (struct cgroup *)task, 0, in BPF_PROG()
Dmap_kptr.c223 v = bpf_cgrp_storage_get(&cgrp_ls_map, cgrp, NULL, BPF_LOCAL_STORAGE_GET_F_CREATE); in BPF_PROG()
/linux-6.12.1/Documentation/bpf/
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.
/linux-6.12.1/kernel/bpf/
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,
/linux-6.12.1/tools/sched_ext/
Dscx_flatcg.bpf.c172 cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, 0); in find_cgrp_ctx()
659 cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, 0); in try_pick_next_cgroup()
765 cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, 0); in BPF_STRUCT_OPS()
851 cgc = bpf_cgrp_storage_get(&cgrp_ctx, cgrp, 0, in BPF_STRUCT_OPS_SLEEPABLE()