Home | History | Annotate | Download | only in iscsi

Lines Matching defs:ccb

131  *    Translate ITT into CCB pointer.
138 * Pointer to CCB, or NULL if ITT is not a valid CCB index.
144 ccb_t *ccb;
154 ccb = &conn->c_session->s_ccb[cidx];
156 if (ccb->ccb_ITT != itt) {
158 ("ccb_from_itt: received invalid CCB itt %08x != %08x\n",
159 itt, ccb->ccb_ITT));
163 if (ccb->ccb_disp <= CCBDISP_BUSY) {
165 ("ccb_from_itt: received CCB with invalid disp %d\n",
166 ccb->ccb_disp));
170 return ccb;
288 * req_CCB The CCB associated with the original request
305 DEBOUT(("Collect Text Data: Out of Memory, ccb = %p\n", req_ccb));
307 /* XXX where is CCB freed? */
401 ccb_t *ccb, *nxt;
403 TAILQ_FOREACH_SAFE(ccb, &conn->c_ccbs_waiting, ccb_chain, nxt) {
406 ccb->ccb_CmdSN, sn, ccb->ccb_pdu_waiting, ccb->ccb_flags));
407 if (ccb->ccb_pdu_waiting != NULL &&
408 sn_a_lt_b(sn, ccb->ccb_CmdSN) &&
409 !(ccb->ccb_flags & CCBF_GOT_RSP)) {
411 ccb->ccb_CmdSN, sn));
413 ccb->ccb_total_tries++;
415 if (++ccb->ccb_num_timeouts > MAX_CCB_TIMEOUTS ||
416 ccb->ccb_total_tries > MAX_CCB_TRIES) {
419 (ccb->ccb_total_tries <= MAX_CCB_TRIES)
424 resend_pdu(ccb);
446 * req_CCB The CCB associated with the original request (if any)
460 DEBOUT(("Received duplicate login response (no associated CCB)\n"));
497 * req_CCB The CCB associated with the original request (if any)
539 * req_CCB The CCB associated with the original request (if any)
552 ("Received Logout PDU - CCB = %p, otherconn=%d, response=%d\n",
611 * req_CCB The CCB associated with the original request (if any)
701 * req_CCB The CCB associated with the original request (if any)
708 DEBC(conn, 10, ("Received R2T PDU - CCB = %p\n", req_ccb));
729 * req_CCB The CCB associated with the original request (if any)
750 DEBOUT(("Possibly duplicate command response (no associated CCB)\n"));
896 DEBC(conn, 9, ("Reject PDU ITT (ccb)= %x (%p)\n",
947 * req_CCB The CCB associated with the original request (if any)
1004 * req_CCB The CCB associated with the original request (if any)
1100 ("Received Data in PDU - CCB = %p, Datalen = %d, Offset = %d\n",