11 struct tfs_sb_info
*sbi
; /* which fs we belong to */
12 struct inode
*inode
; /* the file-specific information */
13 uint32_t offset
; /* for next read */
16 struct file
*tfs_open(struct tfs_sb_info
*, const char *);
17 int tfs_read(struct file
*, void *, uint32_t);
18 int tfs_write(struct file
*, void *, uint32_t);
19 int tfs_lseek(struct file
*, int, int);
20 void tfs_close(struct file
*);