Home
last modified time | relevance | path

Searched refs:fsFops (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_m/components/fs/vfs/
Dvfs_maps.c59 const struct FileOps *fsFops, const struct FsManagement *fsMgt) in OsFsRegister() argument
62 if ((fsMops == NULL) || (fsFops == NULL)) { in OsFsRegister()
85 newfs->fsFops = fsFops; in OsFsRegister()
98 const struct FileOps *fsFops, const struct FsManagement *fsMgt) in LOS_FsRegister() argument
106 return OsFsRegister(fsType, fsMops, fsFops, fsMgt); in LOS_FsRegister()
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()
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()
847 if (mpOld->mFs->fsFops->rename != NULL) { in rename()
848 ret = mpOld->mFs->fsFops->rename(mpOld, pathInMpOld, pathInMpNew); in rename()
[all …]
Dvfs_maps.h53 const struct FileOps *fsFops; member
60 const struct FileOps *fsFops, const struct FsManagement *fsMgt);
Dlos_fs.h140 const struct FileOps *fsFops, const struct FsManagement *fsMgt);
/kernel/uniproton/src/fs/vfs/
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()
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()
431 if (mpOld->mFs->fsFops->rename != NULL) { in OsVfsRename()
[all …]
Dvfs_maps.c62 struct TagFileOps *fsFops, struct TagFsManagement *fsMgt) in OsFsRegister() argument
64 if ((fsMops == NULL) || (fsFops == NULL)) { in OsFsRegister()
84 newfs->fsFops = fsFops; in OsFsRegister()
Dvfs_maps.h31 const struct TagFileOps *fsFops; member
38 struct TagFileOps *fsFops, struct TagFsManagement *fsMgt);