Home
last modified time | relevance | path

Searched refs:fsMops (Results 1 - 9 of 9) sorted by relevance

/kernel/liteos_m/components/fs/vfs/
H A Dvfs_maps.c58 int OsFsRegister(const char *fsType, const struct MountOps *fsMops, in OsFsRegister() argument
62 if ((fsMops == NULL) || (fsFops == NULL)) { in OsFsRegister()
84 newfs->fsMops = fsMops; in OsFsRegister()
97 int LOS_FsRegister(const char *fsType, const struct MountOps *fsMops, in LOS_FsRegister() argument
106 return OsFsRegister(fsType, fsMops, fsFops, fsMgt); in LOS_FsRegister()
H A Dvfs_mount.c189 if ((mFs == NULL) || (mFs->fsMops == NULL) || (mFs->fsMops->mount == NULL)) { in VfsMountPointInit()
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()
324 if ((mp->mFs == NULL) || (mp->mFs->fsMops == NULL) || in umount()
325 (mp->mFs->fsMops->umount == NULL)) { in umount()
329 ret = mp->mFs->fsMops->umount(mp); in umount()
376 (mp->mFs == NULL) || (mp->mFs->fsMops in umount2()
[all...]
H A Dvfs_maps.h52 const struct MountOps *fsMops; member
59 int OsFsRegister(const char *fsType, const struct MountOps *fsMops,
H A Dlos_fs.h129 * @param fsMops mount operation of the fs.
139 int LOS_FsRegister(const char *fsType, const struct MountOps *fsMops,
H A Dvfs_fs.c757 if (mp->mFs->fsMops->statfs != NULL) { in statfs()
758 ret = mp->mFs->fsMops->statfs(pathInMp, buf); in statfs()
/kernel/uniproton/src/fs/vfs/
H A Dvfs_mount.c165 if ((mFs == NULL) || (mFs->fsMops == NULL) || (mFs->fsMops->mount == NULL)) { in OsVfsMount()
198 ret = mp->mFs->fsMops->mount(mp, mountflags, data); in OsVfsMount()
226 (mp->mFs == NULL) || (mp->mFs->fsMops == NULL) || in OsVfsUmount()
227 (mp->mFs->fsMops->umount == NULL)) { in OsVfsUmount()
232 ret = mp->mFs->fsMops->umount(mp); in OsVfsUmount()
275 (mp->mFs == NULL) || (mp->mFs->fsMops == NULL) || in OsVfsUmount2()
276 (mp->mFs->fsMops->umount2 == NULL)) { in OsVfsUmount2()
286 ret = mp->mFs->fsMops->umount2(mp, flag); in OsVfsUmount2()
H A Dvfs_maps.c61 S32 OsFsRegister(const char *fsType, struct TagMountOps *fsMops, in OsFsRegister() argument
64 if ((fsMops == NULL) || (fsFops == NULL)) { in OsFsRegister()
83 newfs->fsMops = fsMops; in OsFsRegister()
H A Dvfs_maps.h30 const struct TagMountOps *fsMops; member
37 S32 OsFsRegister(const char *fsType, struct TagMountOps *fsMops,
H A Dvfs_fs.c346 ret = mp->mFs->fsMops->statfs(pathInMp, buf); in OsVfsStatfs()

Completed in 5 milliseconds