Lines Matching refs:io_channel
46 io_channel real;
59 static errcode_t test_open(const char *name, int flags, io_channel *channel);
60 static errcode_t test_close(io_channel channel);
61 static errcode_t test_set_blksize(io_channel channel, int blksize);
62 static errcode_t test_read_blk(io_channel channel, unsigned long block,
64 static errcode_t test_write_blk(io_channel channel, unsigned long block,
66 static errcode_t test_read_blk64(io_channel channel, unsigned long long block,
68 static errcode_t test_write_blk64(io_channel channel, unsigned long long block,
70 static errcode_t test_flush(io_channel channel);
71 static errcode_t test_write_byte(io_channel channel, unsigned long offset,
73 static errcode_t test_set_option(io_channel channel, const char *option,
75 static errcode_t test_get_stats(io_channel channel, io_stats *stats);
124 static void test_dump_block(io_channel channel,
144 static void test_abort(io_channel channel, unsigned long block)
179 static errcode_t test_open(const char *name, int flags, io_channel *channel)
181 io_channel io = NULL;
259 static errcode_t test_close(io_channel channel)
284 static errcode_t test_set_blksize(io_channel channel, int blksize)
306 static errcode_t test_read_blk(io_channel channel, unsigned long block,
333 static errcode_t test_write_blk(io_channel channel, unsigned long block,
360 static errcode_t test_read_blk64(io_channel channel, unsigned long long block,
387 static errcode_t test_write_blk64(io_channel channel, unsigned long long block,
414 static errcode_t test_write_byte(io_channel channel, unsigned long offset,
438 static errcode_t test_flush(io_channel channel)
457 static errcode_t test_set_option(io_channel channel, const char *option,
484 static errcode_t test_get_stats(io_channel channel, io_stats *stats)