Searched refs:npkts (Results 1 - 21 of 21) sorted by relevance

/linux-master/include/trace/events/
H A Dsunvnet.h37 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
39 TP_ARGS(lsid, rsid, ack_end, npkts),
45 __field(int, npkts)
52 __entry->npkts = npkts;
55 TP_printk("(%x:%x) stopped ack for %d; npkts %d",
57 __entry->ack_end, __entry->npkts)
60 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
61 TP_ARGS(lsid, rsid, ack_end, npkts));
63 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
[all...]
/linux-master/lib/dim/
H A Ddim.c62 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); local
71 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us);
/linux-master/drivers/media/test-drivers/vidtv/
H A Dvidtv_mux.c349 static u32 vidtv_mux_pad_with_nulls(struct vidtv_mux *m, u32 npkts) argument
365 for (i = 0; i < npkts; ++i) {
373 if (nbytes != npkts * TS_PACKET_LEN)
375 nbytes, npkts * TS_PACKET_LEN);
397 u32 npkts; local
413 npkts = nbytes / TS_PACKET_LEN;
422 npkts);
435 c->block_count.stat[0].uvalue += npkts;
H A Dvidtv_bridge.c157 static void vidtv_bridge_on_new_pkts_avail(void *priv, u8 *buf, u32 npkts) argument
163 dvb_dmx_swfilter_packets(&dvb->demux, buf, npkts);
/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_sdma.c383 if (!info.npkts || req->data_iovs > MAX_VECTORS_PER_REQ) {
472 if (pcount > req->info.npkts)
473 pcount = req->info.npkts;
522 if (req->info.npkts > 1 && HFI1_CAP_IS_USET(SDMA_AHG))
534 while (req->seqsubmitted != req->info.npkts) {
555 * If the submitted seqsubmitted == npkts, the completion routine
556 * controls the final state. If sequbmitted < npkts, wait for any
559 if (req->seqsubmitted < req->info.npkts) {
679 unsigned npkts = 0; local
696 if (unlikely(req->seqnum == req->info.npkts)) {
[all...]
H A Dtid_rdma.c1351 flow->npkts += (npages + pmtu_pg - 1) >> ilog2(pmtu_pg);
1412 flow->npkts = 0;
1445 * sends and flow->npkts contains number of packets required to send the
1523 flow->flow_state.lpsn = flow->flow_state.spsn + flow->npkts - 1;
1526 qpriv->flow_state.psn += flow->npkts;
1798 u32 npkts = rvt_div_round_up_mtu(qp, *len); variable
1839 if ((qpriv->flow_state.psn + npkts) > MAX_TID_FLOW_PSN - 1) {
1872 flow->flow_state.ib_spsn + flow->npkts - 1;
1876 req->s_next_psn += flow->npkts;
1916 flow->npkts
3091 tidnpkts, npkts; local
3471 u32 npkts, to_seg; local
[all...]
H A Dtid_rdma.h189 u8 npkts; member in struct:tid_rdma_flow
H A Dtrace_tx.h546 "[%s:%u:%u] ver/op=0x%x, iovcnt=%u, npkts=%u, frag=%u, idx=%u"
556 __field(u16, npkts)
566 __entry->npkts = i[1];
576 __entry->npkts,
H A Dchip.h760 u32 intr_adjust, u32 npkts);
H A Dchip.c11802 static void adjust_rcv_timeout(struct hfi1_ctxtdata *rcd, u32 npkts) argument
11816 if (npkts < rcv_intr_count) {
11845 u32 intr_adjust, u32 npkts)
11856 adjust_rcv_timeout(rcd, npkts);
11844 update_usrhead(struct hfi1_ctxtdata *rcd, u32 hd, u32 updegr, u32 egrhd, u32 intr_adjust, u32 npkts) argument
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c425 unsigned int npkts = 0, nbytes = 0, ndesc = 0; local
432 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) {
450 npkts++;
451 } while (reclaim_idx != head && npkts < limit);
455 netdev_tx_completed_queue(q->ndq, npkts, nbytes);
486 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; local
489 head != reclaim_idx && npkts < budget; head = txq_hw_head(q)) {
506 npkts++;
507 } while (reclaim_idx != head && npkts < budget);
511 return npkts;
[all...]
/linux-master/drivers/input/joystick/
H A Dgrip_mp.c539 int i, npkts, flags; local
541 for (npkts = 0; npkts < 4; npkts++) {
/linux-master/include/uapi/rdma/hfi/
H A Dhfi1_user.h211 __u16 npkts; member in struct:sdma_req_info
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c798 u16 npkts; local
813 npkts = 0;
847 npkts++;
860 npkts += wi->num_fifo_pkts;
888 netdev_tx_completed_queue(sq->txq, npkts, nbytes);
907 u16 ci, sqcc, npkts = 0; local
922 npkts++;
934 npkts += wi->num_fifo_pkts;
942 netdev_tx_completed_queue(sq->txq, npkts, nbytes);
/linux-master/drivers/net/ethernet/sun/
H A Dsunvnet_common.c588 u32 start, u32 end, int *npkts, int budget)
606 (*npkts)++;
618 if ((*npkts) >= budget) {
631 ack_end, *npkts);
637 ack_end, *npkts);
644 static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, argument
668 npkts, budget);
785 int npkts = 0; local
884 err = vnet_rx(port, &msgbuf, &npkts, budget);
885 if (npkts >
587 vnet_walk_rx(struct vnet_port *port, struct vio_dring_state *dr, u32 start, u32 end, int *npkts, int budget) argument
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c807 int npkts = 0; local
816 while (idx < niov && npkts < *maxpkts) {
1020 npkts++;
1028 *maxpkts = npkts;
1390 int npkts = 0; local
1435 npkts += mxp;
1446 return (ret < 0) ? ret : npkts;
H A Dqib_driver.c435 u32 qib_kreceive(struct qib_ctxtdata *rcd, u32 *llic, u32 *npkts) argument
569 if (npkts)
570 *npkts = i;
H A Dqib_iba7322.c3016 static void adjust_rcv_timeout(struct qib_ctxtdata *rcd, int npkts) argument
3025 if (npkts < rcv_int_count && timeout > 2)
3027 else if (npkts >= rcv_int_count && timeout < rcv_int_timeout)
3052 u32 npkts; local
3111 qib_kreceive(dd->rcd[i], NULL, &npkts);
3140 u32 npkts; local
3157 qib_kreceive(rcd, NULL, &npkts);
4407 u32 updegr, u32 egrhd, u32 npkts)
4414 adjust_rcv_timeout(rcd, npkts);
4406 qib_update_7322_usrhead(struct qib_ctxtdata *rcd, u64 hd, u32 updegr, u32 egrhd, u32 npkts) argument
H A Dqib_iba6120.c2046 u32 updegr, u32 egrhd, u32 npkts)
2045 qib_update_6120_usrhead(struct qib_ctxtdata *rcd, u64 hd, u32 updegr, u32 egrhd, u32 npkts) argument
H A Dqib_iba7220.c2702 u32 updegr, u32 egrhd, u32 npkts)
2701 qib_update_7220_usrhead(struct qib_ctxtdata *rcd, u64 hd, u32 updegr, u32 egrhd, u32 npkts) argument
/linux-master/drivers/net/ethernet/socionext/
H A Dsni_ave.c749 int restpkt, npkts; local
757 for (npkts = 0; npkts < num; npkts++) {
814 return npkts;

Completed in 902 milliseconds