Lines Matching refs:map
57 task_storage_lookup(struct task_struct *task, struct bpf_map *map, in task_storage_lookup() argument
68 smap = (struct bpf_local_storage_map *)map; in task_storage_lookup()
118 static void *bpf_pid_task_storage_lookup_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_lookup_elem() argument
142 sdata = task_storage_lookup(task, map, true); in bpf_pid_task_storage_lookup_elem()
151 static int bpf_pid_task_storage_update_elem(struct bpf_map *map, void *key, in bpf_pid_task_storage_update_elem() argument
177 task, (struct bpf_local_storage_map *)map, value, map_flags, in bpf_pid_task_storage_update_elem()
187 static int task_storage_delete(struct task_struct *task, struct bpf_map *map) in task_storage_delete() argument
191 sdata = task_storage_lookup(task, map, false); in task_storage_delete()
200 static int bpf_pid_task_storage_delete_elem(struct bpf_map *map, void *key) in bpf_pid_task_storage_delete_elem() argument
223 err = task_storage_delete(task, map); in bpf_pid_task_storage_delete_elem()
231 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument
246 sdata = task_storage_lookup(task, map, true); in BPF_CALL_5()
254 task, (struct bpf_local_storage_map *)map, value, in BPF_CALL_5()
263 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2() argument
279 ret = task_storage_delete(task, map); in BPF_CALL_2()
284 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() argument
298 return &smap->map; in task_storage_map_alloc()
301 static void task_storage_map_free(struct bpf_map *map) in task_storage_map_free() argument
305 smap = (struct bpf_local_storage_map *)map; in task_storage_map_free()