Lines Matching refs:path
185 int Volume::createDeviceNode(const char *path, int major, int minor) { in createDeviceNode() argument
188 if (mknod(path, mode, dev) < 0) { in createDeviceNode()
250 bool Volume::isMountpointMounted(const char *path) { in isMountpointMounted() argument
265 if (!strcmp(mount_path, path)) { in isMountpointMounted()
471 int Volume::doUnmount(const char *path, bool force) { in doUnmount() argument
475 SLOGD("Unmounting {%s}, force = %d", path, force); in doUnmount()
479 if (!umount(path) || errno == EINVAL || errno == ENOENT) { in doUnmount()
480 SLOGI("%s sucessfully unmounted", path); in doUnmount()
495 path, strerror(errno), retries, action); in doUnmount()
497 Process::killProcessesWithOpenFiles(path, action); in doUnmount()
501 SLOGE("Giving up on unmount %s (%s)", path, strerror(errno)); in doUnmount()