Home
last modified time | relevance | path

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

12345

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_cam.c68 cpi->ccb_h.status = CAM_REQ_CMP; in update_sim_properties()
99 cts->ccb_h.status = CAM_REQ_CMP; in get_transport_settings()
124 device->target, lun) != CAM_REQ_CMP) { in os_add_device()
150 device->target, lun) != CAM_REQ_CMP) { in os_remove_device()
324 csio->ccb_h.status = CAM_REQ_CMP; in os_io_response_success()
387 csio->ccb_h.status = CAM_REQ_CMP; in os_raid_response_error()
412 csio->ccb_h.status = CAM_REQ_CMP; in os_raid_response_error()
416 csio->ccb_h.status = CAM_REQ_CMP; in os_raid_response_error()
466 csio->ccb_h.status = CAM_REQ_CMP; in os_aio_response_error()
471 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/nvme/
H A Dnvme_sim.c84 ccb->ccb_h.status = CAM_REQ_CMP; in nvme_sim_nvmeio_done()
173 ccb->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
218 cpi->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
258 cts->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
274 ccb->ccb_h.status = CAM_REQ_CMP; in nvme_sim_action()
351 CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in nvme_sim_attach()
417 cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) { in nvme_sim_ns_added()
433 cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) { in nvme_sim_ns_removed()
/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/ufshci/
H A Dufshci_sim.c57 ccb->ccb_h.status = CAM_REQ_CMP; in ufshci_sim_scsiio_done()
279 ccb->ccb_h.status = CAM_REQ_CMP; in ufshci_cam_action()
283 ccb->ccb_h.status = CAM_REQ_CMP; in ufshci_cam_action()
289 ccb->ccb_h.status = CAM_REQ_CMP; in ufshci_cam_action()
316 ccb->ccb_h.status = CAM_REQ_CMP; in ufshci_cam_action()
323 ccb->ccb_h.status = CAM_REQ_CMP; in ufshci_cam_action()
376 CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in ufshci_sim_attach()
432 cam_sim_path(ctrlr->ufshci_sim), 0, scsi_lun) != CAM_REQ_CMP) { in ufshci_sim_find_periph()
/freebsd/sys/cam/scsi/
H A Dscsi_xpt.c699 return(CAM_REQ_CMP); in proberegister()
1079 if (cam_ccb_status((union ccb *)&cts) != CAM_REQ_CMP) { in proberequestdefaultnegotiation()
1101 if (cam_ccb_status((union ccb *)&cts) != CAM_REQ_CMP) { in proberequestbackoff()
1179 if (cam_ccb_status((union ccb *)&cts) != CAM_REQ_CMP) { in proberequestbackoff()
1191 #define CCB_COMPLETED_OK(ccb) (((ccb).status & CAM_STATUS_MASK) == CAM_REQ_CMP)
1213 if (cam_ccb_status(done_ccb) != CAM_REQ_CMP) { in probedone()
1239 if (cam_ccb_status(done_ccb) == CAM_REQ_CMP) { in probedone()
1355 if (cam_ccb_status(done_ccb) != CAM_REQ_CMP) { in probedone()
1459 if (cam_ccb_status(done_ccb) == CAM_REQ_CMP) { in probedone()
1634 } 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.c243 if (status != CAM_REQ_CMP) { in targioctl()
372 if (status != CAM_REQ_CMP) { in targendislun()
394 if (status != CAM_REQ_CMP) { in targenable()
430 if (status != CAM_REQ_CMP) { in targenable()
443 if (status != CAM_REQ_CMP) { in targenable()
460 return (CAM_REQ_CMP); in targdisable()
470 if (status == CAM_REQ_CMP) in targdisable()
489 return (CAM_REQ_CMP); in targctor()
1055 if (cab.ccb_h.status != CAM_REQ_CMP) { in abort_all_pending()
1063 if (cab.ccb_h.status == CAM_REQ_CMP) { in abort_all_pending()
[all …]
/freebsd/sys/dev/ahci/
H A Dahciem.c137 CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { in ahci_em_attach()
405 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
422 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
453 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
485 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
516 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
535 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
566 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_emulate_ses_on_led()
588 ccb->ccb_h.status = CAM_REQ_CMP; in ahci_em_begin_transaction()
623 ccb->ccb_h.status = CAM_REQ_CMP; in ahciemaction()
[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/contrib/smart/
H A Dfreebsd_dev.c311 ccb->ccb_h.status |= CAM_REQ_CMP; in __device_status_ata()
396 || ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP)) { in device_read_log()
413 if ((ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) { in device_read_log()
460 ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)) { in __device_proto_tunneled()
502 if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) { in __device_get_proto()
606 ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)) { in __device_info_scsi()
637 ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)) { in __device_info_scsi()
688 if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) { in __device_info_nvme()
796 if ((ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) { in __device_get_info()
/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()
603 return (CAM_REQ_CMP); in ctlferegister()
635 if (status != CAM_REQ_CMP) { in ctlfeoninvalidate()
1265 (done_ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) in ctlfedone()
1279 (done_ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP && in ctlfedone()
1290 CAM_REQ_CMP) { in ctlfedone()
1317 case CAM_REQ_CMP: in ctlfedone()
1535 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()
486 done_ccb->ccb_h.status = found ? CAM_REQ_CMP : CAM_REQ_CMP_ERR; in nvme_probe_done()
540 if (cpi.ccb_h.status != CAM_REQ_CMP) { in nvme_scan_lun()
550 request_ccb->ccb_h.status = CAM_REQ_CMP; /* XXX signal error ? */ in nvme_scan_lun()
583 if (status != CAM_REQ_CMP) { in nvme_scan_lun()
733 start_ccb->ccb_h.status = CAM_REQ_CMP; in nvme_dev_advinfo()
803 if ((cts.ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) in nvme_announce_periph_sbuf()
/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()
/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...]
/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()

12345