Lines Matching refs:drv1
169 BlockDriver *drv1; in bdrv_find_format() local
170 QLIST_FOREACH(drv1, &bdrv_drivers, list) { in bdrv_find_format()
171 if (!strcmp(drv1->format_name, format_name)) { in bdrv_find_format()
172 return drv1; in bdrv_find_format()
290 BlockDriver *drv1; in bdrv_find_protocol() local
304 drv1 = find_hdev_driver(filename); in bdrv_find_protocol()
305 if (drv1) { in bdrv_find_protocol()
306 return drv1; in bdrv_find_protocol()
324 QLIST_FOREACH(drv1, &bdrv_drivers, list) { in bdrv_find_protocol()
325 if (drv1->protocol_name && in bdrv_find_protocol()
326 !strcmp(drv1->protocol_name, protocol)) { in bdrv_find_protocol()
327 return drv1; in bdrv_find_protocol()
336 BlockDriver *drv1, *drv; in find_image_format() local
366 QLIST_FOREACH(drv1, &bdrv_drivers, list) { in find_image_format()
367 if (drv1->bdrv_probe) { in find_image_format()
368 score = drv1->bdrv_probe(buf, ret, filename); in find_image_format()
371 drv = drv1; in find_image_format()