Home
last modified time | relevance | path

Searched refs:VIDPIDLEN (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mt/
H A Dmt.c283 for (i = VIDPIDLEN; i; i--) { in print_config()
307 for (tmp[1] = i = 0; i < VIDPIDLEN; i++) { in print_config()
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dstdef.h369 #define VIDPIDLEN (VIDLEN + PIDLEN) macro
375 char vid[VIDPIDLEN]; /* Vendor id and model (product) id */
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c2161 dp->length = (int)min(vidlen, (VIDPIDLEN - 1)); in st_get_conf_from_st_dot_conf()
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()
2304 for (i = 0; i < VIDPIDLEN - 1; i ++) { in st_get_conf_from_tape_drive()
2765 dp->length = min(strlen(ST_INQUIRY->inq_vid), (VIDPIDLEN - 1)); in st_get_default_conf()
5210 (void) strncpy(mtdt->vid, stdt->vid, VIDPIDLEN - 1); in st_ioctl()