Searched refs:opstats (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/infiniband/hw/qib/
H A Dqib_debugfs.c71 struct qib_opcode_stats_perctx *opstats; local
73 if (*pos >= ARRAY_SIZE(opstats->stats))
80 struct qib_opcode_stats_perctx *opstats; local
83 if (*pos >= ARRAY_SIZE(opstats->stats))
105 n_packets += dd->rcd[j]->opstats->stats[i].n_packets;
106 n_bytes += dd->rcd[j]->opstats->stats[i].n_bytes;
169 for (j = 0; j < ARRAY_SIZE(dd->rcd[i]->opstats->stats); j++)
170 n_packets += dd->rcd[i]->opstats->stats[j].n_packets;
H A Dqib_init.c182 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats),
184 if (!rcd->opstats) {
944 kfree(rcd->opstats);
945 rcd->opstats = NULL;
H A Dqib_verbs.c315 rcd->opstats->stats[opcode].n_bytes += tlen;
316 rcd->opstats->stats[opcode].n_packets++;
H A Dqib.h227 struct qib_opcode_stats_perctx *opstats; member in struct:qib_ctxtdata
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfault.c22 struct hfi1_opcode_stats_perctx *opstats; local
24 if (*pos >= ARRAY_SIZE(opstats->stats))
31 struct hfi1_opcode_stats_perctx *opstats; local
34 if (*pos >= ARRAY_SIZE(opstats->stats))
55 n_packets += rcd->opstats->stats[i].n_packets;
56 n_bytes += rcd->opstats->stats[i].n_bytes;
H A Ddebugfs.c58 struct hfi1_opcode_stats_perctx *opstats; local
60 if (*pos >= ARRAY_SIZE(opstats->stats))
67 struct hfi1_opcode_stats_perctx *opstats; local
70 if (*pos >= ARRAY_SIZE(opstats->stats))
102 n_packets += rcd->opstats->stats[i].n_packets;
103 n_bytes += rcd->opstats->stats[i].n_bytes;
202 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++)
203 n_packets += rcd->opstats->stats[j].n_packets;
H A Dinit.c442 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats),
444 if (!rcd->opstats)
1125 kfree(rcd->opstats);
1130 rcd->opstats = NULL;
H A Dverbs.c353 inc_opstats(tlen, &rcd->opstats->stats[opcode]);
407 inc_opstats(tlen, &rcd->opstats->stats[opcode]);
464 inc_opstats(packet->tlen, &rcd->opstats->stats[packet->opcode]);
694 * This is a routine to record the tx opstats after a
H A Dhfi.h199 struct hfi1_opcode_stats_perctx *opstats; member in struct:hfi1_ctxtdata

Completed in 178 milliseconds