Lines Matching defs:rcd
211 * @rcd: the context pointer
222 static void qib_qp_rcv(struct qib_ctxtdata *rcd, struct ib_header *hdr,
225 struct qib_ibport *ibp = &rcd->ppd->ibport_data;
246 qib_rc_rcv(rcd, hdr, has_grh, data, tlen, qp);
263 * @rcd: the context pointer
271 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen)
273 struct qib_pportdata *ppd = rcd->ppd;
315 rcd->opstats->stats[opcode].n_bytes += tlen;
316 rcd->opstats->stats[opcode].n_packets++;
333 qib_qp_rcv(rcd, hdr, 1, data, tlen, p->qp);
349 qib_qp_rcv(rcd, hdr, lnh == QIB_LRH_GRH, data, tlen, qp);
1365 return ARRAY_SIZE(dd->rcd[0]->pkeys);
1370 * No need to validate rcd[ctxt]; the port is setup if we are here.
1379 /* dd->rcd null if mini_init or some init failures */
1380 if (!dd->rcd || index >= ARRAY_SIZE(dd->rcd[ctxt]->pkeys))
1383 ret = dd->rcd[ctxt]->pkeys[index];
1614 dd->rcd[ctxt]->pkeys);