Searched refs:map_file (Results 1 – 7 of 7) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | map_in_map.h | 14 void *bpf_map_fd_get_ptr(struct bpf_map *map, struct file *map_file,
|
| H A D | map_in_map.c | 95 struct file *map_file /* not used */, in bpf_map_fd_get_ptr() argument
|
| H A D | syscall.c | 247 static int bpf_map_update_value(struct bpf_map *map, struct file *map_file, in bpf_map_update_value() argument 263 return bpf_fd_array_map_update_elem(map, map_file, key, value, in bpf_map_update_value() 277 err = bpf_fd_array_map_update_elem(map, map_file, key, value, in bpf_map_update_value() 280 err = bpf_fd_htab_map_update_elem(map, map_file, key, value, in bpf_map_update_value() 1998 int generic_map_update_batch(struct bpf_map *map, struct file *map_file, in generic_map_update_batch() argument 2038 err = bpf_map_update_value(map, map_file, key, value, in generic_map_update_batch()
|
| /linux/scripts/ |
| H A D | elf-parse.c | 22 static void *map_file(char const *fname, size_t *size) in map_file() function 182 addr = map_file(fname, size); in elf_map()
|
| H A D | insert-sys-cert.c | 201 static void *map_file(char *file_name, int *size) in map_file() function 314 hdr = map_file(vmlinux_file, &vmlinux_size); in main()
|
| /linux/tools/testing/selftests/net/ |
| H A D | bpf_offload.py | 555 def check_dev_info_removed(prog_file=None, map_file=None): argument 562 ret, err = bpftool("map show pin %s" % (map_file), fail=False) 568 def check_dev_info(other_ns, ns, prog_file=None, map_file=None, removed=False): argument 1146 map_file, _ = pin_map("/sys/fs/bpf/tmp_map", idx=1, expected=2) variable 1150 check_dev_info_removed(prog_file=prog_file, map_file=map_file)
|
| /linux/drivers/vdpa/vdpa_user/ |
| H A D | vduse_dev.c | 1168 struct vdpa_map_file *map_file; in vduse_dev_ioctl() local 1188 map_file = (struct vdpa_map_file *)map->opaque; in vduse_dev_ioctl() 1189 f = get_file(map_file->file); in vduse_dev_ioctl() 1190 entry.offset = map_file->offset; in vduse_dev_ioctl()
|