Home
last modified time | relevance | path

Searched defs:filep (Results 1 – 25 of 36) sorted by relevance

12

/third_party/NuttX/drivers/bch/
Dbchdev_driver.c84 static int bch_open(struct file *filep) in bch_open()
115 static int bch_close(struct file *filep) in bch_close()
174 static off_t bch_seek(struct file *filep, off_t offset, int whence) in bch_seek()
238 static ssize_t bch_read(struct file *filep, char *buffer, size_t len) in bch_read()
261 static ssize_t bch_write(struct file *filep, const char *buffer, size_t len) in bch_write()
292 static int bch_ioctl(struct file *filep, int cmd, unsigned long arg) in bch_ioctl()
/third_party/NuttX/drivers/usbdev/gadget/
Dusbd_hid.c68 static int hid_open(FAR struct file *filep) in hid_open()
83 static int hid_close(FAR struct file *filep) in hid_close()
209 static ssize_t hid_poll(FAR struct file *filep, poll_table *fds) in hid_poll()
234 static ssize_t hid_read(FAR struct file *filep, FAR char *buffer, size_t buflen) in hid_read()
272 static ssize_t hid_write(FAR struct file *filep, FAR const char *buffer, size_t buflen) in hid_write()
Df_mass_storage_ram.c58 static int ram_open(struct inode *filep) in ram_open()
64 static int ram_close(struct inode *filep) in ram_close()
/third_party/NuttX/drivers/pipes/
Dpipe_common.c169 int pipecommon_open(struct file *filep) in pipecommon_open()
278 int pipecommon_close(struct file *filep) in pipecommon_close()
376 ssize_t pipecommon_read(struct file *filep, char *buffer, size_t len) in pipecommon_read()
536 ssize_t pipecommon_write(struct file *filep, const char *buffer, in pipecommon_write()
698 int pipecommon_poll(struct file *filep, poll_table *table) in pipecommon_poll()
775 int pipecommon_ioctl(struct file *filep, int cmd, unsigned long arg) in pipecommon_ioctl()
Dpipe.c60 static ssize_t pipe_map(struct file* filep, LosVmMapRegion *region) in pipe_map()
131 static int pipe_close(struct file *filep) in pipe_close()
249 struct file *filep = NULL; in pipe() local
Dfifo.c37 static ssize_t fifo_map(struct file* filep, LosVmMapRegion *region) in fifo_map()
/third_party/NuttX/drivers/video/
Dfb.c97 static ssize_t fb_mmap(struct file *filep, LosVmMapRegion *region) in fb_mmap()
133 static int fb_open(struct file *filep) in fb_open()
170 static int fb_close(struct file *filep) in fb_close()
203 static ssize_t fb_read(struct file *filep, char *buffer, size_t len) in fb_read()
248 static ssize_t fb_write(struct file *filep, const char *buffer, in fb_write()
301 static off_t fb_seek(struct file *filep, off_t offset, int whence) in fb_seek()
369 static int fb_ioctl(struct file *filep, int cmd, unsigned long arg) in fb_ioctl()
/third_party/NuttX/fs/vfs/
Dfs_fsync.c50 int file_fsync(struct file *filep) in file_fsync()
98 struct file *filep = NULL; in fsync() local
Dfs_getfilep.c70 static int fs_getfilep_normal(int fd, struct file **filep) in fs_getfilep_normal()
110 int fs_getfilep(int fd, struct file **filep) in fs_getfilep()
Dfs_dupfd.c76 int file_dup(struct file *filep, int minfd) in file_dup()
120 struct file *filep; in fs_dupfd() local
Dfs_truncate64.c60 static int file_truncate64(struct file *filep, off64_t length) in file_truncate64()
138 struct file *filep = NULL; in ftruncate64() local
Dfs_fcntl.c67 int file_vfcntl(struct file *filep, int cmd, va_list ap) in file_vfcntl()
259 struct file *filep = NULL; in fcntl() local
321 struct file *filep = NULL; in fcntl64() local
Dfs_lseek.c58 off_t file_seek(struct file *filep, off_t offset, int whence) in file_seek()
163 struct file *filep; in lseek() local
Dfs_lseek64.c73 off64_t file_seek64(struct file *filep, off64_t offset, int whence) in file_seek64()
180 struct file *filep; in lseek64() local
Dfs_read.c64 ssize_t file_read(struct file *filep, void *buf, size_t nbytes) in file_read()
136 struct file *filep = NULL; in read() local
Dfs_write.c66 ssize_t file_write(struct file *filep, const void *buf, size_t nbytes) in file_write()
160 struct file *filep; in write() local
Dfs_truncate.c44 static int file_truncate(struct file *filep, off_t length) in file_truncate()
124 struct file *filep = NULL; in ftruncate() local
Dfs_pwrite64.c62 static ssize_t file_pwrite64(struct file *filep, const void *buf, in file_pwrite64()
149 struct file *filep; in pwrite64() local
Dfs_pread64.c62 ssize_t file_pread64(struct file *filep, void *buf, size_t nbytes, in file_pread64()
145 struct file *filep; in pread64() local
Dfs_pread.c47 ssize_t file_pread(struct file *filep, void *buf, size_t nbytes, in file_pread()
130 struct file *filep; in pread() local
Dfs_pwrite.c47 ssize_t file_pwrite(struct file *filep, const void *buf, in file_pwrite()
134 struct file *filep; in pwrite() local
Dfs_ioctl.c81 struct file *filep; in fs_ioctl() local
/third_party/NuttX/fs/inode/
Dfs_files.c142 void file_hold(struct file *filep) in file_hold()
159 void file_release(struct file *filep) in file_release()
187 static int _files_close(struct file *filep) in _files_close()
425 struct file *filep = NULL; in files_allocate() local
552 struct file *filep = &list->fl_files[fd]; in files_release() local
645 struct file *filep = NULL; in files_refer() local
/third_party/NuttX/fs/romfs/
Dfs_romfs.c214 int romfs_close(struct file *filep) in romfs_close()
239 static ssize_t romfs_read(struct file *filep, char *buffer, in romfs_read()
350 off_t romfs_seek(struct file *filep, off_t offset, int whence) in romfs_seek()
405 loff_t romfs_seek64(struct file *filep, loff_t offset, int whence) in romfs_seek64()
414 static int romfs_ioctl(struct file *filep, int cmd, unsigned long arg) in romfs_ioctl()
/third_party/NuttX/fs/dirent/
Dfs_opendir.c156 struct file *filep = NULL; in do_opendir() local

12