Searched refs:storages (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | cgroup.c | 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() [all …]
|
D | local_storage.c | 334 struct list_head *storages = &map->list; in cgroup_storage_map_free() local 339 list_for_each_entry_safe(storage, stmp, storages, list_map) { in cgroup_storage_map_free() 585 list_add(&storage->list_cg, &cgroup->bpf.storages); in bpf_cgroup_storage_link()
|