Lines Matching refs:errcode_t
52 void (*read_blk)(unsigned long block, int count, errcode_t err);
53 void (*write_blk)(unsigned long block, int count, errcode_t err);
54 void (*set_blksize)(int blksize, errcode_t err);
55 void (*write_byte)(unsigned long block, int count, errcode_t err);
56 void (*read_blk64)(unsigned long long block, int count, errcode_t err);
57 void (*write_blk64)(unsigned long long block, int count, errcode_t err);
66 (unsigned long block, int count, errcode_t err) = 0;
68 (unsigned long block, int count, errcode_t err) = 0;
70 (unsigned long long block, int count, errcode_t err) = 0;
72 (unsigned long long block, int count, errcode_t err) = 0;
74 (int blksize, errcode_t err) = 0;
76 (unsigned long block, int count, errcode_t err) = 0;
114 static errcode_t test_flush(io_channel channel) in test_flush()
117 errcode_t retval = 0; in test_flush()
172 static errcode_t test_open(const char *name, int flags, io_channel *channel) in test_open()
176 errcode_t retval; in test_open()
254 static errcode_t test_close(io_channel channel) in test_close()
257 errcode_t retval = 0; in test_close()
279 static errcode_t test_set_blksize(io_channel channel, int blksize) in test_set_blksize()
282 errcode_t retval = 0; in test_set_blksize()
303 static errcode_t test_read_blk(io_channel channel, unsigned long block, in test_read_blk()
307 errcode_t retval = 0; in test_read_blk()
330 static errcode_t test_write_blk(io_channel channel, unsigned long block, in test_write_blk()
334 errcode_t retval = 0; in test_write_blk()
357 static errcode_t test_read_blk64(io_channel channel, unsigned long long block, in test_read_blk64()
361 errcode_t retval = 0; in test_read_blk64()
384 static errcode_t test_write_blk64(io_channel channel, unsigned long long block, in test_write_blk64()
388 errcode_t retval = 0; in test_write_blk64()
411 static errcode_t test_write_byte(io_channel channel, unsigned long offset, in test_write_byte()
415 errcode_t retval = 0; in test_write_byte()
432 static errcode_t test_set_option(io_channel channel, const char *option, in test_set_option()
436 errcode_t retval = 0; in test_set_option()
459 static errcode_t test_get_stats(io_channel channel, io_stats *stats) in test_get_stats()
462 errcode_t retval = 0; in test_get_stats()
474 static errcode_t test_discard(io_channel channel, unsigned long long block, in test_discard()
478 errcode_t retval = 0; in test_discard()
493 static errcode_t test_cache_readahead(io_channel channel, in test_cache_readahead()
498 errcode_t retval = 0; in test_cache_readahead()
513 static errcode_t test_zeroout(io_channel channel, unsigned long long block, in test_zeroout()
517 errcode_t retval = 0; in test_zeroout()