Lines Matching defs:fs_file_system_t
22 struct fs_file_system_t { struct
35 int (*open)(struct fs_file_t *filp, const char *fs_path,
45 ssize_t (*read)(struct fs_file_t *filp, void *dest, size_t nbytes);
54 ssize_t (*write)(struct fs_file_t *filp,
64 int (*lseek)(struct fs_file_t *filp, off_t off, int whence);
71 off_t (*tell)(struct fs_file_t *filp);
79 int (*truncate)(struct fs_file_t *filp, off_t length);
86 int (*sync)(struct fs_file_t *filp);
93 int (*close)(struct fs_file_t *filp);
107 int (*opendir)(struct fs_dir_t *dirp, const char *fs_path);
115 int (*readdir)(struct fs_dir_t *dirp, struct fs_dirent *entry);
122 int (*closedir)(struct fs_dir_t *dirp);
135 int (*mount)(struct fs_mount_t *mountp);
142 int (*unmount)(struct fs_mount_t *mountp);
150 int (*unlink)(struct fs_mount_t *mountp, const char *name);
159 int (*rename)(struct fs_mount_t *mountp, const char *from,
168 int (*mkdir)(struct fs_mount_t *mountp, const char *name);
177 int (*stat)(struct fs_mount_t *mountp, const char *path,
187 int (*statvfs)(struct fs_mount_t *mountp, const char *path,
201 int (*mkfs)(uintptr_t dev_id, void *cfg, int flags);