Lines Matching refs:serial_short

86                                   char *serial, char *serial_short, int max_len);
425 *id_search, char *serial, char *serial_short, in check_fill_0x83_id() argument
519 strcpy(serial_short, serial + s); in check_fill_0x83_id()
534 *id_search, char *serial, char *serial_short, int max_len) { in check_fill_0x83_prespc3() argument
546 strncpy(serial_short, serial, max_len-1); in check_fill_0x83_prespc3()
552 char *serial, char *serial_short, int len, in do_scsi_page83_inquiry() argument
604 serial, serial_short, len); in do_scsi_page83_inquiry()
620 serial, serial_short, len, in do_scsi_page83_inquiry()
640 char *serial, char *serial_short, int len) { in do_scsi_page83_prespc3_inquiry() argument
700 char *serial, char *serial_short, int max_len) { in do_scsi_page80_inquiry() argument
737 if (serial_short) { in do_scsi_page80_inquiry()
738 memcpy(serial_short, buf + 4, len); in do_scsi_page80_inquiry()
739 serial_short[len] = '\0'; in do_scsi_page80_inquiry()
807 … if (do_scsi_page80_inquiry(dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len)) { in scsi_get_serial()
815 …if (do_scsi_page83_inquiry(dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len, dev_scsi->… in scsi_get_serial()
823 …tval = do_scsi_page83_prespc3_inquiry(dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len); in scsi_get_serial()
831 …if (do_scsi_page83_inquiry(dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len, dev_scsi->… in scsi_get_serial()
870 …dev_scsi->serial, dev_scsi->serial_short, len, dev_scsi->unit_serial_number, dev_scsi->wwn, dev_sc… in scsi_get_serial()
881 … dev_scsi->serial, dev_scsi->serial_short, len)) { in scsi_get_serial()