Searched refs:fsFops (Results 1 – 7 of 7) sorted by relevance
/kernel/liteos_m/components/fs/vfs/ |
D | vfs_maps.c | 59 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()
|
D | vfs_fs.c | 248 (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 …]
|
D | vfs_maps.h | 53 const struct FileOps *fsFops; member 60 const struct FileOps *fsFops, const struct FsManagement *fsMgt);
|
D | los_fs.h | 140 const struct FileOps *fsFops, const struct FsManagement *fsMgt);
|
/kernel/uniproton/src/fs/vfs/ |
D | vfs_fs.c | 79 (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 …]
|
D | vfs_maps.c | 62 struct TagFileOps *fsFops, struct TagFsManagement *fsMgt) in OsFsRegister() argument 64 if ((fsMops == NULL) || (fsFops == NULL)) { in OsFsRegister() 84 newfs->fsFops = fsFops; in OsFsRegister()
|
D | vfs_maps.h | 31 const struct TagFileOps *fsFops; member 38 struct TagFileOps *fsFops, struct TagFsManagement *fsMgt);
|