Lines Matching refs:mountp

343 static int littlefs_unlink(struct fs_mount_t *mountp, const char *path)  in littlefs_unlink()  argument
345 struct fs_littlefs *fs = mountp->fs_data; in littlefs_unlink()
347 path = fs_impl_strip_prefix(path, mountp); in littlefs_unlink()
357 static int littlefs_rename(struct fs_mount_t *mountp, const char *from, in littlefs_rename() argument
360 struct fs_littlefs *fs = mountp->fs_data; in littlefs_rename()
362 from = fs_impl_strip_prefix(from, mountp); in littlefs_rename()
363 to = fs_impl_strip_prefix(to, mountp); in littlefs_rename()
454 static int littlefs_mkdir(struct fs_mount_t *mountp, const char *path) in littlefs_mkdir() argument
456 struct fs_littlefs *fs = mountp->fs_data; in littlefs_mkdir()
458 path = fs_impl_strip_prefix(path, mountp); in littlefs_mkdir()
537 static int littlefs_stat(struct fs_mount_t *mountp, in littlefs_stat() argument
540 struct fs_littlefs *fs = mountp->fs_data; in littlefs_stat()
542 path = fs_impl_strip_prefix(path, mountp); in littlefs_stat()
559 static int littlefs_statvfs(struct fs_mount_t *mountp, in littlefs_statvfs() argument
562 struct fs_littlefs *fs = mountp->fs_data; in littlefs_statvfs()
569 path = fs_impl_strip_prefix(path, mountp); in littlefs_statvfs()
930 static int littlefs_mount(struct fs_mount_t *mountp) in littlefs_mount() argument
933 struct fs_littlefs *fs = mountp->fs_data; in littlefs_mount()
939 ret = littlefs_init_fs(fs, mountp->storage_dev, mountp->flags); in littlefs_mount()
947 (mountp->flags & FS_MOUNT_FLAG_NO_FORMAT) == 0) { in littlefs_mount()
948 if ((mountp->flags & FS_MOUNT_FLAG_READ_ONLY) == 0) { in littlefs_mount()
973 LOG_INF("%s mounted", mountp->mnt_point); in littlefs_mount()
1023 static int littlefs_unmount(struct fs_mount_t *mountp) in littlefs_unmount() argument
1025 struct fs_littlefs *fs = mountp->fs_data; in littlefs_unmount()
1032 if (!littlefs_on_blkdev(mountp->flags)) { in littlefs_unmount()
1040 LOG_INF("%s unmounted", mountp->mnt_point); in littlefs_unmount()