idd
test(idd(nextafter(DBL_MAX, INFINITY)), INFINITY, ex_over);
test(idd(nextafter(INFINITY, 0.0)), DBL_MAX, 0);
test(idd(nexttoward(DBL_MAX, DBL_MAX * 2.0L)), INFINITY, ex_over);
test(idd(nexttoward(INFINITY, DBL_MAX * 2.0L)), DBL_MAX, 0);
static double idd(double);
struct scsi_vpd_id_descriptor *idd;
idd = scsi_get_devid(item->device_id,
if (idd == NULL)
if (scsi_8btou64(idd->identifier) == sasaddr)
struct scsi_vpd_id_descriptor *idd;
idd = scsi_get_devid(did, cdai.provsiz,
if (idd == NULL)
idd = scsi_get_devid(did, cdai.provsiz,
if (idd == NULL)
idd = scsi_get_devid(did, cdai.provsiz,
if (idd == NULL)
idd = scsi_get_devid(did, cdai.provsiz,
idd = NULL;
if (idd == NULL)
idd = scsi_get_devid(did, cdai.provsiz,
if (idd == NULL)
idd = scsi_get_devid(did, cdai.provsiz,
if (idd == NULL)
if ((idd->proto_codeset & SVPD_ID_CODESET_MASK) ==
if (idd->length < len) {
for (l = 0; l < idd->length; l++)
buf[l] = idd->identifier[l] ?
idd->identifier[l] : ' ';
if ((idd->proto_codeset & SVPD_ID_CODESET_MASK) ==
l = strnlen(idd->identifier, idd->length);
bcopy(idd->identifier, buf, l);
if ((idd->id_type & SVPD_ID_TYPE_MASK) ==
SVPD_ID_TYPE_UUID && idd->identifier[0] == 0x10) {
if ((idd->length - 2) * 2 + 4 >= len) {
for (l = 2, o = 0; l < idd->length; l++) {
idd->identifier[l]);
if (idd->length * 2 < len) {
for (l = 0; l < idd->length; l++)
idd->identifier[l]);
struct scsi_vpd_id_descriptor *idd;
idd = scsi_get_devid_desc((struct scsi_vpd_id_descriptor *)
if (idd != NULL) {
if (idd->length == 16) {
memcpy(nsdata->nguid, idd->identifier, 16);
if (idd->length == 8) {
memcpy(nsdata->eui64, idd->identifier, 8);
idd = scsi_get_devid_desc((struct scsi_vpd_id_descriptor *)
if (idd != NULL) {
if (idd->length == 8) {
memcpy(nsdata->eui64, idd->identifier, 8);
struct scsi_vpd_id_descriptor *idd = NULL;
idd = scsi_get_devid_desc((struct scsi_vpd_id_descriptor *)
if (idd == NULL && lun->lun_devid)
idd = scsi_get_devid_desc((struct scsi_vpd_id_descriptor *)
if (idd != NULL) {
memcpy(&cscd->codeset, idd, 4 + idd->length);
struct scsi_vpd_id_descriptor *idd;
idd = (struct scsi_vpd_id_descriptor *)(did + 1);
idd->proto_codeset = SVPD_ID_CODESET_BINARY;
idd->id_type = SVPD_ID_ASSOC_LUN | SVPD_ID_TYPE_EUI64;
idd->length = 16;
bcopy(nvme_data->nguid, idd->identifier, 16);
idd = (struct scsi_vpd_id_descriptor *)
&idd->identifier[16];
idd->proto_codeset = SVPD_ID_CODESET_BINARY;
idd->id_type = SVPD_ID_ASSOC_LUN | SVPD_ID_TYPE_EUI64;
idd->length = 8;
bcopy(nvme_data->eui64, idd->identifier, 8);
struct scsi_vpd_id_descriptor *idd;
idd = scsi_get_devid((struct scsi_vpd_device_id *)cdai.buf,
if (idd == NULL)
scsi_8btou64(idd->identifier), iter->type_index,