Home
last modified time | relevance | path

Searched refs:CAM_REQ_CMP (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_cam.c68 cpi->ccb_h.status = CAM_REQ_CMP; in update_sim_properties()
100 cts->ccb_h.status = CAM_REQ_CMP; in get_transport_settings()
125 device->target, lun) != CAM_REQ_CMP) { in os_add_device()
151 device->target, lun) != CAM_REQ_CMP) { in os_remove_device()
329 csio->ccb_h.status = CAM_REQ_CMP; in os_io_response_success()
392 csio->ccb_h.status = CAM_REQ_CMP; in os_raid_response_error()
417 csio->ccb_h.status = CAM_REQ_CMP; in os_raid_response_error()
421 csio->ccb_h.status = CAM_REQ_CMP; in os_raid_response_error()
471 csio->ccb_h.status = CAM_REQ_CMP; in os_aio_response_error()
476 csio->ccb_h.status = CAM_REQ_CMP; in os_aio_response_error()
[all …]
/freebsd/sys/dev/mmcnull/
H A Dmmcnull.c230 ccb->ccb_h.status = CAM_REQ_CMP; in mmcnull_intr_sd()
246 if (xpt_create_path(&dpath, NULL, cam_sim_path(sc->sim), 0, 0) != CAM_REQ_CMP) { in mmcnull_intr_sdio_newintr()
308 ccb->ccb_h.status = CAM_REQ_CMP; in mmcnull_intr_sdio()
378 cpi->ccb_h.status = CAM_REQ_CMP; in mmcnull_action_sd()
397 ccb->ccb_h.status = CAM_REQ_CMP; in mmcnull_action_sd()
402 ccb->ccb_h.status = CAM_REQ_CMP; in mmcnull_action_sd()
406 ccb->ccb_h.status = CAM_REQ_CMP; in mmcnull_action_sd()
422 ccb->ccb_h.status = CAM_REQ_CMP; in mmcnull_action_sd()
/freebsd/sys/cam/mmc/
H A Dmmc_sim.c69 mmc_sim->ccb->ccb_h.status = CAM_REQ_CMP; in mmc_sim_task()
76 mmc_sim->ccb->ccb_h.status = CAM_REQ_CMP; in mmc_sim_task()
128 ccb->ccb_h.status = CAM_REQ_CMP; in mmc_cam_sim_default_action()
149 ccb->ccb_h.status = CAM_REQ_CMP; in mmc_cam_sim_default_action()
162 ccb->ccb_h.status = CAM_REQ_CMP; in mmc_cam_sim_default_action()
/freebsd/sys/dev/aacraid/
H A Daacraid_cam.c189 target_id, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in aac_cam_rescan()
303 CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in aac_cam_attach()
590 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
599 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
671 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
680 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
688 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
707 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
741 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
816 ccb->ccb_h.status = CAM_REQ_CMP; in aac_container_special_command()
[all …]
/freebsd/sys/cam/ata/
H A Data_pmp.c168 if (status != CAM_REQ_CMP) { in pmpinit()
187 i, 0) == CAM_REQ_CMP) { in pmpfreeze()
209 i, 0) == CAM_REQ_CMP) { in pmprelease()
232 i, 0) == CAM_REQ_CMP) { in pmponinvalidate()
293 if (status != CAM_REQ_CMP in pmpasync()
414 return(CAM_REQ_CMP); in pmpregister()
443 softc->pm_step, 0) == CAM_REQ_CMP) { in pmpstart()
596 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in pmpdone()
754 softc->pm_step, 0) == CAM_REQ_CMP) { in pmpdone()
789 softc->pm_step, 0) == CAM_REQ_CMP) { in pmpdone()
[all …]
/freebsd/sys/dev/nvme/
H A Dnvme_sim.c79 ccb->ccb_h.status = CAM_REQ_CMP; in nvme_sim_nvmeio_done()
168 ccb->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
213 cpi->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
253 cts->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
269 ccb->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
336 CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in nvme_sim_new_controller()
370 cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) { in nvme_sim_ns_change()
/freebsd/sys/cam/scsi/
H A Dscsi_xpt.c680 return(CAM_REQ_CMP); in proberegister()
1043 if (cam_ccb_status((union ccb *)&cts) != CAM_REQ_CMP) { in proberequestdefaultnegotiation()
1065 if (cam_ccb_status((union ccb *)&cts) != CAM_REQ_CMP) { in proberequestbackoff()
1143 if (cam_ccb_status((union ccb *)&cts) != CAM_REQ_CMP) { in proberequestbackoff()
1155 #define CCB_COMPLETED_OK(ccb) (((ccb).status & CAM_STATUS_MASK) == CAM_REQ_CMP)
1175 if (cam_ccb_status(done_ccb) != CAM_REQ_CMP) { in probedone()
1201 if (cam_ccb_status(done_ccb) == CAM_REQ_CMP) { in probedone()
1310 if (cam_ccb_status(done_ccb) != CAM_REQ_CMP) { in probedone()
1412 if (cam_ccb_status(done_ccb) == CAM_REQ_CMP) { in probedone()
1587 } else if (cam_ccb_status(done_ccb) == CAM_REQ_CMP in probedone()
[all …]
H A Dscsi_targ_bh.c165 if (status != CAM_REQ_CMP) { in targbhinit()
192 if (status != CAM_REQ_CMP) { in targbhasync()
239 return (CAM_REQ_CMP); in targbhenlun()
251 if (status != CAM_REQ_CMP) { in targbhenlun()
336 return (CAM_REQ_CMP); in targbhenlun()
349 return CAM_REQ_CMP; in targbhdislun()
382 if (ccb.cel.ccb_h.status != CAM_REQ_CMP) in targbhdislun()
412 if (targbhenlun(periph) != CAM_REQ_CMP) in targbhctor()
414 return (CAM_REQ_CMP); in targbhctor()
H A Dscsi_target.c242 if (status != CAM_REQ_CMP) { in targioctl()
371 if (status != CAM_REQ_CMP) { in targendislun()
393 if (status != CAM_REQ_CMP) { in targenable()
429 if (status != CAM_REQ_CMP) { in targenable()
442 if (status != CAM_REQ_CMP) { in targenable()
459 return (CAM_REQ_CMP); in targdisable()
469 if (status == CAM_REQ_CMP) in targdisable()
488 return (CAM_REQ_CMP); in targctor()
1054 if (cab.ccb_h.status != CAM_REQ_CMP) { in abort_all_pending()
1062 if (cab.ccb_h.status == CAM_REQ_CMP) { in abort_all_pending()
[all …]
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_sim.c60 ccb->ccb_h.status = CAM_REQ_CMP; in nvmf_ccb_done()
202 cpi->ccb_h.status = CAM_REQ_CMP; in nvmf_sim_action()
223 cts->ccb_h.status = CAM_REQ_CMP; in nvmf_sim_action()
231 ccb->ccb_h.status = CAM_REQ_CMP; in nvmf_sim_action()
276 CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in nvmf_init_sim()
303 id) != CAM_REQ_CMP) { in nvmf_sim_rescan_ns()
/freebsd/sys/dev/aac/
H A Daac_cam.c132 target_id, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in aac_cam_rescan()
237 CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in aac_cam_attach()
294 ccb->ccb_h.status = CAM_REQ_CMP; in aac_cam_action()
325 ccb->ccb_h.status = CAM_REQ_CMP; in aac_cam_action()
345 ccb->ccb_h.status = CAM_REQ_CMP; in aac_cam_action()
357 ccb->ccb_h.status = CAM_REQ_CMP; in aac_cam_action()
484 ccb->ccb_h.status = CAM_REQ_CMP; in aac_cam_action()
540 if (ccb->ccb_h.status == CAM_REQ_CMP) { in aac_cam_fix_inquiry()
665 return (CAM_REQ_CMP); in aac_cam_reset_bus()
/freebsd/usr.sbin/mptutil/
H A Dmpt_cam.c101 if (((ccb.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) || in fetch_path_id()
175 if (((ccb.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) || in mpt_query_disk()
257 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in fetch_scsi_capacity()
288 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in fetch_scsi_capacity()
375 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in fetch_scsi_inquiry()
440 if ((ccb.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in mpt_fetch_disks()
558 if ((ccb.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in mpt_rescan_bus()
/freebsd/sys/dev/mfi/
H A Dmfi_cam.c235 cpi->ccb_h.status = CAM_REQ_CMP; in mfip_cam_action()
239 ccb->ccb_h.status = CAM_REQ_CMP; in mfip_cam_action()
242 ccb->ccb_h.status = CAM_REQ_CMP; in mfip_cam_action()
262 ccb->ccb_h.status = CAM_REQ_CMP; in mfip_cam_action()
326 tid, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in mfip_cam_rescan()
417 ccbh->status = CAM_REQ_CMP; in mfip_done()
/freebsd/sys/dev/ocs_fc/
H A Docs_cam.c147 if (CAM_REQ_CMP != xpt_create_path(&path, NULL, cam_sim_path(sim), in ocs_attach_port()
1047 if (CAM_REQ_CMP != xpt_create_path(&ccb->ccb_h.path, xpt_periph, in ocs_add_new_tgt()
1094 if (CAM_REQ_CMP == xpt_create_path(&cpath, NULL, cam_sim_path(fcp->sim), in ocs_delete_target()
1411 ocs_set_ccb_status(ccb, CAM_REQ_CMP); in ocs_scsi_target_io_cb()
1514 ccb_status = CAM_REQ_CMP; in ocs_scsi_initiator_io_cb()
1522 if ((rsp->residual < 0) && (ccb_status == CAM_REQ_CMP)) { in ocs_scsi_initiator_io_cb()
1597 ccb_status = CAM_REQ_CMP; in ocs_scsi_initiator_io_cb()
1609 if ((ccb_status != CAM_REQ_CMP) && in ocs_scsi_initiator_io_cb()
1744 ocs_set_ccb_status(ccb, CAM_REQ_CMP); in ocs_target_io()
2160 cpi->ccb_h.status = CAM_REQ_CMP; in ocs_action()
[all …]
/freebsd/tools/tools/vhba/
H A Dvhba.c103 ccb->ccb_h.status = CAM_REQ_CMP; in vhba_action()
112 ccb->ccb_h.status = CAM_REQ_CMP; in vhba_action()
120 ccb->ccb_h.status = CAM_REQ_CMP; in vhba_action()
140 cpi->ccb_h.status = CAM_REQ_CMP; in vhba_action()
390 if (status != CAM_REQ_CMP) { in vhba_set_status()
/freebsd/sys/cam/ctl/
H A Dscsi_ctl.c247 if (status != CAM_REQ_CMP) { in ctlfeperiphinit()
487 if (status != CAM_REQ_CMP) { in ctlferegister()
493 status = CAM_REQ_CMP; in ctlferegister()
601 return (CAM_REQ_CMP); in ctlferegister()
633 if (status != CAM_REQ_CMP) { in ctlfeoninvalidate()
1263 (done_ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) in ctlfedone()
1277 (done_ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP && in ctlfedone()
1288 CAM_REQ_CMP) { in ctlfedone()
1315 case CAM_REQ_CMP: in ctlfedone()
1533 if (status != CAM_REQ_CMP) { in ctlfe_onoffline()
[all...]
H A Dctl_frontend_cam_sim.c195 CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in cfcs_init()
252 CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in cfcs_onoffline()
411 ccb->ccb_h.status |= CAM_REQ_CMP; in cfcs_datamove()
445 ccb->ccb_h.status |= CAM_REQ_CMP; in cfcs_done()
472 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP && in cfcs_done()
686 ccb->ccb_h.status = CAM_REQ_CMP; in cfcs_action()
691 ccb->ccb_h.status = CAM_REQ_CMP; in cfcs_action()
778 cpi->ccb_h.status = CAM_REQ_CMP; in cfcs_action()
/freebsd/sys/cam/nvme/
H A Dnvme_xpt.c234 return(CAM_REQ_CMP); in nvme_probe_register()
322 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in nvme_probe_done()
484 done_ccb->ccb_h.status = found ? CAM_REQ_CMP : CAM_REQ_CMP_ERR; in nvme_probe_done()
538 if (cpi.ccb_h.status != CAM_REQ_CMP) { in nvme_scan_lun()
548 request_ccb->ccb_h.status = CAM_REQ_CMP; /* XXX signal error ? */ in nvme_scan_lun()
581 if (status != CAM_REQ_CMP) { in nvme_scan_lun()
731 start_ccb->ccb_h.status = CAM_REQ_CMP; in nvme_dev_advinfo()
801 if ((cts.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) in nvme_announce_periph_sbuf()
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_osm.c206 CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in ahc_attach()
249 CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in ahc_attach()
382 ccb->ccb_h.status |= CAM_REQ_CMP; in ahc_done()
422 ccb->ccb_h.status |= CAM_REQ_CMP; in ahc_done()
472 if (status != CAM_REQ_CMP) { in ahc_action()
584 if (status != CAM_REQ_CMP) { in ahc_action()
729 ccb->ccb_h.status = CAM_REQ_CMP; in ahc_action()
763 ccb->ccb_h.status = CAM_REQ_CMP; in ahc_action()
816 cpi->ccb_h.status = CAM_REQ_CMP; in ahc_get_tran_settings()
890 cts->ccb_h.status = CAM_REQ_CMP; in ahc_async()
[all...]
H A Daic79xx_osm.c260 CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in ahd_attach()
372 ccb->ccb_h.status |= CAM_REQ_CMP; in ahd_done()
409 ccb->ccb_h.status |= CAM_REQ_CMP; in ahd_done()
490 if (status != CAM_REQ_CMP) { in ahd_action()
621 if (status != CAM_REQ_CMP) { in ahd_action()
674 ccb->ccb_h.status = CAM_REQ_CMP; in ahd_action()
719 cpi->ccb_h.status = CAM_REQ_CMP; in ahd_set_tran_settings()
843 cts->ccb_h.status = CAM_REQ_CMP; in ahd_get_tran_settings()
909 cts->ccb_h.status = CAM_REQ_CMP; in ahd_async()
1154 if (status != CAM_REQ_CMP) { in ahd_abort_ccb()
[all...]
/freebsd/sbin/camcontrol/
H A Dtimestamp.c119 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in set_restore_flags()
170 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in set_restore_flags()
222 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in report_timestamp()
308 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in set_timestamp()
H A Dcamcontrol.c519 if ((ccb.ccb_h.status != CAM_REQ_CMP) in getdevtree()
650 } while ((ccb.ccb_h.status == CAM_REQ_CMP) in getdevtree()
807 if (advi->ccb_h.status != CAM_REQ_CMP) { in nvme_get_cdata()
912 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in requestsense()
979 if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) { in testunitready()
1042 if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) in scsistart()
1202 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in scsiinquiry()
1276 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in scsiserial()
1331 || ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP)) { in camxferrate()
1862 * Consider any non-CAM_REQ_CMP statu in scsi_cam_pass_16_send()
[all...]
/freebsd/sys/dev/firewire/
H A Dsbp_targ.c385 return (CAM_REQ_CMP); in sbp_targ_find_devs()
404 return (CAM_REQ_CMP); in sbp_targ_find_devs()
415 if (status != CAM_REQ_CMP) { in sbp_targ_en_lun()
457 if (status != CAM_REQ_CMP) { in sbp_targ_en_lun()
469 ccb->ccb_h.status = CAM_REQ_CMP; in sbp_targ_en_lun()
482 ccb->ccb_h.status = CAM_REQ_CMP; in sbp_targ_en_lun()
494 if (ccb->ccb_h.status != CAM_REQ_CMP) { in sbp_targ_en_lun()
676 ccb->ccb_h.status= CAM_REQ_CMP; in sbp_targ_send_status()
866 ccb->ccb_h.status = CAM_REQ_CMP; in sbp_targ_cam_done()
893 if (status != CAM_REQ_CMP) in sbp_targ_abort_ccb()
[all …]
/freebsd/lib/libcam/
H A Dscsi_wrap.c97 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in scsi_wrap_get_physical_element_status()
164 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in scsi_wrap_inquiry()
/freebsd/usr.bin/iscsictl/
H A Dperiphs.c123 if ((ccb.ccb_h.status != CAM_REQ_CMP) in print_periphs()
192 } while ((ccb.ccb_h.status == CAM_REQ_CMP) in print_periphs()

12345