Home
last modified time | relevance | path

Searched refs:map_file (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/kernel/bpf/
Darraymap.c452 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_array_map_update_elem() argument
466 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_array_map_update_elem()
496 struct file *map_file, int fd) in prog_fd_array_get_ptr() argument
547 struct file *map_file) in bpf_event_entry_gen() argument
555 ee->map_file = map_file; in bpf_event_entry_gen()
576 struct file *map_file, int fd) in perf_event_fd_array_get_ptr() argument
592 ee = bpf_event_entry_gen(perf_file, map_file); in perf_event_fd_array_get_ptr()
607 struct file *map_file) in perf_event_fd_array_release() argument
616 if (ee && ee->map_file == map_file) in perf_event_fd_array_release()
637 struct file *map_file /* not used */, in cgroup_fd_array_get_ptr() argument
Dmap_in_map.h19 void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
Dmap_in_map.c72 struct file *map_file /* not used */, in bpf_map_fd_get_ptr() argument
Dhashtab.c1357 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_htab_map_update_elem() argument
1364 ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_htab_map_update_elem()
/Linux-v4.19/include/linux/
Dbpf.h33 void (*map_release)(struct bpf_map *map, struct file *map_file);
44 void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
326 struct file *map_file; member
475 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
478 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
/Linux-v4.19/scripts/
Dinsert-sys-cert.c201 static void *map_file(char *file_name, int *size) in map_file() function
314 hdr = map_file(vmlinux_file, &vmlinux_size); in main()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_offload.py534 def check_dev_info_removed(prog_file=None, map_file=None): argument
543 ret, err = bpftool("map show pin %s" % (map_file), fail=False)
549 def check_dev_info(other_ns, ns, prog_file=None, map_file=None, removed=False): argument
1077 map_file, _ = pin_map("/sys/fs/bpf/tmp_map", idx=1, expected=2) variable
1081 check_dev_info_removed(prog_file=prog_file, map_file=map_file)