Lines Matching refs:Stream
71 static int file_io(Stream_t *Stream, char *buf, mt_off_t where, int len,
119 static int file_read(Stream_t *Stream, char *buf, mt_off_t where, size_t len)
123 int result = file_io(Stream, buf, where, len, (iofn) read);
130 static int file_write(Stream_t *Stream, char *buf, mt_off_t where, size_t len)
135 return file_io(Stream, buf, where, len, (iofn) write);
142 result = file_io(Stream, swapping, where, len, (iofn) write);
149 static int file_flush(Stream_t *Stream)
159 static int file_free(Stream_t *Stream)
169 static int file_geom(Stream_t *Stream, struct device *dev,
264 static int file_data(Stream_t *Stream, time_t *date, mt_size_t *size,
317 static int scsi_io(Stream_t *Stream, char *buf,
434 static int scsi_read(Stream_t *Stream, char *buf, mt_off_t where, size_t len)
440 return scsi_io(Stream, buf, where, len, SCSI_IO_READ);
443 static int scsi_write(Stream_t *Stream, char *buf, mt_off_t where, size_t len)
448 return scsi_io(Stream, buf, where, len, SCSI_IO_WRITE);
763 int get_fd(Stream_t *Stream)
775 void *get_extra_data(Stream_t *Stream)