Lines Matching refs:_map
112 static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *_key) in cgroup_storage_lookup_elem() argument
114 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem()
154 static int cgroup_storage_get_next_key(struct bpf_map *_map, void *_key, in cgroup_storage_get_next_key() argument
157 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_get_next_key()
230 static void cgroup_storage_map_free(struct bpf_map *_map) in cgroup_storage_map_free() argument
232 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_map_free()
255 int bpf_cgroup_storage_assign(struct bpf_prog *prog, struct bpf_map *_map) in bpf_cgroup_storage_assign() argument
257 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_cgroup_storage_assign()
264 if (prog->aux->cgroup_storage && prog->aux->cgroup_storage != _map) in bpf_cgroup_storage_assign()
268 prog->aux->cgroup_storage = _map; in bpf_cgroup_storage_assign()
276 void bpf_cgroup_storage_release(struct bpf_prog *prog, struct bpf_map *_map) in bpf_cgroup_storage_release() argument
278 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_cgroup_storage_release()
282 WARN_ON(prog->aux->cgroup_storage != _map); in bpf_cgroup_storage_release()