Revision f3d54fc4 block.h
b/block.h | ||
---|---|---|
78 | 78 |
int bdrv_truncate(BlockDriverState *bs, int64_t offset); |
79 | 79 |
int64_t bdrv_getlength(BlockDriverState *bs); |
80 | 80 |
void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr); |
81 |
void bdrv_guess_geometry(BlockDriverState *bs, int *pcyls, int *pheads, int *psecs); |
|
81 | 82 |
int bdrv_commit(BlockDriverState *bs); |
82 | 83 |
/* async block I/O */ |
83 | 84 |
typedef struct BlockDriverAIOCB BlockDriverAIOCB; |
Also available in: Unified diff