Lines Matching refs:storage
54 bpf_cgroup_storage_unlink(pl->storage[stype]); in cgroup_bpf_release()
55 bpf_cgroup_storage_free(pl->storage[stype]); in cgroup_bpf_release()
170 pl->storage[stype]; in compute_effective_progs()
296 struct bpf_cgroup_storage *storage[MAX_BPF_CGROUP_STORAGE_TYPE], in __cgroup_bpf_attach() local
321 storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in __cgroup_bpf_attach()
322 if (IS_ERR(storage[stype])) { in __cgroup_bpf_attach()
323 storage[stype] = NULL; in __cgroup_bpf_attach()
325 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
335 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
343 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
350 pl->storage[stype] = storage[stype]; in __cgroup_bpf_attach()
357 bpf_cgroup_storage_free(storage[stype]); in __cgroup_bpf_attach()
366 old_storage[stype] = pl->storage[stype]; in __cgroup_bpf_attach()
373 pl->storage[stype] = storage[stype]; in __cgroup_bpf_attach()
393 bpf_cgroup_storage_link(storage[stype], cgrp, type); in __cgroup_bpf_attach()
400 bpf_cgroup_storage_free(pl->storage[stype]); in __cgroup_bpf_attach()
401 pl->storage[stype] = old_storage[stype]; in __cgroup_bpf_attach()
472 bpf_cgroup_storage_unlink(pl->storage[stype]); in __cgroup_bpf_detach()
473 bpf_cgroup_storage_free(pl->storage[stype]); in __cgroup_bpf_detach()