Lines Matching refs:cur_disk
297 if (cur_disk == NULL) {
342 if (cur_disk != NULL)
363 cur_disk = disk;
364 cur_dtype = cur_disk->disk_type;
365 cur_label = cur_disk->label_type;
366 cur_ctlr = cur_disk->disk_ctlr;
367 cur_parts = cur_disk->disk_parts;
368 cur_blksz = cur_disk->disk_lbasize;
375 if ((cur_file = open_disk(cur_disk->disk_path,
378 "Error: can't open selected disk '%s'.\n", cur_disk->disk_name);
432 (cur_disk->label_type == L_TYPE_SOLARIS)) {
434 } else if (cur_disk->label_type == L_TYPE_SOLARIS) {
436 } else if (cur_disk->label_type == L_TYPE_EFI) {
449 if (chk_volname(cur_disk)) {
450 fmt_print("selecting %s: ", cur_disk->disk_name);
451 print_volname(cur_disk);
454 fmt_print("selecting %s\n", cur_disk->disk_name);
552 found_inuse = checkdevinuse(cur_disk->disk_name, (diskaddr_t)-1,
558 (void) copy_solaris_part(&cur_disk->fdisk_part);
561 cur_disk->label_type == L_TYPE_EFI) {