Lines Matching defs:struct_io_manager
74 struct struct_io_manager { struct
75 errcode_t magic;
76 const char *name;
77 errcode_t (*open)(const char *name, int flags, io_channel *channel);
78 errcode_t (*close)(io_channel channel);
79 errcode_t (*set_blksize)(io_channel channel, int blksize);
80 errcode_t (*read_blk)(io_channel channel, unsigned long block,
82 errcode_t (*write_blk)(io_channel channel, unsigned long block,
84 errcode_t (*flush)(io_channel channel);
85 errcode_t (*write_byte)(io_channel channel, unsigned long offset,
87 errcode_t (*set_option)(io_channel channel, const char *option,
89 errcode_t (*get_stats)(io_channel channel, io_stats *io_stats);
90 errcode_t (*read_blk64)(io_channel channel, unsigned long long block,
92 errcode_t (*write_blk64)(io_channel channel, unsigned long long block,
94 errcode_t (*discard)(io_channel channel, unsigned long long block,
96 errcode_t (*cache_readahead)(io_channel channel,
99 errcode_t (*zeroout)(io_channel channel, unsigned long long block,
101 long reserved[14];