Lines Matching refs:_map

131 static void *cgroup_storage_lookup_elem(struct bpf_map *_map, void *key)  in cgroup_storage_lookup_elem()  argument
133 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_lookup_elem()
182 int bpf_percpu_cgroup_storage_copy(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_copy() argument
185 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy()
201 size = round_up(_map->value_size, 8); in bpf_percpu_cgroup_storage_copy()
211 int bpf_percpu_cgroup_storage_update(struct bpf_map *_map, void *key, in bpf_percpu_cgroup_storage_update() argument
214 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update()
235 size = round_up(_map->value_size, 8); in bpf_percpu_cgroup_storage_update()
245 static int cgroup_storage_get_next_key(struct bpf_map *_map, void *key, in cgroup_storage_get_next_key() argument
248 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_get_next_key()
331 static void cgroup_storage_map_free(struct bpf_map *_map) in cgroup_storage_map_free() argument
333 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_map_free()
464 int bpf_cgroup_storage_assign(struct bpf_prog_aux *aux, struct bpf_map *_map) in bpf_cgroup_storage_assign() argument
466 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); in bpf_cgroup_storage_assign()
469 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign()
472 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_assign()