Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Darraymap.c739 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_array_map_update_elem() argument
753 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_array_map_update_elem()
798 struct file *map_file, int fd) in prog_fd_array_get_ptr() argument
1088 struct file *map_file) in bpf_event_entry_gen() argument
1096 ee->map_file = map_file; in bpf_event_entry_gen()
1117 struct file *map_file, int fd) in perf_event_fd_array_get_ptr() argument
1133 ee = bpf_event_entry_gen(perf_file, map_file); in perf_event_fd_array_get_ptr()
1148 struct file *map_file) in perf_event_fd_array_release() argument
1160 if (ee && ee->map_file == map_file) in perf_event_fd_array_release()
1192 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.c2054 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, in bpf_fd_htab_map_update_elem() argument
2061 ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); in bpf_fd_htab_map_update_elem()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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)
/kernel/linux/linux-5.10/include/linux/
Dbpf.h59 void (*map_release)(struct bpf_map *map, struct file *map_file);
83 void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file,
1081 struct file *map_file; member
1459 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file,
1462 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,