Home
last modified time | relevance | path

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

/freebsd-14.2/sys/cam/mmc/
H A Dmmc_xpt.c300 mmc_action(union ccb *start_ccb) in mmc_action() argument
314 start_ccb->ccb_h.path, start_ccb->crcn.flags, in mmc_action()
315 start_ccb); in mmc_action()
320 mmc_dev_advinfo(start_ccb); in mmc_action()
325 xpt_action_default(start_ccb); in mmc_action()
340 cdai = &start_ccb->cdai; in mmc_dev_advinfo()
593 path = start_ccb->ccb_h.path; in mmcprobe_start()
594 mmcio = &start_ccb->mmcio; in mmcprobe_start()
683 cam_fill_mmcio(&start_ccb->mmcio, in mmcprobe_start()
785 xpt_action(start_ccb); in mmcprobe_start()
[all …]
H A Dmmc_da.c1308 xpt_action(start_ccb); in sdda_start_init()
1416 xpt_action(start_ccb); in sdda_start_init()
1427 xpt_action(start_ccb); in sdda_start_init()
1438 xpt_action(start_ccb); in sdda_start_init()
1451 xpt_action(start_ccb); in sdda_start_init()
1780 xpt_action(start_ccb); in sdda_init_switch_part()
1798 xpt_release_ccb(start_ccb); in sddastart()
1814 xpt_release_ccb(start_ccb); in sddastart()
1874 mmcio = &start_ccb->mmcio; in sddastart()
1906 xpt_release_ccb(start_ccb); in sddastart()
[all …]
/freebsd-14.2/sys/cam/nvme/
H A Dnvme_xpt.c267 nvmeio = &start_ccb->nvmeio; in nvme_probe_start()
302 xpt_action(start_ccb); in nvme_probe_start()
651 nvme_dev_advinfo(union ccb *start_ccb) in nvme_dev_advinfo() argument
660 cdai = &start_ccb->cdai; in nvme_dev_advinfo()
732 start_ccb->ccb_h.status = CAM_REQ_CMP; in nvme_dev_advinfo()
741 nvme_action(union ccb *start_ccb) in nvme_action() argument
746 switch (start_ccb->ccb_h.func_code) { in nvme_action()
751 start_ccb->ccb_h.path, start_ccb->crcn.flags, in nvme_action()
752 start_ccb); in nvme_action()
755 nvme_dev_advinfo(start_ccb); in nvme_action()
[all …]
H A Dnvme_da.c1004 struct ccb_nvmeio *nvmeio = &start_ccb->nvmeio; in ndastart()
1016 xpt_release_ccb(start_ccb); in ndastart()
1058 xpt_release_ccb(start_ccb); in ndastart()
1082 xpt_release_ccb(start_ccb); in ndastart()
1107 start_ccb->ccb_trim = trim; in ndastart()
1110 start_ccb->ccb_state = NDA_CCB_TRIM; in ndastart()
1127 xpt_release_ccb(start_ccb); in ndastart()
1131 start_ccb->ccb_state = NDA_CCB_BUFFER_IO; in ndastart()
1132 start_ccb->ccb_bp = bp; in ndastart()
1134 start_ccb->ccb_h.flags |= CAM_UNLOCKED; in ndastart()
[all …]
/freebsd-14.2/sys/cam/
H A Dcam_xpt.c2526 (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_ccb); in xpt_action()
2575 start_ccb->csio.resid = 0; in xpt_action_default()
2605 start_ccb->ccg.heads = 0; in xpt_action_default()
2709 cgd = &start_ccb->cgd; in xpt_action_default()
2762 cgdl = &start_ccb->cgdl; in xpt_action_default()
2812 cdm = &start_ccb->cdm; in xpt_action_default()
2875 csa = &start_ccb->csa; in xpt_action_default()
2929 crs = &start_ccb->crs; in xpt_action_default()
3040 xpt_done(start_ccb); in xpt_action_default()
3065 xpt_done(start_ccb); in xpt_action_default()
[all …]
H A Dcam_xpt.h145 void xpt_pollwait(union ccb *start_ccb, uint32_t timeout);
146 uint32_t xpt_poll_setup(union ccb *start_ccb);
H A Dcam_xpt_internal.h43 typedef void (*xpt_action_func)(union ccb *start_ccb);
H A Dcam_periph.h112 union ccb *start_ccb);
/freebsd-14.2/sys/cam/scsi/
H A Dscsi_da.c3490 xpt_action(start_ccb); in dastart()
3534 xpt_action(start_ccb); in dastart()
3557 xpt_action(start_ccb); in dastart()
3584 xpt_action(start_ccb); in dastart()
3626 xpt_action(start_ccb); in dastart()
3660 xpt_action(start_ccb); in dastart()
3693 xpt_action(start_ccb); in dastart()
3729 xpt_action(start_ccb); in dastart()
3784 xpt_action(start_ccb); in dastart()
3834 xpt_action(start_ccb); in dastart()
[all …]
H A Dscsi_cd.c261 union ccb *start_ccb);
907 csio = &start_ccb->csio; in cdstart()
916 xpt_action(start_ccb); in cdstart()
972 xpt_action(start_ccb); in cdstart()
991 xpt_release_ccb(start_ccb); in cdstart()
1015 csio = &start_ccb->csio; in cdstart()
1028 xpt_action(start_ccb); in cdstart()
1060 xpt_action(start_ccb); in cdstart()
1083 xpt_action(start_ccb); in cdstart()
1104 xpt_action(start_ccb); in cdstart()
[all …]
H A Dscsi_xpt.c751 csio = &start_ccb->csio; in probestart()
907 probedone(periph, start_ccb); in probestart()
1034 xpt_action(start_ccb); in probestart()
2511 cdai = &start_ccb->cdai; in scsi_dev_advinfo()
2626 __func__, start_ccb, start_ccb->ccb_h.func_code)); in scsi_action()
2633 start_ccb->ccb_h.path, in scsi_action()
2639 scsi_scan_bus(start_ccb->ccb_h.path->periph, start_ccb); in scsi_action()
2643 start_ccb->ccb_h.path, start_ccb->crcn.flags, in scsi_action()
2644 start_ccb); in scsi_action()
2648 scsi_dev_advinfo(start_ccb); in scsi_action()
[all …]
H A Dscsi_pt.c418 ptstart(struct cam_periph *periph, union ccb *start_ccb) in ptstart() argument
432 xpt_release_ccb(start_ccb); in ptstart()
438 scsi_send_receive(&start_ccb->csio, in ptstart()
449 start_ccb->ccb_h.ccb_state = PT_CCB_BUFFER_IO_UA; in ptstart()
455 LIST_INSERT_HEAD(&softc->pending_ccbs, &start_ccb->ccb_h, in ptstart()
458 start_ccb->ccb_h.ccb_bp = bp; in ptstart()
461 xpt_action(start_ccb); in ptstart()
H A Dscsi_targ_bh.c443 targbhstart(struct cam_periph *periph, union ccb *start_ccb) in targbhstart() argument
456 xpt_release_ccb(start_ccb); in targbhstart()
468 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_target.c614 targstart(struct cam_periph *periph, union ccb *start_ccb) in targstart() argument
621 CAM_DEBUG(softc->path, CAM_DEBUG_PERIPH, ("targstart %p\n", start_ccb)); in targstart()
625 xpt_release_ccb(start_ccb); in targstart()
631 error = targusermerge(softc, descr, start_ccb); in targstart()
633 error = targsendccb(softc, start_ccb, descr); in targstart()
637 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.c537 chstart(struct cam_periph *periph, union ccb *start_ccb) in chstart() argument
546 xpt_release_ccb(start_ccb); in chstart()
573 scsi_mode_sense(&start_ccb->csio, in chstart()
586 start_ccb->ccb_h.ccb_bp = NULL; in chstart()
587 start_ccb->ccb_h.ccb_state = CH_CCB_PROBE; in chstart()
588 xpt_action(start_ccb); in chstart()
H A Dscsi_sa.c600 union ccb *start_ccb);
2773 xpt_release_ccb(start_ccb); in sastart()
2857 xpt_release_ccb(start_ccb); in sastart()
2868 xpt_release_ccb(start_ccb); in sastart()
2886 CAM_DEBUG(start_ccb->ccb_h.path, CAM_DEBUG_INFO, in sastart()
2935 scsi_sa_read_write(&start_ccb->csio, 0, sadone, in sastart()
2947 start_ccb->ccb_h.ccb_bp = bp; in sastart()
2949 xpt_action(start_ccb); in sastart()
2991 xpt_release_ccb(start_ccb); in sastart()
2996 scsi_report_supported_opcodes(&start_ccb->csio, in sastart()
[all …]
/freebsd-14.2/sys/cam/ata/
H A Data_xpt.c337 path = start_ccb->ccb_h.path; in aprobestart()
338 ataio = &start_ccb->ataio; in aprobestart()
339 csio = &start_ccb->csio; in aprobestart()
707 xpt_action(start_ccb); in aprobestart()
1721 cdai = &start_ccb->cdai; in ata_dev_advinfo()
1791 __func__, start_ccb, start_ccb->ccb_h.func_code)); in ata_action()
1804 ata_scan_bus(start_ccb->ccb_h.path->periph, start_ccb); in ata_action()
1808 start_ccb->ccb_h.path, start_ccb->crcn.flags, in ata_action()
1809 start_ccb); in ata_action()
1834 xpt_done(start_ccb); in ata_action()
[all …]
H A Data_da.c2343 xpt_release_ccb(start_ccb); in adastart()
2409 xpt_release_ccb(start_ccb); in adastart()
2491 xpt_release_ccb(start_ccb); in adastart()
2530 xpt_release_ccb(start_ccb); in adastart()
2540 xpt_action(start_ccb); in adastart()
2569 xpt_action(start_ccb); in adastart()
2586 xpt_release_ccb(start_ccb); in adastart()
2603 xpt_action(start_ccb); in adastart()
2631 xpt_action(start_ccb); in adastart()
2659 xpt_action(start_ccb); in adastart()
[all …]
H A Data_pmp.c419 pmpstart(struct cam_periph *periph, union ccb *start_ccb) in pmpstart() argument
428 ataio = &start_ccb->ataio; in pmpstart()
577 xpt_action(start_ccb); in pmpstart()
/freebsd-14.2/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()