Searched refs:tem_dp (Results 1 – 1 of 1) sorted by relevance
2277 struct st_drivetype *tem_dp; in st_get_conf_from_tape_drive() local2292 tem_dp = kmem_zalloc(sizeof (struct st_drivetype), KM_SLEEP); in st_get_conf_from_tape_drive()2297 bcopy(vidpid, tem_dp->name, VIDPIDLEN); in st_get_conf_from_tape_drive()2298 tem_dp->name[VIDPIDLEN] = '\0'; in st_get_conf_from_tape_drive()2299 tem_dp->length = min(strlen(ST_INQUIRY->inq_vid), (VIDPIDLEN - 1)); in st_get_conf_from_tape_drive()2300 (void) strncpy(tem_dp->vid, ST_INQUIRY->inq_vid, tem_dp->length); in st_get_conf_from_tape_drive()2305 if (tem_dp->name[i] < ' ' || tem_dp->name[i] > '~') { in st_get_conf_from_tape_drive()2306 tem_dp->name[i] = '.'; in st_get_conf_from_tape_drive()2329 tem_dp->options |= ST_MODE_SEL_COMP; in st_get_conf_from_tape_drive()2335 tem_dp->options |= ST_VARIABLE; in st_get_conf_from_tape_drive()[all …]