/linux-master/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 | arraymap.c | 842 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, argument 856 new_ptr = map->ops->map_fd_get_ptr(map, map_file, ufd); 906 struct file *map_file, int fd) 1156 struct file *map_file) 1164 ee->map_file = map_file; 1185 struct file *map_file, int fd) 1201 ee = bpf_event_entry_gen(perf_file, map_file); 1217 struct file *map_file) 1229 if (ee && ee->map_file 905 prog_fd_array_get_ptr(struct bpf_map *map, struct file *map_file, int fd) argument 1155 bpf_event_entry_gen(struct file *perf_file, struct file *map_file) argument 1184 perf_event_fd_array_get_ptr(struct bpf_map *map, struct file *map_file, int fd) argument 1216 perf_event_fd_array_release(struct bpf_map *map, struct file *map_file) argument [all...] |
H A D | map_in_map.c | 109 struct file *map_file /* not used */,
|
H A D | syscall.c | 158 static int bpf_map_update_value(struct bpf_map *map, struct file *map_file, argument 174 return bpf_fd_array_map_update_elem(map, map_file, key, value, 188 err = bpf_fd_array_map_update_elem(map, map_file, key, value, 191 err = bpf_fd_htab_map_update_elem(map, map_file, key, value, 1832 int generic_map_update_batch(struct bpf_map *map, struct file *map_file, argument 1876 err = bpf_map_update_value(map, map_file, key, value,
|
H A D | hashtab.c | 2520 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, argument 2527 ptr = map->ops->map_fd_get_ptr(map, map_file, ufd);
|
/linux-master/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 25 struct vdpa_map_file *map_file; local 28 map_file = kmalloc(sizeof(*map_file), GFP_ATOMIC); 29 if (!map_file) 32 map_file->file = get_file(file); 33 map_file->offset = offset; 36 addr, perm, map_file); 38 fput(map_file->file); 39 kfree(map_file); 48 struct vdpa_map_file *map_file; local 62 struct vdpa_map_file *map_file; local 485 struct vdpa_map_file *map_file; local [all...] |
H A D | vduse_dev.c | 1156 struct vdpa_map_file *map_file; local 1176 map_file = (struct vdpa_map_file *)map->opaque; 1177 f = get_file(map_file->file); 1178 entry.offset = map_file->offset;
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 938 struct vdpa_map_file *map_file; local 941 map_file = (struct vdpa_map_file *)map->opaque; 942 fput(map_file->file); 943 kfree(map_file); 1041 struct vdpa_map_file *map_file; local 1058 map_file = kzalloc(sizeof(*map_file), GFP_KERNEL); 1059 if (!map_file) { 1064 map_file->offset = offset; 1065 map_file [all...] |
/linux-master/scripts/ |
H A D | insert-sys-cert.c | 201 static void *map_file(char *file_name, int *size) function 314 hdr = map_file(vmlinux_file, &vmlinux_size);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 615 def check_dev_info_removed(prog_file=None, map_file=None): 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): 1194 map_file, _ = pin_map("/sys/fs/bpf/tmp_map", idx=1, expected=2) 1198 check_dev_info_removed(prog_file=prog_file, map_file=map_file)
|
/linux-master/include/linux/ |
H A D | bpf.h | 85 void (*map_release)(struct bpf_map *map, struct file *map_file); 97 int (*map_update_batch)(struct bpf_map *map, struct file *map_file, 113 void *(*map_fd_get_ptr)(struct bpf_map *map, struct file *map_file, 1931 struct file *map_file; member in struct:bpf_event_entry 2227 int generic_map_update_batch(struct bpf_map *map, struct file *map_file, 2469 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, 2472 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file,
|