Lines Matching refs:rcd
97 struct hfi1_ctxtdata *rcd; in _opcode_stats_seq_show() local
100 rcd = hfi1_rcd_get_by_index(dd, j); in _opcode_stats_seq_show()
101 if (rcd) { in _opcode_stats_seq_show()
102 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
103 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show()
105 hfi1_rcd_put(rcd); in _opcode_stats_seq_show()
188 struct hfi1_ctxtdata *rcd; in _ctx_stats_seq_show() local
198 rcd = hfi1_rcd_get_by_index_safe(dd, i); in _ctx_stats_seq_show()
199 if (!rcd) in _ctx_stats_seq_show()
202 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++) in _ctx_stats_seq_show()
203 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
205 hfi1_rcd_put(rcd); in _ctx_stats_seq_show()
329 if (!dd->rcd || *pos >= dd->n_krcv_queues) in _rcds_seq_start()
340 if (!dd->rcd || *pos >= dd->num_rcv_contexts) in _rcds_seq_next()
353 struct hfi1_ctxtdata *rcd; in _rcds_seq_show() local
357 rcd = hfi1_rcd_get_by_index_safe(dd, i); in _rcds_seq_show()
358 if (rcd) in _rcds_seq_show()
359 seqfile_dump_rcd(s, rcd); in _rcds_seq_show()
360 hfi1_rcd_put(rcd); in _rcds_seq_show()