Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dlocal_storage.c22 struct bpf_cgroup_storage_map { struct
30 static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) in map_to_storage() argument
32 return container_of(map, struct bpf_cgroup_storage_map, map); in map_to_storage()
40 static int bpf_cgroup_storage_key_cmp(const struct bpf_cgroup_storage_map *map, in bpf_cgroup_storage_key_cmp()
68 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map, in cgroup_storage_lookup()
103 static int cgroup_storage_insert(struct bpf_cgroup_storage_map *map, in cgroup_storage_insert()
135 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem()
158 storage = cgroup_storage_lookup((struct bpf_cgroup_storage_map *)map, in cgroup_storage_update_elem()
187 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy()
216 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update()
[all …]
/OK3568_Linux_fs/kernel/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() argument
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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf-cgroup.h46 struct bpf_cgroup_storage_map;
58 struct bpf_cgroup_storage_map *map;
209 cgroup_storage_lookup(struct bpf_cgroup_storage_map *map,