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