Home
last modified time | relevance | path

Searched refs:MountPoint (Results 1 - 15 of 15) sorted by relevance

/kernel/liteos_m/components/fs/vfs/
H A Dvfs_mount.h44 struct MountPoint;
47 int (*mount)(struct MountPoint *mp, unsigned long mountflags,
49 int (*umount)(struct MountPoint *mp);
50 int (*umount2)(struct MountPoint *mp, int flag);
54 struct MountPoint { struct
56 struct MountPoint *mNext; /* point to next mount point */
64 extern struct MountPoint *g_mountPoints;
68 struct MountPoint *VfsMpFind(const char *path, const char **pathInMp);
H A Dvfs_mount.c45 struct MountPoint *g_mountPoints = NULL;
47 static void MpDeleteFromList(struct MountPoint *mp) in MpDeleteFromList()
49 struct MountPoint *prev = NULL; in MpDeleteFromList()
67 struct MountPoint *VfsMpFind(const char *path, const char **pathInMp) in VfsMpFind()
69 struct MountPoint *mp = g_mountPoints; in VfsMpFind()
70 struct MountPoint *bestMp = NULL; in VfsMpFind()
128 struct MountPoint *VfsMpFind(const char *path, const char **pathInMp) in VfsMpFind()
130 struct MountPoint *mp = g_mountPoints; in VfsMpFind()
171 STATIC struct MountPoint *VfsMountPointInit(const char *source, const char *target, in VfsMountPointInit()
174 struct MountPoint *m in VfsMountPointInit()
[all...]
H A Dvfs_files.h53 struct MountPoint;
61 int (*stat)(struct MountPoint *, const char *, struct stat *);
63 int (*unlink)(struct MountPoint *, const char *);
64 int (*rename)(struct MountPoint *, const char *, const char *);
70 int (*mkdir)(struct MountPoint *, const char *);
71 int (*rmdir)(struct MountPoint *, const char *);
80 struct MountPoint *fMp;
86 struct MountPoint *dMp;
H A Dvfs_fs.c235 struct MountPoint *mp = NULL; in VfsOpen()
692 struct MountPoint *mp = NULL; in stat()
732 struct MountPoint *mp = NULL; in statfs()
769 struct MountPoint *mp = NULL; in unlink()
801 struct MountPoint *mpOld = NULL; in rename()
802 struct MountPoint *mpNew = NULL; in rename()
885 struct MountPoint *mp = NULL; in opendir()
975 struct MountPoint *mp = NULL; in closedir()
1013 struct MountPoint *mp = NULL; in mkdir()
1046 struct MountPoint *m in rmdir()
[all...]
H A Dvfs_partition.c164 struct MountPoint *iter = NULL; in LOS_PartitionFormat()
/kernel/liteos_m/components/fs/littlefs/
H A Dlfs_adapter.c173 int LfsMount(struct MountPoint *mp, unsigned long mountflags, const void *data) in LfsMount()
220 int LfsUmount(struct MountPoint *mp) in LfsUmount()
245 int LfsUnlink(struct MountPoint *mp, const char *fileName) in LfsUnlink()
268 int LfsMkdir(struct MountPoint *mp, const char *dirName) in LfsMkdir()
293 int LfsRmdir(struct MountPoint *mp, const char *dirName) in LfsRmdir()
461 struct MountPoint *mp = NULL; in LfsRead()
492 struct MountPoint *mp = NULL; in LfsWrite()
523 struct MountPoint *mp = NULL; in LfsSeek()
550 struct MountPoint *mp = NULL; in LfsClose()
576 int LfsRename(struct MountPoint *m
[all...]
/kernel/liteos_m/components/fs/fatfs/
H A Dfatfs.c99 static int Remount(struct MountPoint *mp, unsigned long mountflags) in Remount()
247 int FatfsMount(struct MountPoint *mp, unsigned long mountflags, in FatfsMount()
284 int FatfsUmount(struct MountPoint *mp) in FatfsUmount()
328 int FatfsUmount2(struct MountPoint *mp, int flag) in FatfsUmount2()
530 int FatfsUnlink(struct MountPoint *mp, const char *path) in FatfsUnlink()
562 int FatfsStat(struct MountPoint *mp, const char *path, struct stat *buf) in FatfsStat()
624 int FatfsMkdir(struct MountPoint *mp, const char *path) in FatfsMkdir()
750 int FatfsRmdir(struct MountPoint *mp, const char *path) in FatfsRmdir()
782 int FatfsRename(struct MountPoint *mp, const char *oldName, const char *newName) in FatfsRename()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
H A Dposix_fs_mkdir_test.c73 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_opendir_test.c73 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_stat_test.c91 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_statfs_test.c77 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_unlink_test.c71 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_open_test.c91 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_rename_test.c110 struct MountPoint *mountBak = g_mountPoints;
H A Dposix_fs_fstat_test.c157 struct MountPoint *mountBak = g_mountPoints;

Completed in 10 milliseconds