Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cam/mmc/
H A Dmmc_xpt.c321 start_ccb->ccb_h.path, start_ccb->crcn.flags, in mmc_action()
322 start_ccb); in mmc_action()
347 cdai = &start_ccb->cdai; in mmc_dev_advinfo()
582 xpt_action(start_ccb); in mmcprobe_start()
587 xpt_action(start_ccb); in mmcprobe_start()
593 xpt_action(start_ccb); in mmcprobe_start()
605 xpt_action(start_ccb); in mmcprobe_start()
613 xpt_action(start_ccb); in mmcprobe_start()
621 xpt_action(start_ccb); in mmcprobe_start()
741 xpt_action(start_ccb); in mmcprobe_start()
[all …]
H A Dmmc_da.c1282 start_ccb->ccb_h.timeout = 100; in sdda_start_init()
1283 start_ccb->ccb_h.cbfcnp = NULL; in sdda_start_init()
1284 xpt_action(start_ccb); in sdda_start_init()
1360 start_ccb->ccb_h.timeout = 100; in sdda_start_init()
1364 xpt_action(start_ccb); in sdda_start_init()
1676 xpt_action(start_ccb); in sdda_init_switch_part()
1694 xpt_release_ccb(start_ccb); in sddastart()
1709 xpt_release_ccb(start_ccb); in sddastart()
1769 mmcio = &start_ccb->mmcio; in sddastart()
1799 start_ccb->ccb_h.ccb_bp = bp; in sddastart()
[all …]
/freebsd-12.1/sys/cam/nvme/
H A Dnvme_xpt.c268 path = start_ccb->ccb_h.path; in nvme_probe_start()
269 nvmeio = &start_ccb->nvmeio; in nvme_probe_start()
304 xpt_action(start_ccb); in nvme_probe_start()
587 nvme_dev_advinfo(union ccb *start_ccb) in nvme_dev_advinfo() argument
596 cdai = &start_ccb->cdai; in nvme_dev_advinfo()
674 nvme_action(union ccb *start_ccb) in nvme_action() argument
679 switch (start_ccb->ccb_h.func_code) { in nvme_action()
684 start_ccb->ccb_h.path, start_ccb->crcn.flags, in nvme_action()
685 start_ccb); in nvme_action()
688 nvme_dev_advinfo(start_ccb); in nvme_action()
[all …]
H A Dnvme_da.c865 struct ccb_nvmeio *nvmeio = &start_ccb->nvmeio; in ndastart()
877 xpt_release_ccb(start_ccb); in ndastart()
919 xpt_release_ccb(start_ccb); in ndastart()
942 xpt_release_ccb(start_ccb); in ndastart()
965 start_ccb->ccb_trim = trim; in ndastart()
967 nda_nvme_trim(softc, &start_ccb->nvmeio, &trim->dsm, in ndastart()
969 start_ccb->ccb_state = NDA_CCB_TRIM; in ndastart()
982 start_ccb->ccb_state = NDA_CCB_BUFFER_IO; in ndastart()
983 start_ccb->ccb_bp = bp; in ndastart()
985 start_ccb->ccb_h.flags |= CAM_UNLOCKED; in ndastart()
[all …]
/freebsd-12.1/sys/cam/
H A Dcam_xpt.c2655 (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_ccb); in xpt_action()
2705 start_ccb->csio.resid = 0; in xpt_action_default()
2736 start_ccb->ccg.heads = 0; in xpt_action_default()
2851 cgd = &start_ccb->cgd; in xpt_action_default()
2905 cgdl = &start_ccb->cgdl; in xpt_action_default()
2955 cdm = &start_ccb->cdm; in xpt_action_default()
3018 csa = &start_ccb->csa; in xpt_action_default()
3072 crs = &start_ccb->crs; in xpt_action_default()
3194 xpt_done(start_ccb); in xpt_action_default()
3207 xpt_done(start_ccb); in xpt_action_default()
[all …]
H A Dcam_xpt.h149 void xpt_pollwait(union ccb *start_ccb, uint32_t timeout);
150 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.h110 union ccb *start_ccb);
/freebsd-12.1/sys/cam/scsi/
H A Dscsi_da.c3377 xpt_action(start_ccb); in dastart()
3421 xpt_action(start_ccb); in dastart()
3444 xpt_action(start_ccb); in dastart()
3471 xpt_action(start_ccb); in dastart()
3513 xpt_action(start_ccb); in dastart()
3547 xpt_action(start_ccb); in dastart()
3580 xpt_action(start_ccb); in dastart()
3616 xpt_action(start_ccb); in dastart()
3671 xpt_action(start_ccb); in dastart()
3721 xpt_action(start_ccb); in dastart()
[all …]
H A Dscsi_pt.c422 ptstart(struct cam_periph *periph, union ccb *start_ccb) in ptstart() argument
436 xpt_release_ccb(start_ccb); in ptstart()
442 scsi_send_receive(&start_ccb->csio, in ptstart()
453 start_ccb->ccb_h.ccb_state = PT_CCB_BUFFER_IO_UA; in ptstart()
459 LIST_INSERT_HEAD(&softc->pending_ccbs, &start_ccb->ccb_h, in ptstart()
462 start_ccb->ccb_h.ccb_bp = bp; in ptstart()
465 xpt_action(start_ccb); in ptstart()
H A Dscsi_xpt.c763 csio = &start_ccb->csio; in probestart()
935 start_ccb->csio.data_ptr = NULL; in probestart()
938 probedone(periph, start_ccb); in probestart()
1031 xpt_action(start_ccb); in probestart()
2521 cdai = &start_ccb->cdai; in scsi_dev_advinfo()
2636 start_ccb->ccb_h.path, in scsi_action()
2642 scsi_scan_bus(start_ccb->ccb_h.path->periph, start_ccb); in scsi_action()
2646 start_ccb->ccb_h.path, start_ccb->crcn.flags, in scsi_action()
2647 start_ccb); in scsi_action()
2651 scsi_dev_advinfo(start_ccb); in scsi_action()
[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()
499 start_ccb->ccb_h.target_id = atio->ccb_h.target_id; in targbhstart()
500 start_ccb->ccb_h.target_lun = atio->ccb_h.target_lun; in targbhstart()
502 start_ccb->ccb_h.ccb_type = TARGBH_CCB_WORKQ; in targbhstart()
503 start_ccb->ccb_h.ccb_atio = atio; in targbhstart()
506 xpt_action(start_ccb); in targbhstart()
H A Dscsi_cd.c245 union ccb *start_ccb);
899 csio = &start_ccb->csio; in cdstart()
906 start_ccb->ccb_h.ccb_bp = NULL; in cdstart()
908 xpt_action(start_ccb); in cdstart()
910 xpt_release_ccb(start_ccb); in cdstart()
940 start_ccb->csio.cdb_len = 12; in cdstart()
955 start_ccb->ccb_h.ccb_bp = bp; in cdstart()
958 xpt_action(start_ccb); in cdstart()
977 csio = &start_ccb->csio; in cdstart()
985 start_ccb->ccb_h.ccb_bp = NULL; in cdstart()
[all …]
H A Dscsi_target.c618 targstart(struct cam_periph *periph, union ccb *start_ccb) in targstart() argument
625 CAM_DEBUG(softc->path, CAM_DEBUG_PERIPH, ("targstart %p\n", start_ccb)); in targstart()
629 xpt_release_ccb(start_ccb); in targstart()
635 error = targusermerge(softc, descr, start_ccb); in targstart()
637 error = targsendccb(softc, start_ccb, descr); in targstart()
641 xpt_release_ccb(start_ccb); in targstart()
H A Dscsi_pass.c837 passstart(struct cam_periph *periph, union ccb *start_ccb) in passstart() argument
853 xpt_release_ccb(start_ccb); in passstart()
861 xpt_merge_ccb(start_ccb, &io_req->ccb); in passstart()
862 start_ccb->ccb_h.ccb_type = PASS_CCB_QUEUED_IO; in passstart()
863 start_ccb->ccb_h.ccb_ioreq = io_req; in passstart()
864 start_ccb->ccb_h.cbfcnp = passdone; in passstart()
865 io_req->alloced_ccb = start_ccb; in passstart()
870 xpt_action(start_ccb); in passstart()
H A Dscsi_ch.c542 chstart(struct cam_periph *periph, union ccb *start_ccb) in chstart() argument
551 xpt_release_ccb(start_ccb); in chstart()
578 scsi_mode_sense(&start_ccb->csio, in chstart()
591 start_ccb->ccb_h.ccb_bp = NULL; in chstart()
592 start_ccb->ccb_h.ccb_state = CH_CCB_PROBE; in chstart()
593 xpt_action(start_ccb); in chstart()
H A Dscsi_sa.c542 union ccb *start_ccb);
2574 sastart(struct cam_periph *periph, union ccb *start_ccb) in sastart() argument
2594 xpt_release_ccb(start_ccb); in sastart()
2678 xpt_release_ccb(start_ccb); in sastart()
2701 CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO, in sastart()
2708 CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO, in sastart()
2750 scsi_sa_read_write(&start_ccb->csio, 0, sadone, in sastart()
2759 start_ccb->ccb_h.ccb_pflags &= ~SA_POSITION_UPDATED; in sastart()
2760 start_ccb->ccb_h.ccb_bp = bp; in sastart()
2762 xpt_action(start_ccb); in sastart()
/freebsd-12.1/sys/cam/ata/
H A Data_xpt.c352 path = start_ccb->ccb_h.path; in probestart()
353 ataio = &start_ccb->ataio; in probestart()
354 csio = &start_ccb->csio; in probestart()
722 xpt_action(start_ccb); in probestart()
1734 cdai = &start_ccb->cdai; in ata_dev_advinfo()
1801 start_ccb->ccb_h.path, in ata_action()
1807 ata_scan_bus(start_ccb->ccb_h.path->periph, start_ccb); in ata_action()
1811 start_ccb->ccb_h.path, start_ccb->crcn.flags, in ata_action()
1812 start_ccb); in ata_action()
1837 xpt_done(start_ccb); in ata_action()
[all …]
H A Data_da.c2228 xpt_release_ccb(start_ccb); in adastart()
2294 xpt_release_ccb(start_ccb); in adastart()
2376 xpt_release_ccb(start_ccb); in adastart()
2408 xpt_release_ccb(start_ccb); in adastart()
2421 xpt_action(start_ccb); in adastart()
2450 xpt_action(start_ccb); in adastart()
2467 xpt_release_ccb(start_ccb); in adastart()
2485 xpt_action(start_ccb); in adastart()
2513 xpt_action(start_ccb); in adastart()
2541 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-12.1/sys/cam/ctl/
H A Dscsi_ctl.c765 ctlfestart(struct cam_periph *periph, union ccb *start_ccb) in ctlfestart() argument
784 xpt_release_ccb(start_ccb); in ctlfestart()
790 csio = &start_ccb->csio; in ctlfestart()
819 start_ccb->ccb_h.func_code = XPT_ABORT; in ctlfestart()
820 start_ccb->cab.abort_ccb = (union ccb *)atio; in ctlfestart()
821 xpt_action(start_ccb); in ctlfestart()
896 start_ccb->ccb_h.flags |= CAM_UNLOCKED; in ctlfestart()
897 start_ccb->ccb_h.ccb_atio = atio; in ctlfestart()
905 xpt_action(start_ccb); in ctlfestart()