Lines Matching refs:mnt
33 #define PREFIX_LOWER "/mnt/lower"
38 INIT_STATIC bool MntNeedRemount(const char *mnt)
44 if (strcmp(remountPath[i], mnt) == 0) {
146 INIT_STATIC void OverlayRemountPre(const char *mnt)
148 if (strcmp(mnt, MNT_VENDOR) == 0) {
153 INIT_STATIC void OverlayRemountPost(const char *mnt)
155 if (strcmp(mnt, MNT_VENDOR) == 0) {
163 char *mnt = NULL;
179 mnt = mentry->mnt_dir + strlen(PREFIX_LOWER);
181 mnt = mentry->mnt_dir;
187 ret = FormatExt4(devExt4, mnt);
193 ret = MountExt4Device(devExt4, mnt, true);
200 if (strncmp(mentry->mnt_dir, "/mnt/lower", strlen("/mnt/lower")) == 0) {
204 OverlayRemountPre(mnt);
205 if (MountOverlayOne(mnt)) {
206 INIT_LOGE("Failed to mount overlay on mnt:%s.", mnt);
209 OverlayRemountPost(mnt);
222 const char *rootOverlay = "/mnt/overlay/usr";
223 const char *rootUpper = "/mnt/overlay/usr/upper";
224 const char *rootWork = "/mnt/overlay/usr/work";