Lines Matching refs:tptr
357 struct disk_type *type, *tptr, *oldtype;
393 for (tptr = type; tptr != NULL; tptr = tptr->dtype_next) {
397 if (cur_dtype == tptr) {
404 if (tptr->dtype_asciilabel)
406 tptr->dtype_asciilabel);
431 if ((tptr = auto_sense(cur_file, 1, &label)) == NULL) {
437 nblks = (diskaddr_t)tptr->dtype_ncyl *
438 tptr->dtype_nhead * tptr->dtype_nsect;
446 tptr->dtype_asciilabel, tptr->dtype_ncyl,
447 tptr->dtype_acyl, tptr->dtype_nhead,
448 tptr->dtype_nsect);
451 if ((tptr = auto_efi_sense(cur_file, &efi_info))
487 cur_disk->disk_type = tptr;
488 cur_disk->disk_parts = tptr->dtype_plist;
553 tptr = (struct disk_type *)zalloc(sizeof (struct disk_type));
555 cur_ctype->ctype_dlist = tptr;
559 type->dtype_next = tptr;
561 bcopy((char *)d, (char *)tptr, sizeof (disk_type));
562 tptr->dtype_next = NULL;
569 new_partitiontable(tptr, oldtype);
594 tptr = type;
596 if (tptr->dtype_asciilabel) {
599 tptr = tptr->dtype_next;
601 if ((tptr->dtype_asciilabel == NULL) &&
602 (tptr->dtype_next != NULL)) {
603 while (tptr->dtype_asciilabel == NULL) {
604 tptr = tptr->dtype_next;
616 if ((tptr != oldtype) &&
626 if ((tptr != oldtype) &&
637 if ((tptr != oldtype) &&
652 if (tptr != oldtype) {
653 cur_disk->disk_type = tptr;