Home
last modified time | relevance | path

Searched refs:mentry (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/startup/init/remount/
H A Dremount_overlay.c49 static bool IsSkipRemount(const struct mntent mentry) in IsSkipRemount() argument
51 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() argument
179 mnt = mentry->mnt_dir; in DoRemount()
255 static bool DoSystemRemount(struct mntent *mentry) in DoSystemRemount() argument
397 struct mntent *mentry = NULL; in RemountRofsOverlay() local
403 while (NULL != (mentry = getmntent(fp))) { in RemountRofsOverlay()
404 if (IsSkipRemount(*mentry)) { in RemountRofsOverlay()
410 if (!DoSystemRemount(mentry)) { in RemountRofsOverlay()
[all …]
/ohos5.0/base/tee/tee_client/services/teecd/src/
H A Dfs_work_agent.c651 struct mntent *mentry = NULL; in CheckPartitionReady() local
659 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()