Lines Matching refs:rcd
139 struct hfi1_ctxtdata *rcd; in _opcode_stats_seq_show() local
142 rcd = hfi1_rcd_get_by_index(dd, j); in _opcode_stats_seq_show()
143 if (rcd) { in _opcode_stats_seq_show()
144 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
145 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show()
147 hfi1_rcd_put(rcd); in _opcode_stats_seq_show()
230 struct hfi1_ctxtdata *rcd; in _ctx_stats_seq_show() local
240 rcd = hfi1_rcd_get_by_index_safe(dd, i); in _ctx_stats_seq_show()
241 if (!rcd) in _ctx_stats_seq_show()
244 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++) in _ctx_stats_seq_show()
245 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
247 hfi1_rcd_put(rcd); in _ctx_stats_seq_show()
371 if (!dd->rcd || *pos >= dd->n_krcv_queues) in _rcds_seq_start()
382 if (!dd->rcd || *pos >= dd->num_rcv_contexts) in _rcds_seq_next()
395 struct hfi1_ctxtdata *rcd; in _rcds_seq_show() local
399 rcd = hfi1_rcd_get_by_index_safe(dd, i); in _rcds_seq_show()
400 if (rcd) in _rcds_seq_show()
401 seqfile_dump_rcd(s, rcd); in _rcds_seq_show()
402 hfi1_rcd_put(rcd); in _rcds_seq_show()