Lines Matching refs:storages
215 static void bpf_cgroup_storages_free(struct bpf_cgroup_storage *storages[]) in bpf_cgroup_storages_free() argument
220 bpf_cgroup_storage_free(storages[stype]); in bpf_cgroup_storages_free()
223 static int bpf_cgroup_storages_alloc(struct bpf_cgroup_storage *storages[], in bpf_cgroup_storages_alloc() argument
241 storages[stype] = cgroup_storage_lookup((void *)map, &key, false); in bpf_cgroup_storages_alloc()
242 if (storages[stype]) in bpf_cgroup_storages_alloc()
245 storages[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_cgroup_storages_alloc()
246 if (IS_ERR(storages[stype])) { in bpf_cgroup_storages_alloc()
251 new_storages[stype] = storages[stype]; in bpf_cgroup_storages_alloc()
266 static void bpf_cgroup_storages_link(struct bpf_cgroup_storage *storages[], in bpf_cgroup_storages_link() argument
273 bpf_cgroup_storage_link(storages[stype], cgrp, attach_type); in bpf_cgroup_storages_link()
297 struct list_head *storages = &cgrp->bpf.storages; in cgroup_bpf_release() local
330 list_for_each_entry_safe(storage, stmp, storages, list_cg) { in cgroup_bpf_release()
499 INIT_LIST_HEAD(&cgrp->bpf.storages); in cgroup_bpf_inherit()