Home
last modified time | relevance | path

Searched refs:work_ccb (Results 1 – 3 of 3) sorted by relevance

/src/sys/cam/ata/
H A Data_xpt.c1383 union ccb *work_ccb, *reset_ccb; in ata_scan_bus() local
1393 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 …]
/src/sys/cam/scsi/
H A Dscsi_xpt.c1997 union ccb *work_ccb, *reset_ccb; in scsi_scan_bus() local
2004 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 …]
/src/sys/cam/
H A Dcam_xpt.c268 static void xptaction(struct cam_sim *sim, union ccb *work_ccb);
3317 union ccb *work_ccb; in xpt_run_devq() local
3326 work_ccb = cam_ccbq_peek_ccb(&device->ccbq, CAMQ_HEAD); in xpt_run_devq()
3327 if (work_ccb == NULL) { in xpt_run_devq()
3332 if ((work_ccb->ccb_h.flags & CAM_HIGH_POWER) != 0) { in xpt_run_devq()
3356 cam_ccbq_remove_ccb(&device->ccbq, work_ccb); in xpt_run_devq()
3357 cam_ccbq_send_ccb(&device->ccbq, work_ccb); in xpt_run_devq()
3363 if ((work_ccb->ccb_h.flags & CAM_DEV_QFREEZE) != 0) { in xpt_run_devq()
3368 xpt_freeze_devq(work_ccb->ccb_h.path, 1); in xpt_run_devq()
3372 if (work_ccb->ccb_h.func_code == XPT_SCSI_IO) { in xpt_run_devq()
[all …]