Lines Matching refs:func_code
427 if (inccb->ccb_h.func_code == XPT_SCSI_IO) in xptdoioctl()
438 switch (inccb->ccb_h.func_code) { in xptdoioctl()
458 switch(inccb->ccb_h.func_code) { in xptdoioctl()
611 if (ccb->ccb_h.func_code == XPT_SCSI_IO) in xptdoioctl()
842 ccb->ccb_h.func_code = XPT_SCAN_BUS; in xpt_rescan()
845 ccb->ccb_h.func_code = XPT_SCAN_TGT; in xpt_rescan()
848 ccb->ccb_h.func_code = XPT_SCAN_LUN; in xpt_rescan()
856 ("xpt_rescan: func %#x %s\n", ccb->ccb_h.func_code, in xpt_rescan()
857 xpt_action_name(ccb->ccb_h.func_code))); in xpt_rescan()
1179 cdai.ccb_h.func_code = XPT_DEV_ADVINFO; in xpt_getattr()
2531 ("xpt_action: func %#x %s\n", start_ccb->ccb_h.func_code, in xpt_action()
2532 xpt_action_name(start_ccb->ccb_h.func_code))); in xpt_action()
2539 KASSERT((start_ccb->ccb_h.func_code & XPT_FC_QUEUED) == 0 || in xpt_action()
2557 ("xpt_action_default: func %#x %s\n", start_ccb->ccb_h.func_code, in xpt_action_default()
2558 xpt_action_name(start_ccb->ccb_h.func_code))); in xpt_action_default()
2560 switch (start_ccb->ccb_h.func_code) { in xpt_action_default()
2597 if (start_ccb->ccb_h.func_code == XPT_ATA_IO) in xpt_action_default()
2707 ("Calling sim->sim_action(): func=%#x\n", start_ccb->ccb_h.func_code)); in xpt_action_default()
3080 start_ccb->ccb_h.func_code, in xpt_action_default()
3081 xpt_action_name(start_ccb->ccb_h.func_code)); in xpt_action_default()
3083 if (start_ccb->ccb_h.func_code & XPT_FC_DEV_QUEUED) { in xpt_action_default()
3090 start_ccb->ccb_h.func_code, in xpt_action_default()
3091 xpt_action_name(start_ccb->ccb_h.func_code), in xpt_action_default()
3372 if (work_ccb->ccb_h.func_code == XPT_SCSI_IO) { in xpt_run_devq()
3424 dst_ccb->ccb_h.func_code = src_ccb->ccb_h.func_code; in xpt_merge_ccb()
3989 scan_ccb->ccb_h.func_code = XPT_SCAN_BUS; in xpt_bus_register()
4310 ccb->ccb_h.func_code = XPT_ASYNC; in xpt_async()
4318 ccb->ccb_h.func_code, in xpt_async()
4319 xpt_action_name(ccb->ccb_h.func_code), in xpt_async()
4509 if (done_ccb->ccb_h.func_code == XPT_SCSI_IO && in xpt_done()
4516 done_ccb->ccb_h.func_code, in xpt_done()
4517 xpt_action_name(done_ccb->ccb_h.func_code), in xpt_done()
4519 if ((done_ccb->ccb_h.func_code & XPT_FC_QUEUED) == 0) { in xpt_done()
4545 if ((done_ccb->ccb_h.func_code & XPT_FC_QUEUED) == 0) in xpt_done_direct()
4991 crs.ccb_h.func_code = XPT_REL_SIMQ; in xpt_start_tags()
5017 crs.ccb_h.func_code = XPT_REL_SIMQ; in xpt_stop_tags()
5175 csa.ccb_h.func_code = XPT_SASYNC_CB; in xpt_register_async()
5215 switch (work_ccb->ccb_h.func_code) { in xptaction()
5288 if (ccb_h->func_code == XPT_SCSI_IO) { in xpt_done_process()
5344 if ((ccb_h->func_code & XPT_FC_USER_CCB) == 0) { in xpt_done_process()
5350 ccb_h, xpt_action_name(ccb_h->func_code))); in xpt_done_process()