Searched defs:file_ops (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/vfs/include/aos/ |
A D | vfs.h | 94 struct file_ops { struct 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); [all …]
|
/AliOS-Things-master/components/amp_adapter/portfiles/aos/ |
A D | vfs.h | 94 struct file_ops { struct 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); [all …]
|
/AliOS-Things-master/components/amp_adapter/ |
A D | vfs.h | 94 struct file_ops { struct 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); [all …]
|
Completed in 6 milliseconds