/freebsd-10.3-release/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 679 struct ccb_hdr *ccbh; local 682 ccbh = &ccb->ccb_h; 692 ccbh->status = CAM_NO_HBA; 697 switch (ccbh->func_code) { 703 ccbh->status = CAM_FUNC_NOTAVAIL; 734 "invalid ccb=%p func=%#x\n", ccb, ccbh->func_code); 736 ccbh->status = CAM_REQ_INVALID; 756 struct ccb_hdr *ccbh; local 760 ccbh = &ccb->ccb_h; 765 ccbh 827 struct ccb_hdr *ccbh; local 864 struct ccb_hdr *ccbh; local 950 struct ccb_hdr *ccbh; local 995 struct ccb_hdr *ccbh; local 1052 struct ccb_hdr *ccbh; local 1326 struct ccb_hdr *ccbh; local 1412 struct ccb_hdr *ccbh; local 1441 struct ccb_hdr *ccbh; local 1498 struct ccb_hdr *ccbh; local 1525 struct ccb_hdr *ccbh; local 1569 vtscsi_set_request_lun(struct ccb_hdr *ccbh, uint8_t lun[]) argument 1610 vtscsi_init_ctrl_tmf_req(struct ccb_hdr *ccbh, uint32_t subtype, uintptr_t tag, struct virtio_scsi_ctrl_tmf_req *tmf_req) argument [all...] |
/freebsd-10.3-release/sys/dev/mfi/ |
H A D | mfi_cam.c | 271 struct ccb_hdr *ccbh = &ccb->ccb_h; local 274 ccbh->status = CAM_REQ_INPROG; 276 ccbh->status = CAM_REQ_INVALID; 279 ccbh->ccb_mfip_ptr = sc; 280 TAILQ_INSERT_TAIL(&mfisc->mfi_cam_ccbq, ccbh, sim_links.tqe); 344 struct ccb_hdr *ccbh = &ccb->ccb_h; local 351 sc = ccbh->ccb_mfip_ptr; 365 pt->header.target_id = ccbh->target_id; 366 pt->header.lun_id = ccbh->target_lun; 374 if (ccbh 407 struct ccb_hdr *ccbh = &ccb->ccb_h; local [all...] |
H A D | mfi.c | 2278 struct ccb_hdr *ccbh; local 2289 if ((ccbh = TAILQ_FIRST(&sc->mfi_cam_ccbq)) != NULL) 2290 cm = sc->mfi_cam_start(ccbh);
|
/freebsd-10.3-release/tools/tools/vhba/mptest/ |
H A D | vhba_mptest.c | 109 struct ccb_hdr *ccbh; local 113 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->actv)) != NULL) { 114 TAILQ_REMOVE(&vhbas->vhba->actv, ccbh, sim_links.tqe); 115 mptest_act(vhbas, (struct ccb_scsiio *)ccbh); 117 ccbh->sim_priv.entries[0].ptr = vhbas; 118 callout_handle_init(&ccbh->timeout_ch); 123 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->done)) != NULL) { 124 TAILQ_REMOVE(&vhbas->vhba->done, ccbh, sim_links.tqe); 125 xpt_done((union ccb *)ccbh); 398 struct ccb_hdr *ccbh local [all...] |
/freebsd-10.3-release/sys/dev/amr/ |
H A D | amr_cam.c | 254 struct ccb_hdr *ccbh = &ccb->ccb_h; local 258 ccbh->status = CAM_REQ_INPROG; 262 ccbh->status = CAM_REQ_INVALID; 266 ccbh->status = CAM_REQ_INVALID; 269 if ((ccbh->flags & CAM_CDB_POINTER) && 270 (ccbh->flags & CAM_CDB_PHYS)) 271 ccbh->status = CAM_REQ_INVALID; 276 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { 277 if ((ccbh->flags & CAM_DATA_MASK) != CAM_DATA_VADDR) 279 ccbh [all...] |
/freebsd-10.3-release/tools/tools/vhba/faulty/ |
H A D | vhba_faulty.c | 86 struct ccb_hdr *ccbh; local 89 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->actv)) != NULL) { 90 TAILQ_REMOVE(&vhbas->vhba->actv, ccbh, sim_links.tqe); 91 faulty_act(vhbas, (struct ccb_scsiio *)ccbh); 97 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->done)) != NULL) { 98 TAILQ_REMOVE(&vhbas->vhba->done, ccbh, sim_links.tqe); 99 xpt_done((union ccb *)ccbh);
|
/freebsd-10.3-release/tools/tools/vhba/lots/ |
H A D | vhba_lots.c | 83 struct ccb_hdr *ccbh; local 86 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->actv)) != NULL) { 87 TAILQ_REMOVE(&vhbas->vhba->actv, ccbh, sim_links.tqe); 88 vhbalots_act(vhbas, (struct ccb_scsiio *)ccbh); 90 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->done)) != NULL) { 91 TAILQ_REMOVE(&vhbas->vhba->done, ccbh, sim_links.tqe); 92 xpt_done((union ccb *)ccbh);
|
/freebsd-10.3-release/tools/tools/vhba/medium/ |
H A D | vhba_medium.c | 83 struct ccb_hdr *ccbh; local 86 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->actv)) != NULL) { 87 TAILQ_REMOVE(&vhbas->vhba->actv, ccbh, sim_links.tqe); 88 vhbamedium_act(vhbas, (struct ccb_scsiio *)ccbh); 90 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->done)) != NULL) { 91 TAILQ_REMOVE(&vhbas->vhba->done, ccbh, sim_links.tqe); 92 xpt_done((union ccb *)ccbh);
|
/freebsd-10.3-release/tools/tools/vhba/rptluns/ |
H A D | vhba_rptluns.c | 104 struct ccb_hdr *ccbh; local 107 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->actv)) != NULL) { 108 TAILQ_REMOVE(&vhbas->vhba->actv, ccbh, sim_links.tqe); 109 vhbarptluns_act(vhbas, (struct ccb_scsiio *)ccbh); 111 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->done)) != NULL) { 112 TAILQ_REMOVE(&vhbas->vhba->done, ccbh, sim_links.tqe); 113 xpt_done((union ccb *)ccbh);
|
/freebsd-10.3-release/tools/tools/vhba/simple/ |
H A D | vhba_simple.c | 83 struct ccb_hdr *ccbh; local 86 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->actv)) != NULL) { 87 TAILQ_REMOVE(&vhbas->vhba->actv, ccbh, sim_links.tqe); 88 vhbasimple_act(vhbas, (struct ccb_scsiio *)ccbh); 90 while ((ccbh = TAILQ_FIRST(&vhbas->vhba->done)) != NULL) { 91 TAILQ_REMOVE(&vhbas->vhba->done, ccbh, sim_links.tqe); 92 xpt_done((union ccb *)ccbh);
|
/freebsd-10.3-release/tools/tools/vhba/ |
H A D | vhba.c | 387 vhba_set_status(struct ccb_hdr *ccbh, cam_status status) argument 389 ccbh->status &= ~CAM_STATUS_MASK; 390 ccbh->status |= status; 392 if ((ccbh->status & CAM_DEV_QFRZN) == 0) { 393 ccbh->status |= CAM_DEV_QFRZN; 394 xpt_freeze_devq(ccbh->path, 1);
|
/freebsd-10.3-release/sys/cam/scsi/ |
H A D | scsi_targ_bh.c | 443 struct ccb_hdr *ccbh; local 451 ccbh = TAILQ_FIRST(&softc->work_queue); 452 if (ccbh == NULL) { 455 TAILQ_REMOVE(&softc->work_queue, ccbh, periph_links.tqe); 456 TAILQ_INSERT_HEAD(&softc->pending_queue, ccbh, 458 atio = (struct ccb_accept_tio*)ccbh; 518 ccbh = TAILQ_FIRST(&softc->work_queue); 520 if (ccbh != NULL)
|
H A D | scsi_pt.c | 404 struct ccb_hdr *ccbh; local 412 LIST_FOREACH(ccbh, &softc->pending_ccbs, periph_links.le) 413 ccbh->ccb_state |= PT_CCB_RETRY_UA;
|
H A D | scsi_da.c | 1754 struct ccb_hdr *ccbh; local 1762 LIST_FOREACH(ccbh, &softc->pending_ccbs, periph_links.le) 1763 ccbh->ccb_state |= DA_CCB_RETRY_UA;
|
H A D | scsi_cd.c | 452 struct ccb_hdr *ccbh; local 460 LIST_FOREACH(ccbh, &softc->pending_ccbs, periph_links.le) 461 ccbh->ccb_state |= CD_CCB_RETRY_UA;
|
/freebsd-10.3-release/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agtiapi.c | 2452 struct ccb_hdr *ccbh = &ccb->ccb_h; local 2458 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) 2460 switch((ccbh->flags & CAM_DATA_MASK)) 2484 ccbh->status |= CAM_RELEASE_SIMQ; 2528 struct ccb_hdr *ccbh = &ccb->ccb_h; local 2533 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) 2535 if ((ccbh->flags & CAM_SCATTER_VALID) == 0) 2538 if ((ccbh->flags & CAM_DATA_PHYS) == 0) 2559 ccbh->status |= CAM_RELEASE_SIMQ; 3409 struct ccb_hdr *ccbh local 3541 struct ccb_hdr *ccbh = &ccb->ccb_h; local [all...] |
/freebsd-10.3-release/sys/dev/buslogic/ |
H A D | bt.c | 1160 struct ccb_hdr *ccbh; local 1164 ccbh = &csio->ccb_h; 1176 if ((ccbh->flags & CAM_TAG_ACTION_VALID) != 0 1184 if ((ccbh->flags & CAM_CDB_POINTER) != 0) { 1185 if ((ccbh->flags & CAM_CDB_PHYS) == 0) { 1190 ccbh->status = CAM_REQ_INVALID;
|
/freebsd-10.3-release/sys/dev/aha/ |
H A D | aha.c | 780 struct ccb_hdr *ccbh; local 784 ccbh = &csio->ccb_h; 796 if ((ccbh->flags & CAM_CDB_POINTER) != 0) { 797 if ((ccbh->flags & CAM_CDB_PHYS) == 0) { 802 ccbh->status = CAM_REQ_INVALID;
|
/freebsd-10.3-release/sys/dev/iir/ |
H A D | iir.c | 697 struct ccb_hdr *ccbh; local 746 ccbh = &ccb->ccb_h; 750 ccbh->status = CAM_REQ_INVALID; 765 ccbh->status = CAM_DEV_NOT_THERE;
|
/freebsd-10.3-release/sys/dev/advansys/ |
H A D | adwcam.c | 347 struct ccb_hdr *ccbh; local 352 ccbh = &ccb->ccb_h;
|
/freebsd-10.3-release/sys/dev/aic7xxx/ |
H A D | aic7xxx.c | 6369 struct ccb_hdr *ccbh; local 6373 && (ccbh = SLIST_FIRST(&lstate->immed_notifies)) != NULL) { 6378 inot = (struct ccb_immediate_notify *)ccbh; 6381 ccbh->status = CAM_SCSI_BUS_RESET|CAM_DEV_QFRZN; 6384 ccbh->status = CAM_MESSAGE_RECV|CAM_DEV_QFRZN; 7590 struct ccb_hdr *ccbh; local 7592 ccbh = &scb->io_ctx->ccb_h; 7593 if (ccbh->func_code == XPT_CONT_TARGET_IO 7594 && !xpt_path_comp(ccbh->path, ccb->ccb_h.path)){
|
H A D | aic79xx.c | 8562 struct ccb_hdr *ccbh; local 8566 && (ccbh = SLIST_FIRST(&lstate->immed_notifies)) != NULL) { 8571 inot = (struct ccb_immediate_notify *)ccbh; 8574 ccbh->status = CAM_SCSI_BUS_RESET|CAM_DEV_QFRZN; 8577 ccbh->status = CAM_MESSAGE_RECV|CAM_DEV_QFRZN; 10115 struct ccb_hdr *ccbh; local 10117 ccbh = &scb->io_ctx->ccb_h; 10118 if (ccbh->func_code == XPT_CONT_TARGET_IO 10119 && !xpt_path_comp(ccbh->path, ccb->ccb_h.path)){
|
/freebsd-10.3-release/sys/dev/dpt/ |
H A D | dpt_scsi.c | 832 struct ccb_hdr *ccbh; local 837 ccbh = &ccb->ccb_h; 912 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) {
|
/freebsd-10.3-release/sys/dev/sym/ |
H A D | sym_hipd.c | 1661 ccb_p ccbh[CCB_HASH_SIZE]; /* CCB hashed by DSA value */ member in struct:sym_hcb 6529 cp->link_ccbh = np->ccbh[hcode]; 6530 np->ccbh[hcode] = cp; 6565 cp = np->ccbh[hcode];
|
/freebsd-10.3-release/sys/dev/firewire/ |
H A D | sbp_targ.c | 535 struct ccb_hdr *ccbh;
|