Revision c87c0672 block.c
b/block.c | ||
---|---|---|
55 | 55 |
int ret; |
56 | 56 |
} BlockDriverAIOCBSync; |
57 | 57 |
|
58 |
static BlockDriverAIOCB *bdrv_aio_read(BlockDriverState *bs, |
|
59 |
int64_t sector_num, uint8_t *buf, int nb_sectors, |
|
60 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
61 |
static BlockDriverAIOCB *bdrv_aio_write(BlockDriverState *bs, |
|
62 |
int64_t sector_num, const uint8_t *buf, int nb_sectors, |
|
63 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
58 | 64 |
static BlockDriverAIOCB *bdrv_aio_read_em(BlockDriverState *bs, |
59 | 65 |
int64_t sector_num, uint8_t *buf, int nb_sectors, |
60 | 66 |
BlockDriverCompletionFunc *cb, void *opaque); |
... | ... | |
1370 | 1376 |
cb, opaque, 1); |
1371 | 1377 |
} |
1372 | 1378 |
|
1373 |
BlockDriverAIOCB *bdrv_aio_read(BlockDriverState *bs, int64_t sector_num, |
|
1379 |
static BlockDriverAIOCB *bdrv_aio_read(BlockDriverState *bs, int64_t sector_num,
|
|
1374 | 1380 |
uint8_t *buf, int nb_sectors, |
1375 | 1381 |
BlockDriverCompletionFunc *cb, void *opaque) |
1376 | 1382 |
{ |
... | ... | |
1393 | 1399 |
return ret; |
1394 | 1400 |
} |
1395 | 1401 |
|
1396 |
BlockDriverAIOCB *bdrv_aio_write(BlockDriverState *bs, int64_t sector_num, |
|
1402 |
static BlockDriverAIOCB *bdrv_aio_write(BlockDriverState *bs, int64_t sector_num,
|
|
1397 | 1403 |
const uint8_t *buf, int nb_sectors, |
1398 | 1404 |
BlockDriverCompletionFunc *cb, void *opaque) |
1399 | 1405 |
{ |
Also available in: Unified diff