Home
last modified time | relevance | path

Searched refs:mount_id (Results 1 - 9 of 9) sorted by relevance

/third_party/ltp/include/lapi/
H A Dname_to_handle_at.h20 int *mount_id, int flags) in name_to_handle_at()
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()
18 name_to_handle_at(int dfd, const char *pathname, struct file_handle *handle, int *mount_id, int flags) name_to_handle_at() argument
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dname_to_handle_at.c33 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/
H A Dname_to_handle_at02.c19 static int mount_id, *valid_mount_id = &mount_id, *invalid_mount_id; variable
28 int **mount_id; member
37 {"invalid-mount_id", AT_FDCWD, &valid_path, 0, &valid_fhp, &invalid_mount_id, EFAULT},
59 TEST(name_to_handle_at(tc->dfd, *tc->pathname, *tc->fhp, *tc->mount_id, in run()
H A Dname_to_handle_at01.c83 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/
H A Dopen_by_handle_at01.c52 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()
H A Dopen_by_handle_at02.c46 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/
H A Dname_to_handle_at.c6 struct file_handle *handle, int *mount_id, int flags) in name_to_handle_at()
9 pathname, handle, mount_id, flags); in name_to_handle_at()
5 name_to_handle_at(int dirfd, const char *pathname, struct file_handle *handle, int *mount_id, int flags) name_to_handle_at() argument
/third_party/eudev/src/shared/
H A Dpath-util.c374 int mount_id = -1, mount_id_parent = -1; in fd_is_mount_point() local
404 r = name_to_handle_at(fd, "", &h.handle, &mount_id, AT_EMPTY_PATH); in fd_is_mount_point()
453 return mount_id != mount_id_parent; in fd_is_mount_point()
456 r = fd_fdinfo_mnt_id(fd, "", AT_EMPTY_PATH, &mount_id); in fd_is_mount_point()
466 if (mount_id != mount_id_parent) in fd_is_mount_point()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify.h86 int mount_id; in fanotify_get_fid() local
94 if (name_to_handle_at(AT_FDCWD, path, handle, &mount_id, 0) == -1) { in fanotify_get_fid()

Completed in 3 milliseconds