Home
last modified time | relevance | path

Searched refs:bpf_cgroup_storage_map (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dlocal_storage.c21 struct bpf_cgroup_storage_map { struct
29 static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) in map_to_storage() argument
31 return container_of(map, struct bpf_cgroup_storage_map, map); in map_to_storage()
39 static int bpf_cgroup_storage_key_cmp(const struct bpf_cgroup_storage_map *map, in bpf_cgroup_storage_key_cmp()
67 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map, in cgroup_storage_lookup()
102 static int cgroup_storage_insert(struct bpf_cgroup_storage_map *map, in cgroup_storage_insert()
134 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem()
157 storage = cgroup_storage_lookup((struct bpf_cgroup_storage_map *)map, in cgroup_storage_update_elem()
185 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy()
214 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c513 struct bpf_cgroup_storage_map { struct
525 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage() argument
526 (struct bpf_cgroup_storage_map *)&m_cgroup_storage; in check_cgroup_storage()
565 struct bpf_cgroup_storage_map *percpu_cgroup_storage = in check_percpu_cgroup_storage()
566 (struct bpf_cgroup_storage_map *)&m_percpu_cgroup_storage; in check_percpu_cgroup_storage()
/linux-6.6.21/include/linux/
Dbpf-cgroup.h78 struct bpf_cgroup_storage_map;
90 struct bpf_cgroup_storage_map *map;
162 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map,