Home
last modified time | relevance | path

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

/Linux-v6.6/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()
37 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
43 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
78 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
99 struct file_handle __user *, handle, int __user *, mnt_id, in SYSCALL_DEFINE5()
146 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
174 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
178 struct file_handle f_handle; in handle_to_path()
[all …]
/Linux-v6.6/samples/fanotify/
Dfs-monitor.c35 static void print_fh(struct file_handle *fh) in print_fh()
99 print_fh((struct file_handle *) &fid->handle); in handle_notifications()
/Linux-v6.6/tools/build/feature/
Dtest-file-handle.c10 struct file_handle fh; in main()
/Linux-v6.6/tools/testing/selftests/bpf/
Dcgroup_helpers.c413 struct file_handle *fhp, *fhp2; in get_cgroup_id()
432 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/Linux-v6.6/fs/notify/
Dfdinfo.c45 struct file_handle handle; in show_mark_fhandle()
/Linux-v6.6/tools/perf/util/
Dcgroup.c56 struct file_handle fh; in read_cgroup_id()
Dsynthetic-events.c554 struct file_handle fh; in perf_event__synthesize_cgroup()
/Linux-v6.6/include/linux/
Dsyscalls.h65 struct file_handle;
846 struct file_handle __user *handle,
849 struct file_handle __user *handle,
Dcompat.h781 struct file_handle __user *handle,
Dfs.h1033 struct file_handle { struct
/Linux-v6.6/fs/notify/fanotify/
Dfanotify_user.c122 (sizeof(struct fanotify_event_info_fid) + sizeof(struct file_handle))
419 struct file_handle handle = { }; in copy_fid_info_to_user()