Lines Matching refs:device_path
601 char *device_path = NULL; in handle_install() local
605 device_path = strdup(argv[1]); in handle_install()
607 if (!device_path || !bootblock) { in handle_install()
613 BOOT_DEBUG("device path: %s, bootblock file path: %s\n", device_path, in handle_install()
617 if (init_device(&install_data.device, device_path) != BC_SUCCESS) { in handle_install()
619 device_path); in handle_install()
644 device_path); in handle_install()
656 free(device_path); in handle_install()
679 char *device_path; in handle_getinfo() local
683 device_path = strdup(argv[0]); in handle_getinfo()
684 if (!device_path) { in handle_getinfo()
691 BOOT_DEBUG("device path: %s\n", device_path); in handle_getinfo()
693 if (init_device(device, device_path) != BC_SUCCESS) { in handle_getinfo()
695 "information from %s\n"), device_path); in handle_getinfo()
708 "%s\n"), device_path); in handle_getinfo()
715 "bootblock?) \n", device_path); in handle_getinfo()
744 free(device_path); in handle_getinfo()