Lines Matching refs:ccb
181 static void ciss_cam_action(struct cam_sim *sim, union ccb *ccb);
2943 union ccb *ccb;
2947 if ((ccb = xpt_alloc_ccb_nowait()) == NULL) {
2952 if (xpt_create_path(&ccb->ccb_h.path, NULL,
2956 xpt_free_ccb(ccb);
2959 xpt_rescan(ccb);
2967 ciss_cam_action(struct cam_sim *sim, union ccb *ccb)
2976 csio = (struct ccb_scsiio *)&ccb->csio;
2980 switch (ccb->ccb_h.func_code) {
2991 struct ccb_calc_geometry *ccg = &ccb->ccg;
2994 debug(1, "XPT_CALC_GEOMETRY %d:%d:%d", cam_sim_bus(sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun);
3016 ccb->ccb_h.status = CAM_REQ_CMP;
3023 struct ccb_pathinq *cpi = &ccb->cpi;
3026 debug(1, "XPT_PATH_INQ %d:%d:%d", cam_sim_bus(sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun);
3061 ccb->ccb_h.status = CAM_REQ_CMP;
3067 struct ccb_trans_settings *cts = &ccb->cts;
3093 debug(1, "unspported func_code = 0x%x", ccb->ccb_h.func_code);
3094 ccb->ccb_h.status = CAM_REQ_INVALID;
3098 xpt_done(ccb);
3137 * ccb, freeze the queue and flag so that we unfreeze it when a
3225 xpt_done((union ccb *)csio);
3238 xpt_done((union ccb *)csio);
3252 xpt_done((union ccb *)csio);
3266 xpt_done((union ccb *)csio);
3377 xpt_done((union ccb *)csio);