/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_debugfs.c | 71 struct qib_opcode_stats_perctx *opstats; in _opcode_stats_seq_start() local 73 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start() 80 struct qib_opcode_stats_perctx *opstats; in _opcode_stats_seq_next() local 83 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next() 105 n_packets += dd->rcd[j]->opstats->stats[i].n_packets; in _opcode_stats_seq_show() 106 n_bytes += dd->rcd[j]->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 169 for (j = 0; j < ARRAY_SIZE(dd->rcd[i]->opstats->stats); j++) in _ctx_stats_seq_show() 170 n_packets += dd->rcd[i]->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
|
H A D | qib_init.c | 182 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats), in qib_create_ctxtdata() 184 if (!rcd->opstats) { in qib_create_ctxtdata() 944 kfree(rcd->opstats); in qib_free_ctxtdata() 945 rcd->opstats = NULL; in qib_free_ctxtdata()
|
H A D | qib.h | 227 struct qib_opcode_stats_perctx *opstats; member
|
H A D | qib_verbs.c | 315 rcd->opstats->stats[opcode].n_bytes += tlen; in qib_ib_rcv() 316 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_debugfs.c | 71 struct qib_opcode_stats_perctx *opstats; in _opcode_stats_seq_start() local 73 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start() 80 struct qib_opcode_stats_perctx *opstats; in _opcode_stats_seq_next() local 83 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next() 105 n_packets += dd->rcd[j]->opstats->stats[i].n_packets; in _opcode_stats_seq_show() 106 n_bytes += dd->rcd[j]->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 169 for (j = 0; j < ARRAY_SIZE(dd->rcd[i]->opstats->stats); j++) in _ctx_stats_seq_show() 170 n_packets += dd->rcd[i]->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
|
H A D | qib_init.c | 182 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats), in qib_create_ctxtdata() 184 if (!rcd->opstats) { in qib_create_ctxtdata() 944 kfree(rcd->opstats); in qib_free_ctxtdata() 945 rcd->opstats = NULL; in qib_free_ctxtdata()
|
H A D | qib.h | 227 struct qib_opcode_stats_perctx *opstats; member
|
H A D | qib_verbs.c | 315 rcd->opstats->stats[opcode].n_bytes += tlen; in qib_ib_rcv() 316 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 64 struct hfi1_opcode_stats_perctx *opstats; in _fault_stats_seq_start() local 66 if (*pos >= ARRAY_SIZE(opstats->stats)) in _fault_stats_seq_start() 73 struct hfi1_opcode_stats_perctx *opstats; in _fault_stats_seq_next() local 76 if (*pos >= ARRAY_SIZE(opstats->stats)) in _fault_stats_seq_next() 97 n_packets += rcd->opstats->stats[i].n_packets; in _fault_stats_seq_show() 98 n_bytes += rcd->opstats->stats[i].n_bytes; in _fault_stats_seq_show()
|
H A D | debugfs.c | 100 struct hfi1_opcode_stats_perctx *opstats; in _opcode_stats_seq_start() local 102 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start() 109 struct hfi1_opcode_stats_perctx *opstats; in _opcode_stats_seq_next() local 112 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next() 144 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show() 145 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 244 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++) in _ctx_stats_seq_show() 245 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
|
H A D | init.c | 483 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats), in hfi1_create_ctxtdata() 485 if (!rcd->opstats) in hfi1_create_ctxtdata() 1167 kfree(rcd->opstats); in hfi1_free_ctxtdata() 1172 rcd->opstats = NULL; in hfi1_free_ctxtdata()
|
H A D | verbs.c | 395 inc_opstats(tlen, &rcd->opstats->stats[opcode]); in hfi1_kdeth_eager_rcv() 449 inc_opstats(tlen, &rcd->opstats->stats[opcode]); in hfi1_kdeth_expected_rcv() 506 inc_opstats(packet->tlen, &rcd->opstats->stats[packet->opcode]); in hfi1_handle_packet() 736 * This is a routine to record the tx opstats after a
|
H A D | hfi.h | 240 struct hfi1_opcode_stats_perctx *opstats; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 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()
|
H A D | debugfs.c | 58 struct hfi1_opcode_stats_perctx *opstats; in _opcode_stats_seq_start() local 60 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start() 67 struct hfi1_opcode_stats_perctx *opstats; in _opcode_stats_seq_next() local 70 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next() 102 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show() 103 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 202 for (j = 0; j < ARRAY_SIZE(rcd->opstats->stats); j++) in _ctx_stats_seq_show() 203 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
|
H A D | init.c | 442 rcd->opstats = kzalloc_node(sizeof(*rcd->opstats), in hfi1_create_ctxtdata() 444 if (!rcd->opstats) in hfi1_create_ctxtdata() 1126 kfree(rcd->opstats); in hfi1_free_ctxtdata() 1131 rcd->opstats = NULL; in hfi1_free_ctxtdata()
|
H A D | verbs.c | 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
|
H A D | hfi.h | 199 struct hfi1_opcode_stats_perctx *opstats; member
|