Lines Matching defs:struct_io_manager
73 struct struct_io_manager { struct
74 errcode_t magic;
75 const char *name;
76 errcode_t (*open)(const char *name, int flags, io_channel *channel);
77 errcode_t (*close)(io_channel channel);
78 errcode_t (*set_blksize)(io_channel channel, int blksize);
79 errcode_t (*read_blk)(io_channel channel, unsigned long block,
81 errcode_t (*write_blk)(io_channel channel, unsigned long block,
83 errcode_t (*flush)(io_channel channel);
84 errcode_t (*write_byte)(io_channel channel, unsigned long offset,
86 errcode_t (*set_option)(io_channel channel, const char *option,
88 errcode_t (*get_stats)(io_channel channel, io_stats *io_stats);
89 errcode_t (*read_blk64)(io_channel channel, unsigned long long block,
91 errcode_t (*write_blk64)(io_channel channel, unsigned long long block,
93 errcode_t (*discard)(io_channel channel, unsigned long long block,
95 errcode_t (*cache_readahead)(io_channel channel,
98 errcode_t (*zeroout)(io_channel channel, unsigned long long block,
100 long reserved[14];