Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/bpf/
Darraymap.c733 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_array_map_update_elem() argument
747 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_array_map_update_elem()
792 struct file *map_file, int fd) in prog_fd_array_get_ptr() argument
1081 struct file *map_file) in bpf_event_entry_gen() argument
1089 ee->map_file = map_file; in bpf_event_entry_gen()
1110 struct file *map_file, int fd) in perf_event_fd_array_get_ptr() argument
1126 ee = bpf_event_entry_gen(perf_file, map_file); in perf_event_fd_array_get_ptr()
1141 struct file *map_file) in perf_event_fd_array_release() argument
1153 if (ee && ee->map_file == map_file) in perf_event_fd_array_release()
1185 struct file *map_file /* not used */, in cgroup_fd_array_get_ptr() argument
Dmap_in_map.h14 void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
Dmap_in_map.c82 struct file *map_file /* not used */, in bpf_map_fd_get_ptr() argument
Dhashtab.c2052 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_htab_map_update_elem() argument
2059 ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_htab_map_update_elem()
/Linux-v5.10/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-v5.10/tools/testing/selftests/bpf/
Dtest_offload.py613 def check_dev_info_removed(prog_file=None, map_file=None): argument
622 ret, err = bpftool("map show pin %s" % (map_file), fail=False)
628 def check_dev_info(other_ns, ns, prog_file=None, map_file=None, removed=False): argument
1192 map_file, _ = pin_map("/sys/fs/bpf/tmp_map", idx=1, expected=2) variable
1196 check_dev_info_removed(prog_file=prog_file, map_file=map_file)
/Linux-v5.10/include/linux/
Dbpf.h58 void (*map_release)(struct bpf_map *map, struct file *map_file);
82 void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
999 struct file *map_file; member
1344 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
1347 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,