Lines Matching refs:rcd
559 static void qib_qp_rcv(struct qib_ctxtdata *rcd, struct qib_ib_header *hdr, in qib_qp_rcv() argument
562 struct qib_ibport *ibp = &rcd->ppd->ibport_data; in qib_qp_rcv()
583 qib_rc_rcv(rcd, hdr, has_grh, data, tlen, qp); in qib_qp_rcv()
608 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument
610 struct qib_pportdata *ppd = rcd->ppd; in qib_ib_rcv()
665 qib_qp_rcv(rcd, hdr, 1, data, tlen, p->qp); in qib_ib_rcv()
673 if (rcd->lookaside_qp) { in qib_ib_rcv()
674 if (rcd->lookaside_qpn != qp_num) { in qib_ib_rcv()
676 &rcd->lookaside_qp->refcount)) in qib_ib_rcv()
678 &rcd->lookaside_qp->wait); in qib_ib_rcv()
679 rcd->lookaside_qp = NULL; in qib_ib_rcv()
682 if (!rcd->lookaside_qp) { in qib_ib_rcv()
686 rcd->lookaside_qp = qp; in qib_ib_rcv()
687 rcd->lookaside_qpn = qp_num; in qib_ib_rcv()
689 qp = rcd->lookaside_qp; in qib_ib_rcv()
691 qib_qp_rcv(rcd, hdr, lnh == QIB_LRH_GRH, data, tlen, qp); in qib_ib_rcv()
1925 return ARRAY_SIZE(dd->rcd[0]->pkeys); in qib_get_npkeys()
1940 if (!dd->rcd || index >= ARRAY_SIZE(dd->rcd[ctxt]->pkeys)) in qib_get_pkey()
1943 ret = dd->rcd[ctxt]->pkeys[index]; in qib_get_pkey()