Searched refs:work_ccb (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/cam/ata/ |
H A D | ata_xpt.c | 1383 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 …]
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_xpt.c | 1934 union ccb *work_ccb, *reset_ccb; in scsi_scan_bus() local 1941 work_ccb = xpt_alloc_ccb_nowait(); in scsi_scan_bus() 1942 if (work_ccb == NULL) { in scsi_scan_bus() 1947 xpt_setup_ccb(&work_ccb->ccb_h, request_ccb->ccb_h.path, in scsi_scan_bus() 1949 work_ccb->ccb_h.func_code = XPT_PATH_INQ; in scsi_scan_bus() 1950 xpt_action(work_ccb); in scsi_scan_bus() 1951 if (work_ccb->ccb_h.status != CAM_REQ_CMP) { in scsi_scan_bus() 1952 request_ccb->ccb_h.status = work_ccb->ccb_h.status; in scsi_scan_bus() 1953 xpt_free_ccb(work_ccb); in scsi_scan_bus() 1958 if ((work_ccb->cpi.hba_misc & PIM_NOINITIATOR) != 0) { in scsi_scan_bus() [all …]
|
/freebsd/sys/cam/ |
H A D | cam_xpt.c | 262 static void xptaction(struct cam_sim *sim, union ccb *work_ccb); 3294 union ccb *work_ccb; in xpt_run_devq() local 3303 work_ccb = cam_ccbq_peek_ccb(&device->ccbq, CAMQ_HEAD); in xpt_run_devq() 3304 if (work_ccb == NULL) { in xpt_run_devq() 3309 if ((work_ccb->ccb_h.flags & CAM_HIGH_POWER) != 0) { in xpt_run_devq() 3333 cam_ccbq_remove_ccb(&device->ccbq, work_ccb); in xpt_run_devq() 3334 cam_ccbq_send_ccb(&device->ccbq, work_ccb); in xpt_run_devq() 3340 if ((work_ccb->ccb_h.flags & CAM_DEV_QFREEZE) != 0) { in xpt_run_devq() 3345 xpt_freeze_devq(work_ccb->ccb_h.path, 1); in xpt_run_devq() 3349 if (work_ccb->ccb_h.func_code == XPT_SCSI_IO) { in xpt_run_devq() [all …]
|