Home
last modified time | relevance | path

Searched refs:opstats (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dfault.c22 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()
H A Ddebugfs.c30 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()