/third_party/ltp/include/lapi/ |
D | name_to_handle_at.h | 20 int *mount_id, int flags) in name_to_handle_at() argument 23 mount_id, flags); in name_to_handle_at() 39 int mount_id; in allocate_file_handle() local 45 ret = name_to_handle_at(dfd, pathname, &fh, &mount_id, 0); in allocate_file_handle()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | name_to_handle_at.c | 33 int mount_id, fhsize, flags, dirfd; in name_to_handle_at_0100() local 45 if (name_to_handle_at(dirfd, pathname, fhp, &mount_id, flags) != -1 || errno != EOVERFLOW) { in name_to_handle_at_0100() 55 int result = name_to_handle_at(dirfd, pathname, fhp, &mount_id, flags); in name_to_handle_at_0100() 60 int fd = open_by_handle_at(mount_id, fhp, O_RDONLY); in name_to_handle_at_0100()
|
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/ |
D | name_to_handle_at02.c | 19 static int mount_id, *valid_mount_id = &mount_id, *invalid_mount_id; variable 28 int **mount_id; member 59 TEST(name_to_handle_at(tc->dfd, *tc->pathname, *tc->fhp, *tc->mount_id, in run()
|
D | name_to_handle_at01.c | 83 int fd, mount_id; in run() local 85 TEST(name_to_handle_at(*tc->dfd, tc->pathname, fhp, &mount_id, in run()
|
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/ |
D | open_by_handle_at01.c | 52 int mount_id; in setup() local 64 TEST(name_to_handle_at(file_fd, "", f_fhp, &mount_id, AT_EMPTY_PATH)); in setup() 70 TEST(name_to_handle_at(dir_fd, TEST_FILE, d_fhp, &mount_id, in setup() 77 TEST(name_to_handle_at(AT_FDCWD, TEST_FILE, at_fhp, &mount_id, in setup()
|
D | open_by_handle_at02.c | 46 int mount_id; in setup() local 57 TEST(name_to_handle_at(AT_FDCWD, TEST_FILE, valid_fhp, &mount_id, 0)); in setup() 66 TEST(name_to_handle_at(AT_FDCWD, FOO_SYMLINK, link_fhp, &mount_id, 0)); in setup()
|
/third_party/musl/src/linux/ |
D | name_to_handle_at.c | 6 struct file_handle *handle, int *mount_id, int flags) in name_to_handle_at() argument 9 pathname, handle, mount_id, flags); in name_to_handle_at()
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify.h | 239 int mount_id; in fanotify_get_fid() local 247 if (name_to_handle_at(AT_FDCWD, path, handle, &mount_id, 0) == -1) { in fanotify_get_fid()
|