Home
last modified time | relevance | path

Searched refs:CAM_DIR_MASK (Results 1 – 25 of 41) sorted by relevance

12

/dragonfly/sys/bus/cam/scsi/
H A Dscsi_targ_bh.c456 (CAM_DIS_DISCONNECT|CAM_TAG_ACTION_VALID|CAM_DIR_MASK); in targbhstart()
567 atio->ccb_h.flags &= ~CAM_DIR_MASK; in targbhdone()
584 atio->ccb_h.flags &= ~CAM_DIR_MASK; in targbhdone()
600 atio->ccb_h.flags &= ~CAM_DIR_MASK; in targbhdone()
614 atio->ccb_h.flags &= ~CAM_DIR_MASK; in targbhdone()
H A Dscsi_sg.c356 ((csio->ccb_h.flags & CAM_DIR_MASK) == in sgdone()
868 if (((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) in sgsendccb()
H A Dscsi_pass.c567 && ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE)) in passsendccb()
/dragonfly/sys/dev/raid/amr/
H A Damr_cam.c271 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in amr_cam_action()
504 if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in amr_cam_command()
506 if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) in amr_cam_command()
622 if ((csio->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) in amr_cam_complete()
/dragonfly/share/examples/scsi_target/
H A Dscsi_cmds.c252 ctio->ccb_h.flags &= ~CAM_DIR_MASK; in tcmd_sense()
428 if ((a_descr->flags & CAM_DIR_MASK) == CAM_DIR_RESV) { in tcmd_rdwr()
598 if ((a_descr->flags & CAM_DIR_MASK) == CAM_DIR_OUT && in tcmd_rdwr_done()
630 ctio->ccb_h.flags &= ~CAM_DIR_MASK; in tcmd_null_ok()
/dragonfly/sys/dev/raid/mfi/
H A Dmfi_cam.c230 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in mfip_cam_action()
299 switch (ccbh->flags & CAM_DIR_MASK) { in mfip_start()
/dragonfly/sys/dev/raid/hptiop/
H A Dhptiop.c395 switch (ccb->ccb_h.flags & CAM_DIR_MASK) { in hptiop_request_callback_itl()
549 switch (ccb->ccb_h.flags & CAM_DIR_MASK) { in hptiop_request_callback_mv()
656 switch (ccb->ccb_h.flags & CAM_DIR_MASK) { in hptiop_request_callback_mvfrey()
2298 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_NONE) in hptiop_action()
2459 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in hptiop_post_req_itl()
2463 else if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) in hptiop_post_req_itl()
2498 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in hptiop_post_req_itl()
2563 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in hptiop_post_req_mv()
2567 else if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) in hptiop_post_req_mv()
2617 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in hptiop_post_req_mvfrey()
[all …]
/dragonfly/sys/dev/disk/mpt/
H A Dmpt_cam.c1377 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) { in mpt_execute_req_a64()
1381 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_execute_req_a64()
1389 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_execute_req_a64()
1395 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_execute_req_a64()
1780 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) { in mpt_execute_req()
1784 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_execute_req()
1792 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_execute_req()
1798 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_execute_req()
2140 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in mpt_start()
2213 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in mpt_start()
[all …]
/dragonfly/sys/dev/disk/advansys/
H A Dadvansys.c215 if ((ccb_h->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in adv_action()
588 if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN) in adv_execute_ccb()
1129 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in adv_done()
1132 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in adv_done()
H A Dadwcam.c295 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in adwexecuteacb()
431 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in adw_action()
1296 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in adw_intr()
1299 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in adw_intr()
/dragonfly/sys/dev/disk/nata/
H A Datapi-cam.c521 switch (ccb_h->flags & CAM_DIR_MASK) { in atapi_action()
602 if ((ccb_h->flags & CAM_DIR_MASK) == CAM_DIR_IN && (len & 1)) { in atapi_action()
753 if (((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) && in atapi_cb()
/dragonfly/sys/dev/disk/iscsi/initiator/
H A Discsi_subr.c514 cmd->W = (ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT; in scsi_encap()
515 cmd->R = (ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN; in scsi_encap()
/dragonfly/sys/dev/raid/aac/
H A Daac_cam.c414 switch (ccb->ccb_h.flags & CAM_DIR_MASK) { in aac_cam_action()
456 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in aac_cam_action()
/dragonfly/sys/dev/disk/isp/
H A Disp_pci.c1742 if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in tdma2()
1745 } else if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) { in tdma2()
1813 if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in dma2()
1816 } else if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_OUT) { in dma2()
1859 if ((csio->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_NONE || (csio->dxfer_len == 0)) { in isp_pci_dmasetup()
/dragonfly/sys/dev/raid/mrsas/
H A Dmrsas_cam.c410 if ((ccb_h->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in mrsas_startio()
767 switch (ccb_h->flags & CAM_DIR_MASK) { in mrsas_setup_io()
776 …rsas_dprint(sc, MRSAS_TRACE, "From %s : DMA Flag is %d \n", __func__, ccb_h->flags & CAM_DIR_MASK); in mrsas_setup_io()
/dragonfly/sys/bus/cam/
H A Dcam_periph.c677 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_NONE) in cam_periph_mapmem()
682 mapinfo->dirs[0] = ccb->ccb_h.flags & CAM_DIR_MASK; in cam_periph_mapmem()
982 ((ccb->ccb_h.flags & CAM_DIR_MASK) == in cam_periph_runccb()
/dragonfly/sys/dev/disk/buslogic/
H A Dbt.c1000 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in btaction()
1277 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in btexecuteccb()
1395 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in btdone()
1398 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in btdone()
/dragonfly/sys/dev/raid/dpt/
H A Ddpt_scsi.c748 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in dptexecuteccb()
897 if ((ccbh->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in dpt_action()
1593 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in dpt_intr()
1596 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in dpt_intr()
/dragonfly/sys/dev/raid/iir/
H A Diir.c818 (ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN ? in gdt_raw_cmd()
842 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in gdt_raw_cmd()
1289 (ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN ? in gdtexecuteccb()
1816 (ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN ? in gdt_sync_event()
/dragonfly/sys/dev/disk/ahci/
H A Dahci_cam.c1213 switch (ccbh->flags & CAM_DIR_MASK) { in ahci_xpt_scsi_disk_io()
1255 switch (ccbh->flags & CAM_DIR_MASK) { in ahci_xpt_scsi_disk_io()
1450 switch (ccbh->flags & CAM_DIR_MASK) { in ahci_xpt_scsi_atapi_io()
/dragonfly/sys/dev/disk/sili/
H A Dsili_cam.c1147 switch (ccbh->flags & CAM_DIR_MASK) { in sili_xpt_scsi_disk_io()
1189 switch (ccbh->flags & CAM_DIR_MASK) { in sili_xpt_scsi_disk_io()
1381 switch (ccbh->flags & CAM_DIR_MASK) { in sili_xpt_scsi_atapi_io()
/dragonfly/sys/dev/virtual/vmware/pvscsi/
H A Dpvscsi.c911 if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in pvscsi_process_completion()
912 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { in pvscsi_process_completion()
1216 switch (ccb->ccb_h.flags & CAM_DIR_MASK) { in pvscsi_execute_ccb()
/dragonfly/sys/dev/disk/amd/
H A Damd.c320 if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in amdexecutesrb()
401 if ((pccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in amd_action()
1873 if ((pccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in SRBdone()
1876 if ((pccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) in SRBdone()
/dragonfly/sys/dev/virtual/virtio/scsi/
H A Dvirtio_scsi.c848 if ((ccbh->flags & CAM_DIR_MASK) == CAM_DIR_BOTH && in vtscsi_cam_scsi_io()
1086 if ((ccbh->flags & CAM_DIR_MASK) == CAM_DIR_OUT) { in vtscsi_fill_scsi_cmd_sglist()
1096 if ((ccbh->flags & CAM_DIR_MASK) == CAM_DIR_IN) { in vtscsi_fill_scsi_cmd_sglist()
/dragonfly/sys/dev/raid/twa/
H A Dtw_osl_cam.c259 if((ccb_h->flags & CAM_DIR_MASK) != CAM_DIR_NONE) { in tw_osli_execute_scsi()

12