Home
last modified time | relevance | path

Searched refs:mFs (Results 1 – 6 of 6) sorted by relevance

/kernel/uniproton/src/fs/vfs/
Dvfs_mount.c122 if ((iter->mFs != NULL) && (iter->mFs->fsType != NULL) && in OsVfsFindMountPoint()
123 strcmp(iter->mFs->fsType, fsType) == 0) { in OsVfsFindMountPoint()
150 struct TagFsMap *mFs = NULL; in OsVfsMount() local
164 mFs = OsVfsGetFsMap(filesystemtype); in OsVfsMount()
165 if ((mFs == NULL) || (mFs->fsMops == NULL) || (mFs->fsMops->mount == NULL)) { in OsVfsMount()
181 mp->mFs = mFs; in OsVfsMount()
198 ret = mp->mFs->fsMops->mount(mp, mountflags, data); in OsVfsMount()
206 mp->mFs->fsRefs++; in OsVfsMount()
226 (mp->mFs == NULL) || (mp->mFs->fsMops == NULL) || in OsVfsUmount()
227 (mp->mFs->fsMops->umount == NULL)) { in OsVfsUmount()
[all …]
Dvfs_fs.c79 (mp->mFs->fsFops == NULL) || (mp->mFs->fsFops->open == NULL)) { in OsVfsOpen()
111 file->fFops = mp->mFs->fsFops; in OsVfsOpen()
300 if (mp->mFs->fsFops->stat != NULL) { in OsVfsStat()
301 ret = mp->mFs->fsFops->stat(mp, pathInMp, stat); in OsVfsStat()
345 if (mp->mFs->fsFops->stat != NULL) { in OsVfsStatfs()
346 ret = mp->mFs->fsMops->statfs(pathInMp, buf); in OsVfsStatfs()
373 (mp->mFs->fsFops->unlink == NULL)) { in OsVfsUnlink()
379 ret = mp->mFs->fsFops->unlink(mp, pathInMp); in OsVfsUnlink()
412 (mpOld->mFs->fsFops->unlink == NULL)) { in OsVfsRename()
419 …if ((mpNew == NULL) || (pathInMpNew == NULL) || (*pathInMpNew == '\0') || (mpNew->mFs->fsFops->unl… in OsVfsRename()
[all …]
Dvfs_mount.h33 struct TagFsMap *mFs; /* 系统文件系统信息 */ member
/kernel/liteos_m/components/fs/vfs/
Dvfs_mount.c176 struct FsMap *mFs = NULL; in VfsMountPointInit() local
188 mFs = VfsFsMapGet(fsType); in VfsMountPointInit()
189 if ((mFs == NULL) || (mFs->fsMops == NULL) || (mFs->fsMops->mount == NULL)) { in VfsMountPointInit()
206 mp->mFs = mFs; in VfsMountPointInit()
210 mp->mFs->fsRefs++; in VfsMountPointInit()
243 LOS_ASSERT(mp->mFs != NULL); in VfsRemount()
244 LOS_ASSERT(mp->mFs->fsMops != NULL); in VfsRemount()
245 LOS_ASSERT(mp->mFs->fsMops->mount != NULL); in VfsRemount()
247 return mp->mFs->fsMops->mount(mp, mountflags, data); in VfsRemount()
291 ret = mp->mFs->fsMops->mount(mp, mountflags, data); in mount()
[all …]
Dvfs_fs.c248 (mp->mFs->fsFops == NULL) || (mp->mFs->fsFops->open == NULL)) { in VfsOpen()
283 file->fFops = mp->mFs->fsFops; in VfsOpen()
717 if (mp->mFs->fsFops->stat != NULL) { in stat()
718 ret = mp->mFs->fsFops->stat(mp, pathInMp, stat); in stat()
757 if (mp->mFs->fsMops->statfs != NULL) { in statfs()
758 ret = mp->mFs->fsMops->statfs(pathInMp, buf); in statfs()
784 (mp->mFs->fsFops->unlink == NULL)) { in unlink()
790 ret = mp->mFs->fsFops->unlink(mp, pathInMp); in unlink()
828 (mpOld->mFs->fsFops->unlink == NULL)) { in rename()
835 …if ((mpNew == NULL) || (pathInMpNew == NULL) || (*pathInMpNew == '\0') || (mpNew->mFs->fsFops->unl… in rename()
[all …]
Dvfs_mount.h55 struct FsMap *mFs; /* file system info */ member