Lines Matching defs:dev_match
244 struct device_match_result dev_match;
8756 dev = cam_open_btl(item->dev_match.path_id,
8757 item->dev_match.target_id,
8758 item->dev_match.target_lun, O_RDWR, NULL);
8933 bcopy(dev_result, &item->dev_match,
9156 struct device_match_result *dev_match;
9221 dev_match = &item->dev_match;
9223 if (dev_match->protocol == PROTO_SCSI) {
9224 cam_strvis(vendor, dev_match->inq_data.vendor,
9225 sizeof(dev_match->inq_data.vendor),
9227 cam_strvis(product, dev_match->inq_data.product,
9228 sizeof(dev_match->inq_data.product),
9230 cam_strvis(revision, dev_match->inq_data.revision,
9231 sizeof(dev_match->inq_data.revision),
9235 } else if ((dev_match->protocol == PROTO_ATA)
9236 || (dev_match->protocol == PROTO_SATAPM)) {
9237 cam_strvis(product, dev_match->ident_data.model,
9238 sizeof(dev_match->ident_data.model),
9240 cam_strvis(revision, dev_match->ident_data.revision,
9241 sizeof(dev_match->ident_data.revision),