Lines Matching refs:mPath
99 mPath = StringPrintf("/mnt/expand/%s", mFsUuid.c_str()); in doMount()
100 setPath(mPath); in doMount()
102 if (PrepareDir(mPath, 0700, AID_ROOT, AID_ROOT)) { in doMount()
103 PLOG(ERROR) << getId() << " failed to create mount point " << mPath; in doMount()
108 int res = ext4::Check(mDmDevPath, mPath); in doMount()
116 if (ext4::Mount(mDmDevPath, mPath, false, false, true)) { in doMount()
130 if (f2fs::Mount(mDmDevPath, mPath)) { in doMount()
140 LOG(VERBOSE) << "Starting restorecon of " << mPath; in doMount()
144 property_set("selinux.restorecon_recursive", mPath.c_str()); in doMount()
149 if (strcmp(mPath.c_str(), value) == 0) { in doMount()
156 LOG(VERBOSE) << "Finished restorecon of " << mPath; in doMount()
159 if (PrepareDir(mPath + "/app", 0771, AID_SYSTEM, AID_SYSTEM) || in doMount()
160 PrepareDir(mPath + "/user", 0711, AID_SYSTEM, AID_SYSTEM) || in doMount()
161 PrepareDir(mPath + "/user_de", 0711, AID_SYSTEM, AID_SYSTEM) || in doMount()
162 PrepareDir(mPath + "/media", 0770, AID_MEDIA_RW, AID_MEDIA_RW) || in doMount()
163 PrepareDir(mPath + "/media/0", 0770, AID_MEDIA_RW, AID_MEDIA_RW) || in doMount()
164 PrepareDir(mPath + "/local", 0751, AID_ROOT, AID_ROOT) || in doMount()
165 PrepareDir(mPath + "/local/tmp", 0771, AID_SHELL, AID_SHELL)) { in doMount()
172 std::string mediaPath(mPath + "/media"); in doMount()
182 ForceUnmount(mPath); in doUnmount()
184 if (TEMP_FAILURE_RETRY(rmdir(mPath.c_str()))) { in doUnmount()
185 PLOG(ERROR) << getId() << " failed to rmdir mount point " << mPath; in doUnmount()