Lines Matching refs:un
1040 writablity (*un_wormable) (struct scsi_tape *un); /* worm test fuct */
1342 #define ST_SCSI_DEVP (un->un_sd)
1349 #define BSD_BEHAVIOR (getminor(un->un_dev) & MT_BSD)
1350 #define SVR4_BEHAVIOR ((getminor(un->un_dev) & MT_BSD) == 0)
1358 #define USCSI_CMD(bp) (((bp) == un->un_sbufp) && (BP_UCMD(bp)))
1360 #define IS_CLOSING(un) ((un)->un_state == ST_STATE_CLOSING || \
1361 ((un)->un_state == ST_STATE_SENSING && \
1362 (un)->un_laststate == ST_STATE_CLOSING))
1369 un->un_errno = error; }
1442 register struct scsi_tape *un; \
1446 if ((un = ddi_get_soft_state(st_state, instance)) == NULL) \