Lines Matching refs:storages
31 static void bpf_cgroup_storages_free(struct bpf_cgroup_storage *storages[]) in bpf_cgroup_storages_free() argument
36 bpf_cgroup_storage_free(storages[stype]); in bpf_cgroup_storages_free()
39 static int bpf_cgroup_storages_alloc(struct bpf_cgroup_storage *storages[], in bpf_cgroup_storages_alloc() argument
57 storages[stype] = cgroup_storage_lookup((void *)map, &key, false); in bpf_cgroup_storages_alloc()
58 if (storages[stype]) in bpf_cgroup_storages_alloc()
61 storages[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_cgroup_storages_alloc()
62 if (IS_ERR(storages[stype])) { in bpf_cgroup_storages_alloc()
67 new_storages[stype] = storages[stype]; in bpf_cgroup_storages_alloc()
82 static void bpf_cgroup_storages_link(struct bpf_cgroup_storage *storages[], in bpf_cgroup_storages_link() argument
89 bpf_cgroup_storage_link(storages[stype], cgrp, attach_type); in bpf_cgroup_storages_link()
113 struct list_head *storages = &cgrp->bpf.storages; in cgroup_bpf_release() local
139 list_for_each_entry_safe(storage, stmp, storages, list_cg) { in cgroup_bpf_release()
308 INIT_LIST_HEAD(&cgrp->bpf.storages); in cgroup_bpf_inherit()