Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_debugfs.c81 struct qib_opcode_stats_perctx *opstats; in _opcode_stats_seq_start() local
83 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start()
90 struct qib_opcode_stats_perctx *opstats; in _opcode_stats_seq_next() local
93 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next()
115 n_packets += dd->rcd[j]->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
116 n_bytes += dd->rcd[j]->opstats->stats[i].n_bytes; in _opcode_stats_seq_show()
179 for (j = 0; j < ARRAY_SIZE(dd->rcd[i]->opstats->stats); j++) in _ctx_stats_seq_show()
180 n_packets += dd->rcd[i]->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
Dqib_init.c194 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats), in qib_create_ctxtdata()
196 if (!rcd->opstats) { in qib_create_ctxtdata()
986 kfree(rcd->opstats); in qib_free_ctxtdata()
987 rcd->opstats = NULL; in qib_free_ctxtdata()
Dqib.h239 struct qib_opcode_stats_perctx *opstats; member
Dqib_verbs.c651 rcd->opstats->stats[opcode].n_bytes += tlen; in qib_ib_rcv()
652 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
/drivers/infiniband/hw/ipath/
Dipath_verbs.c624 dev->opstats[opcode].n_bytes += tlen; in ipath_ib_rcv()
625 dev->opstats[opcode].n_packets++; in ipath_ib_rcv()
2302 for (i = 0; i < ARRAY_SIZE(dev->opstats); i++) { in show_stats()
2303 const struct ipath_opcode_stats *si = &dev->opstats[i]; in show_stats()
Dipath_verbs.h626 struct ipath_opcode_stats opstats[128]; member