Lines Matching refs:io_channel
55 static errcode_t dos_open(const char *dev, int flags, io_channel *channel);
56 static errcode_t dos_close(io_channel channel);
57 static errcode_t dos_set_blksize(io_channel channel, int blksize);
58 static errcode_t dos_read_blk(io_channel channel, unsigned long block,
60 static errcode_t dos_write_blk(io_channel channel, unsigned long block,
62 static errcode_t dos_flush(io_channel channel);
150 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel()
152 io_channel ioch; in alloc_io_channel()
154 ioch = (io_channel)malloc(sizeof(struct struct_io_channel)); in alloc_io_channel()
181 static errcode_t dos_open(const char *dev, int flags, io_channel *channel) in dos_open()
358 static errcode_t dos_close(io_channel channel) in dos_close()
366 static errcode_t dos_set_blksize(io_channel channel, int blksize) in dos_set_blksize()
373 static errcode_t dos_read_blk(io_channel channel, unsigned long block, in dos_read_blk()
410 static errcode_t dos_write_blk(io_channel channel, unsigned long block, in dos_write_blk()
453 static errcode_t dos_flush(io_channel channel) in dos_flush()