Lines Matching refs:dfs_file
25 int (*open) (struct dfs_file *fd);
26 int (*close) (struct dfs_file *fd);
27 int (*ioctl) (struct dfs_file *fd, int cmd, void *args);
28 ssize_t (*read) (struct dfs_file *fd, void *buf, size_t count);
29 ssize_t (*write) (struct dfs_file *fd, const void *buf, size_t count);
30 int (*flush) (struct dfs_file *fd);
31 off_t (*lseek) (struct dfs_file *fd, off_t offset);
32 int (*getdents) (struct dfs_file *fd, struct dirent *dirp, uint32_t count);
34 int (*poll) (struct dfs_file *fd, struct rt_pollreq *req);
57 struct dfs_file struct
66 #define DFS_FILE_POS(dfs_file) ((dfs_file)->pos) argument
86 int dfs_file_open(struct dfs_file *fd, const char *path, int flags);
87 int dfs_file_close(struct dfs_file *fd);
88 int dfs_file_ioctl(struct dfs_file *fd, int cmd, void *args);
89 ssize_t dfs_file_read(struct dfs_file *fd, void *buf, size_t len);
90 int dfs_file_getdents(struct dfs_file *fd, struct dirent *dirp, size_t nbytes);
92 ssize_t dfs_file_write(struct dfs_file *fd, const void *buf, size_t len);
93 int dfs_file_flush(struct dfs_file *fd);
94 off_t dfs_file_lseek(struct dfs_file *fd, off_t offset);
98 int dfs_file_ftruncate(struct dfs_file *fd, off_t length);
100 int dfs_file_mmap2(struct dfs_file *fd, struct dfs_mmap2_args *mmap2);