Lines Matching refs:drv
31 struct part_driver *drv = in part_driver_lookup_type() local
37 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
47 for (entry = drv; entry != drv + n_ents; entry++) { in part_driver_lookup_type()
237 struct part_driver *drv = in part_init() local
245 for (entry = drv; entry != drv + n_ents; entry++) { in part_init()
310 struct part_driver *drv; in part_print() local
312 drv = part_driver_lookup_type(dev_desc); in part_print()
313 if (!drv) { in part_print()
319 PRINTF("## Testing for valid %s partition ##\n", drv->name); in part_print()
320 print_part_header(drv->name, dev_desc); in part_print()
321 if (drv->print) in part_print()
322 drv->print(dev_desc); in part_print()
331 struct part_driver *drv; in part_get_info() local
341 drv = part_driver_lookup_type(dev_desc); in part_get_info()
342 if (!drv) { in part_get_info()
347 if (!drv->get_info) { in part_get_info()
349 drv->name); in part_get_info()
352 if (drv->get_info(dev_desc, part, info) == 0) { in part_get_info()
353 PRINTF("## Valid %s partition found ##\n", drv->name); in part_get_info()