Searched refs:BlockDriver (Results 1 – 9 of 9) sorted by relevance
65 static QLIST_HEAD(, BlockDriver) bdrv_drivers =138 void bdrv_register(BlockDriver *bdrv) in bdrv_register()169 BlockDriver *bdrv_find_format(const char *format_name) in bdrv_find_format()171 BlockDriver *drv1; in bdrv_find_format()180 static int bdrv_is_whitelisted(BlockDriver *drv) in bdrv_is_whitelisted()198 BlockDriver *bdrv_find_whitelisted_format(const char *format_name) in bdrv_find_whitelisted_format()200 BlockDriver *drv = bdrv_find_format(format_name); in bdrv_find_whitelisted_format()204 int bdrv_create(BlockDriver *drv, const char* filename, in bdrv_create()215 BlockDriver *drv; in bdrv_create_file()272 static BlockDriver *find_hdev_driver(const char *filename) in find_hdev_driver()[all …]
145 BlockDriver *drv = NULL; in drive_init()576 BlockDriver *drv = NULL; in do_change_block()
741 BlockDriver *drv = NULL; in drive_init()
10 typedef struct BlockDriver BlockDriver; typedef62 BlockDriver *bdrv_find_protocol(const char *filename);63 BlockDriver *bdrv_find_format(const char *format_name);64 BlockDriver *bdrv_find_whitelisted_format(const char *format_name);65 int bdrv_create(BlockDriver *drv, const char* filename,72 BlockDriver *drv);97 void bdrv_register(BlockDriver *bdrv);
49 struct BlockDriver { struct136 QLIST_ENTRY(BlockDriver) list; argument156 BlockDriver *drv; /* NULL means no media */
241 static BlockDriver bdrv_file = {402 static BlockDriver bdrv_host_device = {
739 static BlockDriver bdrv_file = {1001 static BlockDriver bdrv_host_device = {1116 static BlockDriver bdrv_host_floppy = {1216 static BlockDriver bdrv_host_cdrom = {1339 static BlockDriver bdrv_host_cdrom = {
245 static BlockDriver bdrv_raw = {
1033 BlockDriver *drv = bdrv_find_format("qcow2"); in qcow_create2()1332 static BlockDriver bdrv_qcow2 = {