Lines Matching refs:BlockDriverState
76 static int raw_open(BlockDriverState *bs, const char *filename, int flags) in raw_open()
112 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read()
133 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write()
154 static void raw_flush(BlockDriverState *bs) in raw_flush()
160 static void raw_close(BlockDriverState *bs) in raw_close()
166 static int raw_truncate(BlockDriverState *bs, int64_t offset) in raw_truncate()
180 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength()
283 static int find_device_type(BlockDriverState *bs, const char *filename) in find_device_type()
318 static int hdev_open(BlockDriverState *bs, const char *filename, int flags) in hdev_open()
369 static int raw_is_inserted(BlockDriverState *bs)
374 static int raw_media_changed(BlockDriverState *bs)
379 static int raw_eject(BlockDriverState *bs, int eject_flag)
394 static int raw_set_locked(BlockDriverState *bs, int locked)