Lines Matching refs:MountPoint
45 struct MountPoint *g_mountPoints = NULL;
47 static void MpDeleteFromList(struct MountPoint *mp)
49 struct MountPoint *prev = NULL;
67 struct MountPoint *VfsMpFind(const char *path, const char **pathInMp)
69 struct MountPoint *mp = g_mountPoints;
70 struct MountPoint *bestMp = NULL;
128 struct MountPoint *VfsMpFind(const char *path, const char **pathInMp)
130 struct MountPoint *mp = g_mountPoints;
171 STATIC struct MountPoint *VfsMountPointInit(const char *source, const char *target,
174 struct MountPoint *mp = NULL;
200 mp = (struct MountPoint *)LOSCFG_FS_MALLOC_HOOK(sizeof(struct MountPoint) + ssize + tsize);
212 if (source != NULL && strcpy_s((char *)mp + sizeof(struct MountPoint), ssize, source) != EOK) {
218 if (strcpy_s((char *)mp + sizeof(struct MountPoint) + ssize, tsize, target) != EOK) {
223 mp->mDev = source ? (char *)mp + sizeof(struct MountPoint) : NULL;
224 mp->mPath = (char *)mp + sizeof(struct MountPoint) + ssize;
235 struct MountPoint *mp;
271 struct MountPoint *mp = NULL;
311 struct MountPoint *mp = NULL;
349 static void CloseFdsInMp(const struct MountPoint *mp)
366 struct MountPoint *mp = NULL;