npkts 11762 drivers/infiniband/hw/hfi1/chip.c static void adjust_rcv_timeout(struct hfi1_ctxtdata *rcd, u32 npkts) npkts 11776 drivers/infiniband/hw/hfi1/chip.c if (npkts < rcv_intr_count) { npkts 11805 drivers/infiniband/hw/hfi1/chip.c u32 intr_adjust, u32 npkts) npkts 11816 drivers/infiniband/hw/hfi1/chip.c adjust_rcv_timeout(rcd, npkts); npkts 796 drivers/infiniband/hw/hfi1/chip.h u32 intr_adjust, u32 npkts); npkts 1344 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts += (npages + pmtu_pg - 1) >> ilog2(pmtu_pg); npkts 1405 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts = 0; npkts 1516 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.lpsn = flow->flow_state.spsn + flow->npkts - 1; npkts 1519 drivers/infiniband/hw/hfi1/tid_rdma.c qpriv->flow_state.psn += flow->npkts; npkts 1791 drivers/infiniband/hw/hfi1/tid_rdma.c u32 npkts = rvt_div_round_up_mtu(qp, *len); npkts 1832 drivers/infiniband/hw/hfi1/tid_rdma.c if ((qpriv->flow_state.psn + npkts) > MAX_TID_FLOW_PSN - 1) { npkts 1865 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.ib_spsn + flow->npkts - 1; npkts 1869 drivers/infiniband/hw/hfi1/tid_rdma.c req->s_next_psn += flow->npkts; npkts 1909 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts = rvt_div_round_up_mtu(qp, len); npkts 1943 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts - 1; npkts 1945 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.ib_lpsn = flow->flow_state.ib_spsn + flow->npkts - 1; npkts 1959 drivers/infiniband/hw/hfi1/tid_rdma.c e->lpsn = psn + flow->npkts - 1; npkts 3082 drivers/infiniband/hw/hfi1/tid_rdma.c tidnpkts, npkts; npkts 3087 drivers/infiniband/hw/hfi1/tid_rdma.c npkts = min_t(u32, diff, tidnpkts); npkts 3088 drivers/infiniband/hw/hfi1/tid_rdma.c flow->pkt += npkts; npkts 3089 drivers/infiniband/hw/hfi1/tid_rdma.c flow->sent += (npkts == tidnpkts ? tidlen : npkts 3090 drivers/infiniband/hw/hfi1/tid_rdma.c npkts * qp->pmtu); npkts 3091 drivers/infiniband/hw/hfi1/tid_rdma.c flow->tid_offset += npkts * qp->pmtu; npkts 3092 drivers/infiniband/hw/hfi1/tid_rdma.c diff -= npkts; npkts 3458 drivers/infiniband/hw/hfi1/tid_rdma.c u32 npkts, to_seg; npkts 3529 drivers/infiniband/hw/hfi1/tid_rdma.c npkts = rvt_div_round_up_mtu(qp, req->seg_len); npkts 3535 drivers/infiniband/hw/hfi1/tid_rdma.c if (qpriv->flow_state.psn + npkts > MAX_TID_FLOW_PSN - 1) { npkts 4109 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts = rvt_div_round_up_mtu(qp, flow->length); npkts 4111 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts - 1; npkts 4670 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts = npkts 4679 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts - 1; npkts 4681 drivers/infiniband/hw/hfi1/tid_rdma.c spsn += flow->npkts; npkts 4682 drivers/infiniband/hw/hfi1/tid_rdma.c resync_psn += flow->npkts; npkts 4938 drivers/infiniband/hw/hfi1/tid_rdma.c flow->npkts = delta_psn(lpsn, next - 1); npkts 4942 drivers/infiniband/hw/hfi1/tid_rdma.c flow->flow_state.spsn + flow->npkts - 1; npkts 4946 drivers/infiniband/hw/hfi1/tid_rdma.c fs->psn += flow->npkts; npkts 189 drivers/infiniband/hw/hfi1/tid_rdma.h u8 npkts; npkts 596 drivers/infiniband/hw/hfi1/trace_tx.h __field(u16, npkts) npkts 606 drivers/infiniband/hw/hfi1/trace_tx.h __entry->npkts = i[1]; npkts 616 drivers/infiniband/hw/hfi1/trace_tx.h __entry->npkts, npkts 448 drivers/infiniband/hw/hfi1/user_sdma.c if (!info.npkts || req->data_iovs > MAX_VECTORS_PER_REQ) { npkts 537 drivers/infiniband/hw/hfi1/user_sdma.c if (pcount > req->info.npkts) npkts 538 drivers/infiniband/hw/hfi1/user_sdma.c pcount = req->info.npkts; npkts 587 drivers/infiniband/hw/hfi1/user_sdma.c if (req->info.npkts > 1 && HFI1_CAP_IS_USET(SDMA_AHG)) npkts 599 drivers/infiniband/hw/hfi1/user_sdma.c while (req->seqsubmitted != req->info.npkts) { npkts 620 drivers/infiniband/hw/hfi1/user_sdma.c if (req->seqsubmitted < req->info.npkts) { npkts 782 drivers/infiniband/hw/hfi1/user_sdma.c unsigned npkts = 0; npkts 799 drivers/infiniband/hw/hfi1/user_sdma.c if (unlikely(req->seqnum == req->info.npkts)) { npkts 805 drivers/infiniband/hw/hfi1/user_sdma.c if (!maxpkts || maxpkts > req->info.npkts - req->seqnum) npkts 806 drivers/infiniband/hw/hfi1/user_sdma.c maxpkts = req->info.npkts - req->seqnum; npkts 808 drivers/infiniband/hw/hfi1/user_sdma.c while (npkts < maxpkts) { npkts 832 drivers/infiniband/hw/hfi1/user_sdma.c if (req->seqnum == req->info.npkts - 1) npkts 931 drivers/infiniband/hw/hfi1/user_sdma.c npkts++; npkts 938 drivers/infiniband/hw/hfi1/user_sdma.c if (req->seqsubmitted == req->info.npkts) { npkts 1424 drivers/infiniband/hw/hfi1/user_sdma.c if (req->seqcomp != req->info.npkts - 1) npkts 440 drivers/infiniband/hw/qib/qib_driver.c u32 qib_kreceive(struct qib_ctxtdata *rcd, u32 *llic, u32 *npkts) npkts 574 drivers/infiniband/hw/qib/qib_driver.c if (npkts) npkts 575 drivers/infiniband/hw/qib/qib_driver.c *npkts = i; npkts 2050 drivers/infiniband/hw/qib/qib_iba6120.c u32 updegr, u32 egrhd, u32 npkts) npkts 2702 drivers/infiniband/hw/qib/qib_iba7220.c u32 updegr, u32 egrhd, u32 npkts) npkts 3039 drivers/infiniband/hw/qib/qib_iba7322.c static void adjust_rcv_timeout(struct qib_ctxtdata *rcd, int npkts) npkts 3048 drivers/infiniband/hw/qib/qib_iba7322.c if (npkts < rcv_int_count && timeout > 2) npkts 3050 drivers/infiniband/hw/qib/qib_iba7322.c else if (npkts >= rcv_int_count && timeout < rcv_int_timeout) npkts 3075 drivers/infiniband/hw/qib/qib_iba7322.c u32 npkts; npkts 3134 drivers/infiniband/hw/qib/qib_iba7322.c qib_kreceive(dd->rcd[i], NULL, &npkts); npkts 3163 drivers/infiniband/hw/qib/qib_iba7322.c u32 npkts; npkts 3180 drivers/infiniband/hw/qib/qib_iba7322.c qib_kreceive(rcd, NULL, &npkts); npkts 4432 drivers/infiniband/hw/qib/qib_iba7322.c u32 updegr, u32 egrhd, u32 npkts) npkts 4439 drivers/infiniband/hw/qib/qib_iba7322.c adjust_rcv_timeout(rcd, npkts); npkts 812 drivers/infiniband/hw/qib/qib_user_sdma.c int npkts = 0; npkts 821 drivers/infiniband/hw/qib/qib_user_sdma.c while (idx < niov && npkts < *maxpkts) { npkts 1012 drivers/infiniband/hw/qib/qib_user_sdma.c npkts++; npkts 1020 drivers/infiniband/hw/qib/qib_user_sdma.c *maxpkts = npkts; npkts 1382 drivers/infiniband/hw/qib/qib_user_sdma.c int npkts = 0; npkts 1427 drivers/infiniband/hw/qib/qib_user_sdma.c npkts += mxp; npkts 1438 drivers/infiniband/hw/qib/qib_user_sdma.c return (ret < 0) ? ret : npkts; npkts 539 drivers/input/joystick/grip_mp.c int i, npkts, flags; npkts 541 drivers/input/joystick/grip_mp.c for (npkts = 0; npkts < 4; npkts++) { npkts 426 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u16 npkts; npkts 441 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c npkts = 0; npkts 507 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c npkts++; npkts 525 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c netdev_tx_completed_queue(sq->txq, npkts, nbytes); npkts 541 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u16 ci, sqcc, npkts = 0; npkts 567 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c npkts++; npkts 575 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c netdev_tx_completed_queue(sq->txq, npkts, nbytes); npkts 748 drivers/net/ethernet/socionext/sni_ave.c int restpkt, npkts; npkts 756 drivers/net/ethernet/socionext/sni_ave.c for (npkts = 0; npkts < num; npkts++) { npkts 813 drivers/net/ethernet/socionext/sni_ave.c return npkts; npkts 587 drivers/net/ethernet/sun/sunvnet_common.c u32 start, u32 end, int *npkts, int budget) npkts 605 drivers/net/ethernet/sun/sunvnet_common.c (*npkts)++; npkts 617 drivers/net/ethernet/sun/sunvnet_common.c if ((*npkts) >= budget) { npkts 630 drivers/net/ethernet/sun/sunvnet_common.c ack_end, *npkts); npkts 636 drivers/net/ethernet/sun/sunvnet_common.c ack_end, *npkts); npkts 643 drivers/net/ethernet/sun/sunvnet_common.c static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, npkts 667 drivers/net/ethernet/sun/sunvnet_common.c npkts, budget); npkts 784 drivers/net/ethernet/sun/sunvnet_common.c int npkts = 0; npkts 883 drivers/net/ethernet/sun/sunvnet_common.c err = vnet_rx(port, &msgbuf, &npkts, budget); npkts 884 drivers/net/ethernet/sun/sunvnet_common.c if (npkts >= budget) npkts 886 drivers/net/ethernet/sun/sunvnet_common.c if (npkts == 0) npkts 910 drivers/net/ethernet/sun/sunvnet_common.c return npkts; npkts 37 include/trace/events/sunvnet.h TP_PROTO(int lsid, int rsid, int ack_end, int npkts), npkts 39 include/trace/events/sunvnet.h TP_ARGS(lsid, rsid, ack_end, npkts), npkts 45 include/trace/events/sunvnet.h __field(int, npkts) npkts 52 include/trace/events/sunvnet.h __entry->npkts = npkts; npkts 57 include/trace/events/sunvnet.h __entry->ack_end, __entry->npkts) npkts 60 include/trace/events/sunvnet.h TP_PROTO(int lsid, int rsid, int ack_end, int npkts), npkts 61 include/trace/events/sunvnet.h TP_ARGS(lsid, rsid, ack_end, npkts)); npkts 63 include/trace/events/sunvnet.h TP_PROTO(int lsid, int rsid, int ack_end, int npkts), npkts 64 include/trace/events/sunvnet.h TP_ARGS(lsid, rsid, ack_end, npkts)); npkts 66 include/trace/events/sunvnet.h TP_PROTO(int lsid, int rsid, int ack_end, int npkts), npkts 67 include/trace/events/sunvnet.h TP_ARGS(lsid, rsid, ack_end, npkts)); npkts 210 include/uapi/rdma/hfi/hfi1_user.h __u16 npkts; npkts 62 lib/dim/dim.c u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); npkts 71 lib/dim/dim.c curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us);