Searched refs:file_handle (Results 1 – 14 of 14) sorted by relevance
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_file_handle_test.c | 25 FIXTURE(file_handle) in FIXTURE() argument 40 FIXTURE_SETUP(file_handle) in FIXTURE_SETUP() argument 117 FIXTURE_TEARDOWN(file_handle) in FIXTURE_TEARDOWN() argument 144 TEST_F(file_handle, file_handle_same_pidns) in TEST_F() argument 147 struct file_handle *fh; in TEST_F() 151 fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ); in TEST_F() 153 memset(fh, 0, sizeof(struct file_handle) + MAX_HANDLE_SZ); in TEST_F() 191 TEST_F(file_handle, file_handle_child_pidns) in TEST_F() argument 194 struct file_handle *fh; in TEST_F() 198 fh = malloc(sizeof(struct file_handle) + MAX_HANDLE_SZ); in TEST_F() [all …]
|
| /linux/fs/ |
| H A D | fhandle.c | 19 struct file_handle __user *ufh, in do_sys_name_to_handle() 24 struct file_handle f_handle; in do_sys_name_to_handle() 26 struct file_handle *handle = NULL; in do_sys_name_to_handle() 43 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() 265 static int do_handle_to_path(struct file_handle *handle, struct path *path, in do_handle_to_path() 338 static int handle_to_path(int mountdirfd, struct file_handle __user *ufh, in handle_to_path() 342 struct file_handle f_handle; in handle_to_path() 343 struct file_handle *handle __free(kfree) = NULL; in handle_to_path() 347 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in handle_to_path() [all …]
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | ns_active_ref_test.c | 37 struct file_handle *handle; in TEST() 89 struct file_handle *handle; in TEST() 123 handle = (struct file_handle *)buf; in TEST() 154 handle = (struct file_handle *)buf; in TEST() 169 struct file_handle *handle; in TEST() 208 handle = (struct file_handle *)buf; in TEST() 235 handle = (struct file_handle *)buf; in TEST() 292 struct file_handle *handle; in TEST() 343 handle = (struct file_handle *)buf; in TEST() 369 handle = (struct file_handle *)buf; in TEST() [all …]
|
| H A D | file_handle_test.c | 25 struct file_handle *handle; in TEST() 80 struct file_handle *handle; in TEST() 130 struct file_handle *handle; in TEST() 180 struct file_handle *handle; in TEST() 230 struct file_handle *handle; in TEST() 280 struct file_handle *handle; in TEST() 330 struct file_handle *handle; in TEST() 382 struct file_handle *handle; in TEST() 434 struct file_handle *handle; in TEST() 563 struct file_handle *handle; in TEST() [all …]
|
| H A D | siocgskns_test.c | 796 struct file_handle *handle; in TEST() 801 handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle)); in TEST() 1002 struct file_handle *handle; in TEST() 1006 handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle)); in TEST() 1318 struct file_handle *handle; in TEST() 1323 handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle)); in TEST()
|
| H A D | listns_test.c | 95 struct file_handle *fh; in TEST() 98 fh = (struct file_handle *)malloc(sizeof(*fh) + sizeof(nsfh)); in TEST()
|
| /linux/tools/build/feature/ |
| H A D | test-file-handle.c | 10 struct file_handle fh; in main()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | cgroup_helpers.c | 480 struct file_handle *fhp, *fhp2; in get_cgroup_id_from_path() 497 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id_from_path()
|
| /linux/fs/notify/ |
| H A D | fdinfo.c | 45 DEFINE_FLEX(struct file_handle, f, f_handle, handle_bytes, MAX_HANDLE_SZ); in show_mark_fhandle()
|
| /linux/tools/perf/util/ |
| H A D | cgroup.c | 55 struct file_handle fh; in __read_cgroup_id()
|
| H A D | synthetic-events.c | 561 struct file_handle fh; in perf_event__synthesize_cgroup()
|
| /linux/include/linux/ |
| H A D | syscalls.h | 64 struct file_handle; 895 struct file_handle __user *handle, 898 struct file_handle __user *handle,
|
| H A D | fs.h | 1302 struct file_handle { struct
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 214 (sizeof(struct fanotify_event_info_fid) + sizeof(struct file_handle)) 553 struct file_handle handle = { }; in copy_fid_info_to_user()
|