Home
last modified time | relevance | path

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

/Linux-v5.4/fs/
Dfhandle.c18 struct file_handle __user *ufh, in do_sys_name_to_handle()
22 struct file_handle f_handle; in do_sys_name_to_handle()
24 struct file_handle *handle = NULL; in do_sys_name_to_handle()
34 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
40 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
74 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
94 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5()
139 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
167 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
171 struct file_handle f_handle; in handle_to_path()
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/
Dcgroup_helpers.c254 struct file_handle *fhp, *fhp2; in get_cgroup_id()
273 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/Linux-v5.4/fs/notify/
Dfdinfo.c45 struct file_handle handle; in show_mark_fhandle()
/Linux-v5.4/fs/notify/fanotify/
Dfanotify_user.c60 sizeof(struct file_handle) + event->fh_len, in fanotify_event_info_len()
210 struct file_handle handle = { }; in copy_fid_to_user()
/Linux-v5.4/include/linux/
Dsyscalls.h66 struct file_handle;
923 struct file_handle __user *handle,
926 struct file_handle __user *handle,
Dcompat.h827 struct file_handle __user *handle,
Dfs.h976 struct file_handle { struct