Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c25 FIXTURE(file_handle) in FIXTURE() argument
40 FIXTURE_SETUP(file_handle) in FIXTURE_SETUP() argument
147 struct file_handle *fh; in TEST_F()
194 struct file_handle *fh; in TEST_F()
241 struct file_handle *fh; in TEST_F()
277 struct file_handle *fh; in TEST_F()
316 struct file_handle *fh; in TEST_F()
354 struct file_handle *fh; in TEST_F()
390 struct file_handle *fh; in TEST_F()
435 struct file_handle *fh; in TEST_F()
[all …]
/linux-6.15/fs/
H A Dfhandle.c18 struct file_handle __user *ufh, in do_sys_name_to_handle()
23 struct file_handle f_handle; in do_sys_name_to_handle()
25 struct file_handle *handle = NULL; in do_sys_name_to_handle()
42 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
130 struct file_handle __user *, handle, void __user *, mnt_id, in SYSCALL_DEFINE5()
321 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path()
325 struct file_handle f_handle; in handle_to_path()
326 struct file_handle *handle = NULL; in handle_to_path()
342 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) { in handle_to_path()
435 struct file_handle __user *, handle, in SYSCALL_DEFINE3()
[all …]
/linux-6.15/samples/fanotify/
H A 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-6.15/tools/build/feature/
H A Dtest-file-handle.c10 struct file_handle fh; in main()
/linux-6.15/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c439 struct file_handle *fhp, *fhp2; in get_cgroup_id_from_path()
456 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id_from_path()
/linux-6.15/fs/notify/
H A Dfdinfo.c44 DEFINE_FLEX(struct file_handle, f, f_handle, handle_bytes, MAX_HANDLE_SZ); in show_mark_fhandle()
/linux-6.15/tools/perf/util/
H A Dcgroup.c54 struct file_handle fh; in __read_cgroup_id()
H A Dsynthetic-events.c555 struct file_handle fh; in perf_event__synthesize_cgroup()
/linux-6.15/include/linux/
H A Dsyscalls.h65 struct file_handle;
885 struct file_handle __user *handle,
888 struct file_handle __user *handle,
H A Dcompat.h780 struct file_handle __user *handle,
H A Dfs.h1124 struct file_handle { struct
/linux-6.15/fs/notify/fanotify/
H A Dfanotify_user.c120 (sizeof(struct fanotify_event_info_fid) + sizeof(struct file_handle))
459 struct file_handle handle = { }; in copy_fid_info_to_user()