Lines Matching refs:rcd
98 struct hfi1_ctxtdata *rcd; in _opcode_stats_seq_show() local
101 rcd = hfi1_rcd_get_by_index(dd, j); in _opcode_stats_seq_show()
102 if (rcd) { in _opcode_stats_seq_show()
103 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
104 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show()
106 hfi1_rcd_put(rcd); in _opcode_stats_seq_show()
189 struct hfi1_ctxtdata *rcd; in _ctx_stats_seq_show() local
199 rcd = hfi1_rcd_get_by_index_safe(dd, i); in _ctx_stats_seq_show()
200 if (!rcd) in _ctx_stats_seq_show()
203 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++) in _ctx_stats_seq_show()
204 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
206 hfi1_rcd_put(rcd); in _ctx_stats_seq_show()
330 if (!dd->rcd || *pos >= dd->n_krcv_queues) in _rcds_seq_start()
341 if (!dd->rcd || *pos >= dd->num_rcv_contexts) in _rcds_seq_next()
354 struct hfi1_ctxtdata *rcd; in _rcds_seq_show() local
358 rcd = hfi1_rcd_get_by_index_safe(dd, i); in _rcds_seq_show()
359 if (rcd) in _rcds_seq_show()
360 seqfile_dump_rcd(s, rcd); in _rcds_seq_show()
361 hfi1_rcd_put(rcd); in _rcds_seq_show()