Lines Matching refs:bpf_cgroup_storage_map
21 struct bpf_cgroup_storage_map { struct
29 static struct bpf_cgroup_storage_map *map_to_storage(struct bpf_map *map) in map_to_storage() argument
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()
186 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_copy()
215 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in bpf_percpu_cgroup_storage_update()
249 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_get_next_key()
289 struct bpf_cgroup_storage_map *map; in cgroup_storage_map_alloc()
311 ret = bpf_map_charge_init(&mem, sizeof(struct bpf_cgroup_storage_map)); in cgroup_storage_map_alloc()
315 map = kmalloc_node(sizeof(struct bpf_cgroup_storage_map), in cgroup_storage_map_alloc()
336 struct bpf_cgroup_storage_map *map = map_to_storage(_map); in cgroup_storage_map_free()
532 storage->map = (struct bpf_cgroup_storage_map *)map; in bpf_cgroup_storage_alloc()
585 struct bpf_cgroup_storage_map *map; in bpf_cgroup_storage_link()
604 struct bpf_cgroup_storage_map *map; in bpf_cgroup_storage_unlink()