Searched refs:work_ccb (Results 1 – 3 of 3) sorted by relevance
1383 union ccb *work_ccb, *reset_ccb; in ata_scan_bus() local1393 work_ccb = xpt_alloc_ccb_nowait(); in ata_scan_bus()1394 if (work_ccb == NULL) { in ata_scan_bus()1399 xpt_path_inq(&work_ccb->cpi, request_ccb->ccb_h.path); in ata_scan_bus()1400 if (work_ccb->ccb_h.status != CAM_REQ_CMP) { in ata_scan_bus()1401 request_ccb->ccb_h.status = work_ccb->ccb_h.status; in ata_scan_bus()1402 xpt_free_ccb(work_ccb); in ata_scan_bus()1408 if ((work_ccb->cpi.hba_inquiry & in ata_scan_bus()1410 !(work_ccb->cpi.hba_misc & PIM_NOBUSRESET) && in ata_scan_bus()1415 xpt_free_ccb(work_ccb); in ata_scan_bus()[all …]
1997 union ccb *work_ccb, *reset_ccb; in scsi_scan_bus() local2004 work_ccb = xpt_alloc_ccb_nowait(); in scsi_scan_bus()2005 if (work_ccb == NULL) { in scsi_scan_bus()2010 xpt_path_inq(&work_ccb->cpi, request_ccb->ccb_h.path); in scsi_scan_bus()2011 if (work_ccb->ccb_h.status != CAM_REQ_CMP) { in scsi_scan_bus()2012 request_ccb->ccb_h.status = work_ccb->ccb_h.status; in scsi_scan_bus()2013 xpt_free_ccb(work_ccb); in scsi_scan_bus()2018 if ((work_ccb->cpi.hba_misc & PIM_NOINITIATOR) != 0) { in scsi_scan_bus()2024 xpt_free_ccb(work_ccb); in scsi_scan_bus()2030 if ((work_ccb->cpi.hba_inquiry & in scsi_scan_bus()[all …]
274 static void xptaction(struct cam_sim *sim, union ccb *work_ccb);3326 union ccb *work_ccb; in xpt_run_devq() local3335 work_ccb = cam_ccbq_peek_ccb(&device->ccbq, CAMQ_HEAD); in xpt_run_devq()3336 if (work_ccb == NULL) { in xpt_run_devq()3341 if ((work_ccb->ccb_h.flags & CAM_HIGH_POWER) != 0) { in xpt_run_devq()3365 cam_ccbq_remove_ccb(&device->ccbq, work_ccb); in xpt_run_devq()3366 cam_ccbq_send_ccb(&device->ccbq, work_ccb); in xpt_run_devq()3372 if ((work_ccb->ccb_h.flags & CAM_DEV_QFREEZE) != 0) { in xpt_run_devq()3377 xpt_freeze_devq(work_ccb->ccb_h.path, 1); in xpt_run_devq()3381 if (work_ccb->ccb_h.func_code == XPT_SCSI_IO) { in xpt_run_devq()[all …]