Revision 221f715d block.h
b/block.h | ||
---|---|---|
102 | 102 |
void bdrv_aio_cancel(BlockDriverAIOCB *acb); |
103 | 103 |
|
104 | 104 |
/* sg packet commands */ |
105 |
int bdrv_sg_send_command(BlockDriverState *bs, void *buf, int count); |
|
106 |
int bdrv_sg_recv_response(BlockDriverState *bs, void *buf, int count); |
|
107 |
BlockDriverAIOCB *bdrv_sg_aio_read(BlockDriverState *bs, void *buf, int count, |
|
108 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
109 |
BlockDriverAIOCB *bdrv_sg_aio_write(BlockDriverState *bs, void *buf, int count, |
|
110 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
105 |
int bdrv_ioctl(BlockDriverState *bs, unsigned long int req, void *buf); |
|
106 |
BlockDriverAIOCB *bdrv_aio_ioctl(BlockDriverState *bs, |
|
107 |
unsigned long int req, void *buf, |
|
108 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
111 | 109 |
|
112 | 110 |
/* Ensure contents are flushed to disk. */ |
113 | 111 |
void bdrv_flush(BlockDriverState *bs); |
... | ... | |
169 | 167 |
int bdrv_snapshot_list(BlockDriverState *bs, |
170 | 168 |
QEMUSnapshotInfo **psn_info); |
171 | 169 |
char *bdrv_snapshot_dump(char *buf, int buf_size, QEMUSnapshotInfo *sn); |
172 |
int bdrv_ioctl(BlockDriverState *bs, unsigned long int req, void *buf); |
|
173 | 170 |
|
174 | 171 |
char *get_human_readable_size(char *buf, int buf_size, int64_t size); |
175 | 172 |
int path_is_absolute(const char *path); |
Also available in: Unified diff