| scsictl.c | 723 } evpdbuf; local in function:device_identify 774 scsi_command(fd, &cmd, sizeof(cmd), &evpdbuf, sizeof(evpdbuf), 777 len = be16dec(evpdbuf.h.length); 778 if (len > sizeof(evpdbuf.d)) 781 has_serial = memchr(evpdbuf.d, SINQ_VPD_SERIAL, len) != NULL; 782 has_device_id = memchr(evpdbuf.d, SINQ_VPD_DEVICE_ID, len) != NULL; 788 scsi_command(fd, &cmd, sizeof(cmd), &evpdbuf, sizeof(evpdbuf), 791 len = be16dec(evpdbuf.h.length) [all...] |