Home
last modified time | relevance | path

Searched refs:bpf_cgroup_storage_map (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/kernel/bpf/
H A 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()
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 *ma in bpf_percpu_cgroup_storage_update()
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dlocal_storage.c19 struct bpf_cgroup_storage_map { struct
27 static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) in map_to_storage()
29 return container_of(map, struct bpf_cgroup_storage_map, map); in map_to_storage()
37 static int bpf_cgroup_storage_key_cmp(const struct bpf_cgroup_storage_map *map, in bpf_cgroup_storage_key_cmp()
65 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map, in cgroup_storage_lookup()
100 static int cgroup_storage_insert(struct bpf_cgroup_storage_map *map, in cgroup_storage_insert()
132 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem()
155 storage = cgroup_storage_lookup((struct bpf_cgroup_storage_map *)map, in cgroup_storage_update_elem()
184 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy()
213 struct bpf_cgroup_storage_map *ma in bpf_percpu_cgroup_storage_update()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c502 struct bpf_cgroup_storage_map { struct
514 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage()
515 (struct bpf_cgroup_storage_map *)&m_cgroup_storage; in check_cgroup_storage()
554 struct bpf_cgroup_storage_map *percpu_cgroup_storage = in check_percpu_cgroup_storage()
555 (struct bpf_cgroup_storage_map *)&m_percpu_cgroup_storage; in check_percpu_cgroup_storage()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c513 struct bpf_cgroup_storage_map { struct
525 struct bpf_cgroup_storage_map *cgroup_storage = in check_cgroup_storage()
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()
/kernel/linux/linux-5.10/include/linux/
H A Dbpf-cgroup.h33 struct bpf_cgroup_storage_map;
45 struct bpf_cgroup_storage_map *map;
162 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map,
/kernel/linux/linux-6.6/include/linux/
H A 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,

Completed in 5 milliseconds