Lines Matching refs:map
63 cgroup_storage_lookup(struct cgroup *cgroup, struct bpf_map *map, bool cacheit_lockit) in cgroup_storage_lookup() argument
73 smap = (struct bpf_local_storage_map *)map; in cgroup_storage_lookup()
77 static void *bpf_cgrp_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_cgrp_storage_lookup_elem() argument
89 sdata = cgroup_storage_lookup(cgroup, map, true); in bpf_cgrp_storage_lookup_elem()
95 static long bpf_cgrp_storage_update_elem(struct bpf_map *map, void *key, in bpf_cgrp_storage_update_elem() argument
108 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map, in bpf_cgrp_storage_update_elem()
115 static int cgroup_storage_delete(struct cgroup *cgroup, struct bpf_map *map) in cgroup_storage_delete() argument
119 sdata = cgroup_storage_lookup(cgroup, map, false); in cgroup_storage_delete()
127 static long bpf_cgrp_storage_delete_elem(struct bpf_map *map, void *key) in bpf_cgrp_storage_delete_elem() argument
138 err = cgroup_storage_delete(cgroup, map); in bpf_cgrp_storage_delete_elem()
144 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() argument
154 static void cgroup_storage_map_free(struct bpf_map *map) in cgroup_storage_map_free() argument
156 bpf_local_storage_map_free(map, &cgroup_cache, &bpf_cgrp_storage_busy); in cgroup_storage_map_free()
160 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5() argument
175 sdata = cgroup_storage_lookup(cgroup, map, nobusy); in BPF_CALL_5()
182 sdata = bpf_local_storage_update(cgroup, (struct bpf_local_storage_map *)map, in BPF_CALL_5()
191 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2() argument
202 ret = cgroup_storage_delete(cgroup, map); in BPF_CALL_2()