Searched refs:mentry (Results 1 – 2 of 2) sorted by relevance
49 static bool IsSkipRemount(const struct mntent mentry) in IsSkipRemount() argument51 if (mentry.mnt_type == NULL || mentry.mnt_dir == NULL) { in IsSkipRemount()54 if (!MntNeedRemount(mentry.mnt_dir)) { in IsSkipRemount()158 static bool DoRemount(struct mntent *mentry) in DoRemount() argument179 mnt = mentry->mnt_dir; in DoRemount()255 static bool DoSystemRemount(struct mntent *mentry) in DoSystemRemount() argument397 struct mntent *mentry = NULL; in RemountRofsOverlay() local403 while (NULL != (mentry = getmntent(fp))) { in RemountRofsOverlay()404 if (IsSkipRemount(*mentry)) { in RemountRofsOverlay()410 if (!DoSystemRemount(mentry)) { in RemountRofsOverlay()[all …]
651 struct mntent *mentry = NULL; in CheckPartitionReady() local659 mentry = getmntent(fp); in CheckPartitionReady()660 while (mentry != NULL) { in CheckPartitionReady()661 if (mentry->mnt_dir != NULL) { in CheckPartitionReady()662 if (strlen(mentry->mnt_dir) == strlen(mntDir) && in CheckPartitionReady()663 strncmp(mentry->mnt_dir, mntDir, strlen(mntDir)) == 0) { in CheckPartitionReady()668 mentry = getmntent(fp); in CheckPartitionReady()