Lines Matching defs:cpi
2607 struct ccb_pathinq cpi;
2615 xpt_path_inq(&cpi, &path);
2618 &path, &cpi);
4006 struct ccb_pathinq cpi;
4055 xpt_path_inq(&cpi, path);
4057 if (cpi.ccb_h.status == CAM_REQ_CMP) {
4061 if ((*xpt)->xport == cpi.transport) {
4068 "No transport found for %d\n", cpi.transport);
4077 xpt_async(AC_PATH_REGISTERED, path, &cpi);
4078 if ((cpi.hba_misc & PIM_NOSCAN) == 0) {
5289 struct ccb_pathinq *cpi;
5291 cpi = &work_ccb->cpi;
5292 cpi->version_num = 1; /* XXX??? */
5293 cpi->hba_inquiry = 0;
5294 cpi->target_sprt = 0;
5295 cpi->hba_misc = 0;
5296 cpi->hba_eng_cnt = 0;
5297 cpi->max_target = 0;
5298 cpi->max_lun = 0;
5299 cpi->initiator_id = 0;
5300 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
5301 strlcpy(cpi->hba_vid, "", HBA_IDLEN);
5302 strlcpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
5303 cpi->unit_number = sim->unit_number;
5304 cpi->bus_id = sim->bus_id;
5305 cpi->base_transfer_speed = 0;
5306 cpi->protocol = PROTO_UNSPECIFIED;
5307 cpi->protocol_version = PROTO_VERSION_UNSPECIFIED;
5308 cpi->transport = XPORT_UNSPECIFIED;
5309 cpi->transport_version = XPORT_VERSION_UNSPECIFIED;
5310 cpi->ccb_h.status = CAM_REQ_CMP;