Lines Matching refs:_map

132 static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *key)  in cgroup_storage_lookup_elem()  argument
134 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem()
183 int bpf_percpu_cgroup_storage_copy(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_copy() argument
186 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy()
202 size = round_up(_map->value_size, 8); in bpf_percpu_cgroup_storage_copy()
212 int bpf_percpu_cgroup_storage_update(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_update() argument
215 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update()
236 size = round_up(_map->value_size, 8); in bpf_percpu_cgroup_storage_update()
246 static int cgroup_storage_get_next_key(struct bpf_map *_map, void *key, in cgroup_storage_get_next_key() argument
249 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_get_next_key()
334 static void cgroup_storage_map_free(struct bpf_map *_map) in cgroup_storage_map_free() argument
336 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_map_free()
467 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *_map) in bpf_cgroup_storage_assign() argument
469 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); in bpf_cgroup_storage_assign()
472 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign()
475 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign()