Searched defs:mountpoint (Results 1 - 6 of 6) sorted by relevance

/system/extras/f2fs_utils/
H A Df2fs_utils.c61 const char *mountpoint, struct selabel_handle *sehnd)
60 make_f2fs_sparse_fd(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd) argument
/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c57 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ] [ -u ]\n");
70 char *mountpoint = NULL; local
118 mountpoint = optarg;
194 if (!sehnd && mountpoint) {
210 } else if (mountpoint) {
256 exitcode = make_ext4fs_internal(fd, directory, target_out_directory, mountpoint, fs_config_func, gzip,
H A Dmake_ext4fs.c422 const char *mountpoint, struct selabel_handle *sehnd)
424 return make_ext4fs_sparse_fd_directory(fd, len, mountpoint, sehnd, NULL);
428 const char *mountpoint, struct selabel_handle *sehnd,
434 return make_ext4fs_internal(fd, directory, NULL, mountpoint, NULL,
440 const char *mountpoint, struct selabel_handle *sehnd)
442 return make_ext4fs_directory(filename, len, mountpoint, sehnd, NULL);
446 const char *mountpoint, struct selabel_handle *sehnd,
461 status = make_ext4fs_internal(fd, directory, NULL, mountpoint, NULL,
546 static void extract_base_fs_allocations(const char *directory, const char *mountpoint, argument
587 if (strlen(stored_file_name) < strlen(mountpoint)) {
421 make_ext4fs_sparse_fd(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd) argument
427 make_ext4fs_sparse_fd_directory(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory) argument
439 make_ext4fs(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd) argument
445 make_ext4fs_directory(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory) argument
662 generate_base_alloc_file_out(FILE* base_alloc_file_out, char* dir, char* mountpoint, struct block_allocation* p) argument
689 char *mountpoint; local
[all...]
/system/update_engine/common/
H A Dtest_utils.h116 explicit ScopedFilesystemUnmounter(const std::string& mountpoint) argument
117 : mountpoint_(mountpoint),
H A Dutils.cc682 const string& mountpoint,
693 int rc = mount(device.c_str(), mountpoint.c_str(), fstype, mountflags,
699 << " on " << mountpoint << " as " << fstype;
707 bool UnmountFilesystem(const string& mountpoint) { argument
710 if (umount(mountpoint.c_str()) == 0)
717 LOG(INFO) << "Not a mountpoint: " << mountpoint;
720 PLOG(WARNING) << "Error unmounting " << mountpoint << " after " << num_retries
722 if (umount2(mountpoint.c_str(), MNT_DETACH) != 0) {
681 MountFilesystem(const string& device, const string& mountpoint, unsigned long mountflags, const string& type, const string& fs_mount_options) argument
/system/vold/
H A Dcryptfs.c1509 int wait_and_unmount(const char *mountpoint, bool kill) argument
1516 if (umount(mountpoint) == 0) {
1521 /* EINVAL is returned if the directory is not a mountpoint,
1533 vold_killProcessesWithOpenFiles(mountpoint, SIGTERM);
1536 vold_killProcessesWithOpenFiles(mountpoint, SIGKILL);
1544 SLOGD("unmounting %s succeeded\n", mountpoint);
1547 vold_killProcessesWithOpenFiles(mountpoint, 0);
1548 SLOGE("unmounting %s failed: %s\n", mountpoint, strerror(err));

Completed in 324 milliseconds