Lines Matching refs:device_path
284 char *device_path = NULL; in handle_install() local
289 device_path = strdup(argv[2]); in handle_install()
293 if (!stage1_path || !stage2_path || !device_path) { in handle_install()
300 stage1_path, stage2_path, device_path); in handle_install()
302 if (init_device(&install_data.device, device_path) != BC_SUCCESS) { in handle_install()
304 "information for %s\n"), device_path); in handle_install()
334 device_path); in handle_install()
353 free(device_path); in handle_install()
375 char *device_path; in handle_getinfo() local
379 device_path = strdup(argv[0]); in handle_getinfo()
380 if (!device_path) { in handle_getinfo()
387 BOOT_DEBUG("device path: %s\n", device_path); in handle_getinfo()
389 if (init_device(device, device_path) != BC_SUCCESS) { in handle_getinfo()
391 "information for %s\n"), device_path); in handle_getinfo()
404 "%s\n"), device_path); in handle_getinfo()
411 device_path); in handle_getinfo()
437 free(device_path); in handle_getinfo()