|
int | fatfs_2_vfs (int result) |
|
static bool | fatfs_is_last_cluster (FATFS *fs, DWORD cclust) |
|
static int | fatfs_sync (unsigned long mountflags, FATFS *fs) |
|
int | fatfs_hash_cmp (struct Vnode *vp, void *arg) |
| 哈希值比较函数,返回int 更多...
|
|
static DWORD | fatfs_hash (QWORD sect, DWORD dptr, DWORD sclst) |
| 生成hash值的过程 更多...
|
|
static mode_t | fatfs_get_mode (BYTE attribute, mode_t fs_mode) |
|
static enum VnodeType | fatfstype_2_vnodetype (BYTE type) |
| 类型转换 更多...
|
|
static FRESULT | init_cluster (DIR_FILE *pdfp, DIR *dp_new, FATFS *fs, int type, const char *target, DWORD *clust) |
|
static int | fatfs_create_obj (struct Vnode *parent, const char *name, int mode, struct Vnode **vpp, BYTE type, const char *target) |
|
int | fatfs_lookup (struct Vnode *parent, const char *path, int len, struct Vnode **vpp) |
| fat文件系统对 Lookup 接口的实现 更多...
|
|
int | fatfs_create (struct Vnode *parent, const char *name, int mode, struct Vnode **vpp) |
| 创建 fat vnode 节点 更多...
|
|
int | fatfs_open (struct file *filep) |
|
int | fatfs_close (struct file *filep) |
|
int | fatfs_read (struct file *filep, char *buff, size_t count) |
|
static FRESULT | update_dir (DIR *dp, FILINFO *finfo) |
|
off64_t | fatfs_lseek64 (struct file *filep, off64_t offset, int whence) |
|
off_t | fatfs_lseek (struct file *filep, off_t offset, int whence) |
|
static int | update_filbuff (FILINFO *finfo, FIL *wfp, const char *data) |
|
int | fatfs_write (struct file *filep, const char *buff, size_t count) |
|
int | fatfs_fsync (struct file *filep) |
|
int | fatfs_fallocate64 (struct file *filep, int mode, off64_t offset, off64_t len) |
|
static FRESULT | realloc_cluster (FILINFO *finfo, FFOBJID *obj, FSIZE_t size) |
|
int | fatfs_fallocate (struct file *filep, int mode, off_t offset, off_t len) |
|
int | fatfs_truncate64 (struct Vnode *vp, off64_t len) |
|
int | fatfs_truncate (struct Vnode *vp, off_t len) |
|
static int | fat_bind_check (struct Vnode *blk_driver, los_part **partition) |
|
int | fatfs_mount (struct Mount *mnt, struct Vnode *blk_device, const void *data) |
| fat将分区文件系统挂载 举例: mount /dev/mmcblk0p0 /bin1/vs/sd vfat 更多...
|
|
int | fatfs_umount (struct Mount *mnt, struct Vnode **blkdriver) |
|
int | fatfs_sync_adapt (struct Mount *mnt) |
|
int | fatfs_statfs (struct Mount *mnt, struct statfs *info) |
|
static int | GET_SECONDS (WORD ftime) |
|
static int | GET_MINUTES (WORD ftime) |
|
static int | GET_HOURS (WORD ftime) |
|
static int | GET_DAY (WORD fdate) |
|
static int | GET_MONTH (WORD fdate) |
|
static int | GET_YEAR (WORD fdate) |
|
static time_t | fattime_transfer (WORD fdate, WORD ftime) |
|
DWORD | fattime_format (time_t time) |
|
int | fatfs_stat (struct Vnode *vp, struct stat *sp) |
|
void | fatfs_chtime (DIR *dp, struct IATTR *attr) |
|
int | fatfs_chattr (struct Vnode *vp, struct IATTR *attr) |
|
int | fatfs_opendir (struct Vnode *vp, struct fs_dirent_s *idir) |
|
int | fatfs_readdir (struct Vnode *vp, struct fs_dirent_s *idir) |
|
int | fatfs_rewinddir (struct Vnode *vp, struct fs_dirent_s *dir) |
|
int | fatfs_closedir (struct Vnode *vp, struct fs_dirent_s *dir) |
|
static FRESULT | rename_check (DIR *dp_new, FILINFO *finfo_new, DIR *dp_old, FILINFO *finfo_old) |
|
int | fatfs_rename (struct Vnode *old_vnode, struct Vnode *new_parent, const char *oldname, const char *newname) |
|
static int | fatfs_erase (los_part *part, int option) |
|
static int | fatfs_set_part_info (los_part *part) |
| 设置FAT分区信息 更多...
|
|
static FRESULT | fatfs_setlabel (los_part *part) |
|
int | fatfs_mkfs (struct Vnode *device, int sectors, int option) |
|
int | fatfs_mkdir (struct Vnode *parent, const char *name, mode_t mode, struct Vnode **vpp) |
|
int | fatfs_rmdir (struct Vnode *parent, struct Vnode *vp, const char *name) |
|
int | fatfs_reclaim (struct Vnode *vp) |
| 回收节点 更多...
|
|
int | fatfs_unlink (struct Vnode *parent, struct Vnode *vp, const char *name) |
|
int | fatfs_ioctl (struct file *filep, int req, unsigned long arg) |
|
static DWORD | combine_time (FILINFO *finfo) |
|
static UINT | get_oldest_time (DIR_FILE df[], DWORD *oldest_time, UINT len) |
|
static FRESULT | fscheck (DIR *dp) |
|
int | fatfs_fscheck (struct Vnode *vp, struct fs_dirent_s *dir) |
|
int | fatfs_symlink (struct Vnode *parentVnode, struct Vnode **newVnode, const char *path, const char *target) |
|
ssize_t | fatfs_readlink (struct Vnode *vnode, char *buffer, size_t bufLen) |
|
ssize_t | fatfs_readpage (struct Vnode *vnode, char *buff, off_t pos) |
|
ssize_t | fatfs_writepage (struct Vnode *vnode, char *buff, off_t pos, size_t buflen) |
|
| FSMAP_ENTRY (fat_fsmap, "vfat", fatfs_mops, FALSE, TRUE) |
|