Lines Matching refs:open_file
40 * - socket descriptor (int) at open_file->f_devdata
65 static int tftp_open(const char *path, struct open_file *f);
66 static int tftp_close(struct open_file *f);
68 static int tftp_read(struct open_file *f, void *buf, size_t size, size_t *resid);
69 static int tftp_write(struct open_file *f, void *buf, size_t size, size_t *resid);
70 static off_t tftp_seek(struct open_file *f, off_t offset, int where);
72 static int tftp_stat(struct open_file *f, struct stat *sb);
397 tftp_open(const char *path, struct open_file *f)
460 tftp_read(struct open_file *f, void *addr, size_t size,
531 tftp_close(struct open_file *f)
547 tftp_write(struct open_file *f __unused, void *start __unused, size_t size __unused,
554 tftp_stat(struct open_file *f, struct stat *sb)
568 tftp_seek(struct open_file *f, off_t offset, int where)