Searched refs:opstats (Results 1 – 5 of 5) sorted by relevance
22 struct hfi1_opcode_stats_perctx *opstats; in _fault_stats_seq_start() local 24 if (*pos >= ARRAY_SIZE(opstats->stats)) in _fault_stats_seq_start() 31 struct hfi1_opcode_stats_perctx *opstats; in _fault_stats_seq_next() local 34 if (*pos >= ARRAY_SIZE(opstats->stats)) in _fault_stats_seq_next() 55 n_packets += rcd->opstats->stats[i].n_packets; in _fault_stats_seq_show() 56 n_bytes += rcd->opstats->stats[i].n_bytes; in _fault_stats_seq_show()
30 struct hfi1_opcode_stats_perctx *opstats; in _opcode_stats_seq_start() local 32 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start() 39 struct hfi1_opcode_stats_perctx *opstats; in _opcode_stats_seq_next() local 42 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next() 74 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show() 75 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 174 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++) in _ctx_stats_seq_show() 175 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
442 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats), in hfi1_create_ctxtdata() 444 if (!rcd->opstats) in hfi1_create_ctxtdata() 1124 kfree(rcd->opstats); in hfi1_free_ctxtdata() 1129 rcd->opstats = NULL; in hfi1_free_ctxtdata()
353 inc_opstats(tlen, &rcd->opstats->stats[opcode]); in hfi1_kdeth_eager_rcv() 407 inc_opstats(tlen, &rcd->opstats->stats[opcode]); in hfi1_kdeth_expected_rcv() 464 inc_opstats(packet->tlen, &rcd->opstats->stats[packet->opcode]); in hfi1_handle_packet() 694 * This is a routine to record the tx opstats after a
199 struct hfi1_opcode_stats_perctx *opstats; member