Home
last modified time | relevance | path

Searched refs:mount_fd (Results 1 – 3 of 3) sorted by relevance

/system/ulib/fs-management/include/fs-management/
A Dmount.h149 zx_status_t fmount(int device_fd, int mount_fd, disk_format_t df,
167 zx_status_t fumount(int mount_fd);
/system/ulib/fs-management/
A Dmount.cpp335 zx_status_t fmount(int device_fd, int mount_fd, disk_format_t df, const mount_options_t* options, in fmount() argument
337 Mounter mounter(mount_fd); in fmount()
356 zx_status_t fumount(int mount_fd) { in fumount() argument
359 fzl::FdioCaller caller{fbl::unique_fd(mount_fd)}; in fumount()
/system/utest/fs-management/
A Dfs-management.cpp368 int mount_fd = open(mount_path, O_RDONLY | O_NOREMOTE | O_ADMIN); in DoubleMountRoot() local
369 ASSERT_GE(mount_fd, 0); in DoubleMountRoot()
372 ASSERT_NE(fmount(fd, mount_fd, DISK_FORMAT_MINFS, &default_mount_options, launch_stdio_async), in DoubleMountRoot()
374 ASSERT_EQ(close(mount_fd), 0); in DoubleMountRoot()
378 mount_fd = open(mount_path, O_RDONLY | O_ADMIN); in DoubleMountRoot()
379 ASSERT_GE(mount_fd, 0); in DoubleMountRoot()
382 ASSERT_NE(fmount(fd, mount_fd, DISK_FORMAT_MINFS, &default_mount_options, launch_stdio_async), in DoubleMountRoot()
384 ASSERT_EQ(close(mount_fd), 0); in DoubleMountRoot()

Completed in 10 milliseconds