Lines Matching refs:func_code

60 	int	   func_code;  member
153 static size_t targccblen(xpt_opcode func_code);
277 cdbg.ccb_h.func_code = XPT_DEBUG; in targioctl()
364 en_ccb.ccb_h.func_code = XPT_EN_LUN; in targendislun()
527 int func_code, priority; in targwrite() local
547 func_code = fuword32(&user_ccb->ccb_h.func_code); in targwrite()
548 switch (func_code) { in targwrite()
553 ccb = targgetccb(softc, func_code, priority); in targwrite()
556 descr->func_code = func_code; in targwrite()
567 if ((func_code & XPT_FC_QUEUED) != 0) { in targwrite()
570 func_code, user_ccb)); in targwrite()
574 descr->func_code = func_code; in targwrite()
581 func_code, user_ccb)); in targwrite()
582 ccb = targgetccb(softc, func_code, priority); in targwrite()
587 descr->func_code = func_code; in targwrite()
666 k_ccbh->func_code = descr->func_code; in targusermerge()
669 ccb_len = targccblen(k_ccbh->func_code) - sizeof(struct ccb_hdr); in targusermerge()
677 if (k_ccbh->func_code == XPT_ABORT) { in targusermerge()
727 if ((ccb_h->func_code == XPT_CONT_TARGET_IO) || in targsendccb()
728 (ccb_h->func_code == XPT_DEV_MATCH)) { in targsendccb()
776 switch (done_ccb->ccb_h.func_code) { in targdone()
790 done_ccb->ccb_h.func_code); in targdone()
920 ccb_len = targccblen(ccb->ccb_h.func_code) - sizeof(struct ccb_hdr); in targreturnccb()
954 ccb->ccb_h.func_code = type; in targgetccb()
971 switch (ccb->ccb_h.func_code) { in targfreeccb()
1047 cab.ccb_h.func_code = XPT_ABORT; in abort_all_pending()
1128 targccblen(xpt_opcode func_code) in targccblen() argument
1133 switch (func_code) { in targccblen()