Lines Matching refs:io_channel
54 static errcode_t dos_open(const char *dev, int flags, io_channel *channel);
55 static errcode_t dos_close(io_channel channel);
56 static errcode_t dos_set_blksize(io_channel channel, int blksize);
57 static errcode_t dos_read_blk(io_channel channel, unsigned long block,
59 static errcode_t dos_write_blk(io_channel channel, unsigned long block,
61 static errcode_t dos_flush(io_channel channel);
148 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel()
150 io_channel ioch; in alloc_io_channel()
152 ioch = (io_channel)malloc(sizeof(struct struct_io_channel)); in alloc_io_channel()
179 static errcode_t dos_open(const char *dev, int flags, io_channel *channel) in dos_open()
356 static errcode_t dos_close(io_channel channel) in dos_close()
364 static errcode_t dos_set_blksize(io_channel channel, int blksize) in dos_set_blksize()
371 static errcode_t dos_read_blk(io_channel channel, unsigned long block, in dos_read_blk()
408 static errcode_t dos_write_blk(io_channel channel, unsigned long block, in dos_write_blk()
451 static errcode_t dos_flush(io_channel channel) in dos_flush()