H A D | scsi_serial.c | 148 static int scsi_dump_sense(struct sysfs_device *dev_scsi, struct sg_io_hdr *io) argument 168 info("%s: sense buffer empty", dev_scsi->kernel); 183 dev_scsi->kernel, sb_len, s - sb_len); 194 dev_scsi->kernel, s); 206 dev_scsi->kernel, code); 210 dev_scsi->kernel, sense_key, asc, ascq); 214 dev_scsi->kernel, sb_len, 4 - sb_len); 219 info("%s: old sense key: 0x%x", dev_scsi->kernel, sense_buffer[0] & 0x0f); 222 dev_scsi->kernel, sense_buffer[0], sense_buffer[2]); 224 dev_scsi 243 scsi_dump(struct sysfs_device *dev_scsi, struct sg_io_hdr *io) argument 262 scsi_inquiry(struct sysfs_device *dev_scsi, int fd, unsigned char evpd, unsigned char page, unsigned char *buf, unsigned int buflen) argument 332 do_scsi_page0_inquiry(struct sysfs_device *dev_scsi, int fd, unsigned char *buffer, unsigned int len) argument 381 prepend_vendor_model(struct sysfs_device *dev_scsi, char *serial) argument 419 check_fill_0x83_id(struct sysfs_device *dev_scsi, unsigned char *page_83, const struct scsi_id_search_values *id_search, char *serial, char *serial_short, int max_len) argument 510 check_fill_0x83_prespc3(struct sysfs_device *dev_scsi, unsigned char *page_83, const struct scsi_id_search_values *id_search, char *serial, char *serial_short, int max_len) argument 532 do_scsi_page83_inquiry(struct sysfs_device *dev_scsi, int fd, char *serial, char *serial_short, int len) argument 617 do_scsi_page83_prespc3_inquiry(struct sysfs_device *dev_scsi, int fd, char *serial, char *serial_short, int len) argument 679 do_scsi_page80_inquiry(struct sysfs_device *dev_scsi, int fd, char *serial, char *serial_short, int max_len) argument 720 scsi_std_inquiry(struct sysfs_device *dev_scsi, const char *devname, char *vendor, char *model, char *rev, char *type) argument 751 scsi_get_serial(struct sysfs_device *dev_scsi, const char *devname, int page_code, char *serial, char *serial_short, int len) argument [all...] |