Lines Matching refs:cur_disk
228 if (emcpower_name(cur_disk->disk_name)) {
229 get_emcpower_pname(name, cur_disk->disk_name);
237 (void) strcpy(np, cur_disk->disk_name);
238 if (strncmp(rdevp, cur_disk->disk_name, strlen(rdevp)) == 0 ||
239 strncmp(devp, cur_disk->disk_name, strlen(devp)) == 0) {
274 if (cur_disk == NULL) {
277 (void) strcpy(np, cur_disk->disk_name);
310 * with "p0" path or cur_disk->disk_path
324 if (cur_disk->fdisk_part.systid == SUNIXOS ||
325 cur_disk->fdisk_part.systid == SUNIXOS2) {
329 dkpath = cur_disk->disk_path;
405 if (get_solaris_part(cur_file, &cur_disk->fdisk_part) == -1) {
407 cur_disk->fdisk_part.numsect = 0; /* No Solaris */
411 * Restore cur_file with cur_disk->disk_path
472 cur_disk->disk_parts = cur_parts;
696 (cur_disk->disk_flags & DSK_LABEL_DIRTY))) {
719 if (strcmp(cur_disk->disk_dkinfo.dki_cname, "lofi") == 0) {
976 if (lel(cur_disk->fdisk_part.numsect) > 0) {
985 if (strcmp(cur_disk->disk_dkinfo.dki_cname, "lofi") == 0) {