Home
last modified time | relevance | path

Searched refs:start_ccb (Results 1 – 21 of 21) sorted by relevance

/freebsd-13.1/sys/cam/mmc/
H A Dmmc_xpt.c302 mmc_action(union ccb *start_ccb) in mmc_action() argument
316 start_ccb->ccb_h.path, start_ccb->crcn.flags, in mmc_action()
317 start_ccb); in mmc_action()
322 mmc_dev_advinfo(start_ccb); in mmc_action()
327 xpt_action_default(start_ccb); in mmc_action()
342 cdai = &start_ccb->cdai; in mmc_dev_advinfo()
603 path = start_ccb->ccb_h.path; in mmcprobe_start()
604 mmcio = &start_ccb->mmcio; in mmcprobe_start()
693 cam_fill_mmcio(&start_ccb->mmcio, in mmcprobe_start()
795 xpt_action(start_ccb); in mmcprobe_start()
[all …]
H A Dmmc_da.c1305 xpt_action(start_ccb); in sdda_start_init()
1413 xpt_action(start_ccb); in sdda_start_init()
1424 xpt_action(start_ccb); in sdda_start_init()
1435 xpt_action(start_ccb); in sdda_start_init()
1448 xpt_action(start_ccb); in sdda_start_init()
1774 xpt_action(start_ccb); in sdda_init_switch_part()
1792 xpt_release_ccb(start_ccb); in sddastart()
1808 xpt_release_ccb(start_ccb); in sddastart()
1868 mmcio = &start_ccb->mmcio; in sddastart()
1900 xpt_release_ccb(start_ccb); in sddastart()
[all …]
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_xpt.c266 nvmeio = &start_ccb->nvmeio; in nvme_probe_start()
301 xpt_action(start_ccb); in nvme_probe_start()
649 nvme_dev_advinfo(union ccb *start_ccb) in nvme_dev_advinfo() argument
658 cdai = &start_ccb->cdai; in nvme_dev_advinfo()
730 start_ccb->ccb_h.status = CAM_REQ_CMP; in nvme_dev_advinfo()
739 nvme_action(union ccb *start_ccb) in nvme_action() argument
744 switch (start_ccb->ccb_h.func_code) { in nvme_action()
749 start_ccb->ccb_h.path, start_ccb->crcn.flags, in nvme_action()
750 start_ccb); in nvme_action()
753 nvme_dev_advinfo(start_ccb); in nvme_action()
[all …]
H A Dnvme_da.c1007 struct ccb_nvmeio *nvmeio = &start_ccb->nvmeio; in ndastart()
1019 xpt_release_ccb(start_ccb); in ndastart()
1061 xpt_release_ccb(start_ccb); in ndastart()
1085 xpt_release_ccb(start_ccb); in ndastart()
1110 start_ccb->ccb_trim = trim; in ndastart()
1113 start_ccb->ccb_state = NDA_CCB_TRIM; in ndastart()
1130 xpt_release_ccb(start_ccb); in ndastart()
1134 start_ccb->ccb_state = NDA_CCB_BUFFER_IO; in ndastart()
1135 start_ccb->ccb_bp = bp; in ndastart()
1137 start_ccb->ccb_h.flags |= CAM_UNLOCKED; in ndastart()
[all …]
/freebsd-13.1/sys/cam/
H A Dcam_xpt.c2596 (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_ccb); in xpt_action()
2645 start_ccb->csio.resid = 0; in xpt_action_default()
2779 cgd = &start_ccb->cgd; in xpt_action_default()
2832 cgdl = &start_ccb->cgdl; in xpt_action_default()
2882 cdm = &start_ccb->cdm; in xpt_action_default()
2945 csa = &start_ccb->csa; in xpt_action_default()
2999 crs = &start_ccb->crs; in xpt_action_default()
3110 xpt_done(start_ccb); in xpt_action_default()
3114 xpt_done(start_ccb); in xpt_action_default()
3127 xpt_done(start_ccb); in xpt_action_default()
[all …]
H A Dcam_xpt.h146 void xpt_pollwait(union ccb *start_ccb, uint32_t timeout);
147 uint32_t xpt_poll_setup(union ccb *start_ccb);
H A Dcam_xpt_internal.h45 typedef void (*xpt_action_func)(union ccb *start_ccb);
H A Dcam_periph.h112 union ccb *start_ccb);
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_da.c3478 xpt_action(start_ccb); in dastart()
3522 xpt_action(start_ccb); in dastart()
3545 xpt_action(start_ccb); in dastart()
3572 xpt_action(start_ccb); in dastart()
3614 xpt_action(start_ccb); in dastart()
3648 xpt_action(start_ccb); in dastart()
3681 xpt_action(start_ccb); in dastart()
3717 xpt_action(start_ccb); in dastart()
3772 xpt_action(start_ccb); in dastart()
3822 xpt_action(start_ccb); in dastart()
[all …]
H A Dscsi_pt.c421 ptstart(struct cam_periph *periph, union ccb *start_ccb) in ptstart() argument
435 xpt_release_ccb(start_ccb); in ptstart()
441 scsi_send_receive(&start_ccb->csio, in ptstart()
452 start_ccb->ccb_h.ccb_state = PT_CCB_BUFFER_IO_UA; in ptstart()
458 LIST_INSERT_HEAD(&softc->pending_ccbs, &start_ccb->ccb_h, in ptstart()
461 start_ccb->ccb_h.ccb_bp = bp; in ptstart()
464 xpt_action(start_ccb); in ptstart()
H A Dscsi_cd.c265 union ccb *start_ccb);
925 csio = &start_ccb->csio; in cdstart()
934 xpt_action(start_ccb); in cdstart()
990 xpt_action(start_ccb); in cdstart()
1009 xpt_release_ccb(start_ccb); in cdstart()
1033 csio = &start_ccb->csio; in cdstart()
1046 xpt_action(start_ccb); in cdstart()
1078 xpt_action(start_ccb); in cdstart()
1101 xpt_action(start_ccb); in cdstart()
1122 xpt_action(start_ccb); in cdstart()
[all …]
H A Dscsi_targ_bh.c442 targbhstart(struct cam_periph *periph, union ccb *start_ccb) in targbhstart() argument
455 xpt_release_ccb(start_ccb); in targbhstart()
467 csio = &start_ccb->csio; in targbhstart()
498 start_ccb->ccb_h.target_id = atio->ccb_h.target_id; in targbhstart()
499 start_ccb->ccb_h.target_lun = atio->ccb_h.target_lun; in targbhstart()
501 start_ccb->ccb_h.ccb_type = TARGBH_CCB_WORKQ; in targbhstart()
502 start_ccb->ccb_h.ccb_atio = atio; in targbhstart()
505 xpt_action(start_ccb); in targbhstart()
H A Dscsi_xpt.c760 csio = &start_ccb->csio; in probestart()
913 start_ccb->csio.data_ptr = NULL; in probestart()
916 probedone(periph, start_ccb); in probestart()
1043 xpt_action(start_ccb); in probestart()
2512 cdai = &start_ccb->cdai; in scsi_dev_advinfo()
2627 start_ccb->ccb_h.path, in scsi_action()
2633 scsi_scan_bus(start_ccb->ccb_h.path->periph, start_ccb); in scsi_action()
2637 start_ccb->ccb_h.path, start_ccb->crcn.flags, in scsi_action()
2638 start_ccb); in scsi_action()
2642 scsi_dev_advinfo(start_ccb); in scsi_action()
[all …]
H A Dscsi_target.c615 targstart(struct cam_periph *periph, union ccb *start_ccb) in targstart() argument
622 CAM_DEBUG(softc->path, CAM_DEBUG_PERIPH, ("targstart %p\n", start_ccb)); in targstart()
626 xpt_release_ccb(start_ccb); in targstart()
632 error = targusermerge(softc, descr, start_ccb); in targstart()
634 error = targsendccb(softc, start_ccb, descr); in targstart()
638 xpt_release_ccb(start_ccb); in targstart()
H A Dscsi_pass.c848 passstart(struct cam_periph *periph, union ccb *start_ccb) in passstart() argument
864 xpt_release_ccb(start_ccb); in passstart()
872 xpt_merge_ccb(start_ccb, &io_req->ccb); in passstart()
873 start_ccb->ccb_h.ccb_type = PASS_CCB_QUEUED_IO; in passstart()
874 start_ccb->ccb_h.ccb_ioreq = io_req; in passstart()
875 start_ccb->ccb_h.cbfcnp = passdone; in passstart()
876 io_req->alloced_ccb = start_ccb; in passstart()
881 xpt_action(start_ccb); in passstart()
H A Dscsi_ch.c540 chstart(struct cam_periph *periph, union ccb *start_ccb) in chstart() argument
549 xpt_release_ccb(start_ccb); in chstart()
576 scsi_mode_sense(&start_ccb->csio, in chstart()
589 start_ccb->ccb_h.ccb_bp = NULL; in chstart()
590 start_ccb->ccb_h.ccb_state = CH_CCB_PROBE; in chstart()
591 xpt_action(start_ccb); in chstart()
H A Dscsi_sa.c603 union ccb *start_ccb);
2771 xpt_release_ccb(start_ccb); in sastart()
2855 xpt_release_ccb(start_ccb); in sastart()
2866 xpt_release_ccb(start_ccb); in sastart()
2884 CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO, in sastart()
2933 scsi_sa_read_write(&start_ccb->csio, 0, sadone, in sastart()
2945 start_ccb->ccb_h.ccb_bp = bp; in sastart()
2947 xpt_action(start_ccb); in sastart()
2989 xpt_release_ccb(start_ccb); in sastart()
2994 scsi_report_supported_opcodes(&start_ccb->csio, in sastart()
[all …]
/freebsd-13.1/sys/cam/ata/
H A Data_xpt.c351 path = start_ccb->ccb_h.path; in aprobestart()
352 ataio = &start_ccb->ataio; in aprobestart()
353 csio = &start_ccb->csio; in aprobestart()
721 xpt_action(start_ccb); in aprobestart()
1733 cdai = &start_ccb->cdai; in ata_dev_advinfo()
1803 start_ccb->ccb_h.path, in ata_action()
1809 ata_scan_bus(start_ccb->ccb_h.path->periph, start_ccb); in ata_action()
1813 start_ccb->ccb_h.path, start_ccb->crcn.flags, in ata_action()
1814 start_ccb); in ata_action()
1839 xpt_done(start_ccb); in ata_action()
[all …]
H A Data_da.c2318 xpt_release_ccb(start_ccb); in adastart()
2384 xpt_release_ccb(start_ccb); in adastart()
2466 xpt_release_ccb(start_ccb); in adastart()
2505 xpt_release_ccb(start_ccb); in adastart()
2515 xpt_action(start_ccb); in adastart()
2544 xpt_action(start_ccb); in adastart()
2561 xpt_release_ccb(start_ccb); in adastart()
2578 xpt_action(start_ccb); in adastart()
2606 xpt_action(start_ccb); in adastart()
2634 xpt_action(start_ccb); in adastart()
[all …]
H A Data_pmp.c421 pmpstart(struct cam_periph *periph, union ccb *start_ccb) in pmpstart() argument
430 ataio = &start_ccb->ataio; in pmpstart()
579 xpt_action(start_ccb); in pmpstart()
/freebsd-13.1/sys/cam/ctl/
H A Dscsi_ctl.c764 ctlfestart(struct cam_periph *periph, union ccb *start_ccb) in ctlfestart() argument
783 xpt_release_ccb(start_ccb); in ctlfestart()
789 csio = &start_ccb->csio; in ctlfestart()
818 start_ccb->ccb_h.func_code = XPT_ABORT; in ctlfestart()
819 start_ccb->cab.abort_ccb = (union ccb *)atio; in ctlfestart()
820 xpt_action(start_ccb); in ctlfestart()
895 start_ccb->ccb_h.flags |= CAM_UNLOCKED; in ctlfestart()
896 start_ccb->ccb_h.ccb_atio = atio; in ctlfestart()
904 xpt_action(start_ccb); in ctlfestart()