Lines Matching refs:fp
95 int (*open)(inode_t *node, file_t *fp);
96 int (*close)(file_t *fp);
97 ssize_t (*read)(file_t *fp, void *buf, size_t nbytes);
98 ssize_t (*write)(file_t *fp, const void *buf, size_t nbytes);
99 int (*ioctl)(file_t *fp, int cmd, unsigned long arg);
100 int (*poll)(file_t *fp, int flag, poll_notify_t notify, void *fd, void *arg);
101 uint32_t (*lseek)(file_t *fp, int64_t off, int32_t whence);
102 int (*stat)(file_t *fp, const char *path, struct aos_stat *st);
103 void* (*mmap)(file_t *fp, size_t len);
104 int (*access)(file_t *fp, const char *path, int amode);
111 int (*open)(file_t *fp, const char *path, int flags);
112 int (*close)(file_t *fp);
113 ssize_t (*read)(file_t *fp, char *buf, size_t len);
114 ssize_t (*write)(file_t *fp, const char *buf, size_t len);
115 off_t (*lseek)(file_t *fp, off_t off, int whence);
116 int (*sync)(file_t *fp);
117 int (*stat)(file_t *fp, const char *path, struct aos_stat *st);
118 int (*fstat)(file_t *fp, struct aos_stat *st);
119 int (*link)(file_t *fp, const char *path1, const char *path2);
120 int (*unlink)(file_t *fp, const char *path);
121 int (*remove)(file_t *fp, const char *path);
122 int (*rename)(file_t *fp, const char *oldpath, const char *newpath);
123 aos_dir_t *(*opendir)(file_t *fp, const char *path);
124 aos_dirent_t *(*readdir)(file_t *fp, aos_dir_t *dir);
125 int (*closedir)(file_t *fp, aos_dir_t *dir);
126 int (*mkdir)(file_t *fp, const char *path);
127 int (*rmdir)(file_t *fp, const char *path);
128 void (*rewinddir)(file_t *fp, aos_dir_t *dir);
129 long (*telldir)(file_t *fp, aos_dir_t *dir);
130 void (*seekdir)(file_t *fp, aos_dir_t *dir, long loc);
131 int (*ioctl)(file_t *fp, int cmd, unsigned long arg);
132 int (*statfs)(file_t *fp, const char *path, struct aos_statfs *suf);
133 int (*access)(file_t *fp, const char *path, int amode);
134 long (*pathconf)(file_t *fp, const char *path, int name);
135 long (*fpathconf)(file_t *fp, int name);
136 int (*utime)(file_t *fp, const char *path, const struct aos_utimbuf *times);