Searched refs:bpf_cgrp_storage_get (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | cgrp_ls_recursion.c | 34 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()
|
D | cgrp_ls_tp_btf.c | 42 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()
|
D | cgrp_ls_sleepable.c | 37 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()
|
D | cgrp_ls_attach_cgroup.c | 41 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()
|
D | percpu_alloc_cgrp_local_storage.c | 30 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()
|
D | cgrp_ls_negative.c | 23 (void)bpf_cgrp_storage_get(&map_a, (struct cgroup *)task, 0, in BPF_PROG()
|
D | map_kptr.c | 223 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/ |
D | map_cgrp_storage.rst | 21 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/ |
D | bpf_cgrp_storage.c | 161 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/ |
D | scx_flatcg.bpf.c | 172 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()
|