/Linux-v6.1/include/trace/events/ |
D | sunvnet.h | 37 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; 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), 64 TP_ARGS(lsid, rsid, ack_end, npkts)); 66 TP_PROTO(int lsid, int rsid, int ack_end, int npkts), [all …]
|
/Linux-v6.1/drivers/media/test-drivers/vidtv/ |
D | vidtv_mux.c | 349 static u32 vidtv_mux_pad_with_nulls(struct vidtv_mux *m, u32 npkts) in vidtv_mux_pad_with_nulls() argument 365 for (i = 0; i < npkts; ++i) { in vidtv_mux_pad_with_nulls() 373 if (nbytes != npkts * TS_PACKET_LEN) in vidtv_mux_pad_with_nulls() 375 nbytes, npkts * TS_PACKET_LEN); in vidtv_mux_pad_with_nulls() 397 u32 npkts; in vidtv_mux_tick() local 413 npkts = nbytes / TS_PACKET_LEN; in vidtv_mux_tick() 422 npkts); in vidtv_mux_tick() 435 c->block_count.stat[0].uvalue += npkts; in vidtv_mux_tick()
|
D | vidtv_bridge.c | 157 static void vidtv_bridge_on_new_pkts_avail(void *priv, u8 *buf, u32 npkts) in vidtv_bridge_on_new_pkts_avail() argument 163 dvb_dmx_swfilter_packets(&dvb->demux, buf, npkts); in vidtv_bridge_on_new_pkts_avail()
|
/Linux-v6.1/drivers/net/ethernet/fungible/funeth/ |
D | funeth_tx.c | 426 unsigned int npkts = 0, nbytes = 0, ndesc = 0; in fun_txq_reclaim() local 433 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim() 451 npkts++; in fun_txq_reclaim() 452 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim() 456 netdev_tx_completed_queue(q->ndq, npkts, nbytes); in fun_txq_reclaim() 487 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local 490 head != reclaim_idx && npkts < budget; head = txq_hw_head(q)) { in fun_xdpq_clean() 507 npkts++; in fun_xdpq_clean() 508 } while (reclaim_idx != head && npkts < budget); in fun_xdpq_clean() 512 return npkts; in fun_xdpq_clean()
|
/Linux-v6.1/lib/dim/ |
D | dim.c | 62 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in dim_calc_stats() local 71 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us); in dim_calc_stats()
|
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 407 if (!info.npkts || req->data_iovs > MAX_VECTORS_PER_REQ) { in hfi1_user_sdma_process_request() 496 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request() 497 pcount = req->info.npkts; in hfi1_user_sdma_process_request() 546 if (req->info.npkts > 1 && HFI1_CAP_IS_USET(SDMA_AHG)) in hfi1_user_sdma_process_request() 558 while (req->seqsubmitted != req->info.npkts) { in hfi1_user_sdma_process_request() 583 if (req->seqsubmitted < req->info.npkts) { in hfi1_user_sdma_process_request() 745 unsigned npkts = 0; in user_sdma_send_pkts() local 762 if (unlikely(req->seqnum == req->info.npkts)) { in user_sdma_send_pkts() 768 if (!maxpkts || maxpkts > req->info.npkts - req->seqnum) in user_sdma_send_pkts() 769 maxpkts = req->info.npkts - req->seqnum; in user_sdma_send_pkts() [all …]
|
D | tid_rdma.c | 1351 flow->npkts += (npages + pmtu_pg - 1) >> ilog2(pmtu_pg); in kern_program_rcv_group() 1412 flow->npkts = 0; in kern_program_rcvarray() 1523 flow->flow_state.lpsn = flow->flow_state.spsn + flow->npkts - 1; in hfi1_kern_exp_rcv_setup() 1526 qpriv->flow_state.psn += flow->npkts; in hfi1_kern_exp_rcv_setup() 1798 u32 npkts = rvt_div_round_up_mtu(qp, *len); in hfi1_build_tid_rdma_read_req() local 1839 if ((qpriv->flow_state.psn + npkts) > MAX_TID_FLOW_PSN - 1) { in hfi1_build_tid_rdma_read_req() 1872 flow->flow_state.ib_spsn + flow->npkts - 1; in hfi1_build_tid_rdma_read_req() 1876 req->s_next_psn += flow->npkts; in hfi1_build_tid_rdma_read_req() 1916 flow->npkts = rvt_div_round_up_mtu(qp, len); in tid_rdma_rcv_read_request() 1950 flow->npkts - 1; in tid_rdma_rcv_read_request() [all …]
|
D | tid_rdma.h | 189 u8 npkts; member
|
D | trace_tx.h | 556 __field(u16, npkts) 566 __entry->npkts = i[1]; 576 __entry->npkts,
|
D | chip.h | 760 u32 intr_adjust, u32 npkts);
|
D | chip.c | 11800 static void adjust_rcv_timeout(struct hfi1_ctxtdata *rcd, u32 npkts) in adjust_rcv_timeout() argument 11814 if (npkts < rcv_intr_count) { in adjust_rcv_timeout() 11843 u32 intr_adjust, u32 npkts) in update_usrhead() argument 11854 adjust_rcv_timeout(rcd, npkts); in update_usrhead()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 787 u16 npkts; in mlx5e_poll_tx_cq() local 802 npkts = 0; in mlx5e_poll_tx_cq() 836 npkts++; in mlx5e_poll_tx_cq() 849 npkts += wi->num_fifo_pkts; in mlx5e_poll_tx_cq() 877 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_poll_tx_cq() 902 u16 ci, sqcc, npkts = 0; in mlx5e_free_txqsq_descs() local 917 npkts++; in mlx5e_free_txqsq_descs() 929 npkts += wi->num_fifo_pkts; in mlx5e_free_txqsq_descs() 937 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_free_txqsq_descs()
|
/Linux-v6.1/drivers/input/joystick/ |
D | grip_mp.c | 539 int i, npkts, flags; in grip_poll() local 541 for (npkts = 0; npkts < 4; npkts++) { in grip_poll()
|
/Linux-v6.1/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 587 u32 start, u32 end, int *npkts, int budget) in vnet_walk_rx() argument 605 (*npkts)++; in vnet_walk_rx() 617 if ((*npkts) >= budget) { in vnet_walk_rx() 630 ack_end, *npkts); in vnet_walk_rx() 636 ack_end, *npkts); in vnet_walk_rx() 643 static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, in vnet_rx() argument 667 npkts, budget); in vnet_rx() 784 int npkts = 0; in vnet_event_napi() local 883 err = vnet_rx(port, &msgbuf, &npkts, budget); in vnet_event_napi() 884 if (npkts >= budget) in vnet_event_napi() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 812 int npkts = 0; in qib_user_sdma_queue_pkts() local 821 while (idx < niov && npkts < *maxpkts) { in qib_user_sdma_queue_pkts() 1025 npkts++; in qib_user_sdma_queue_pkts() 1033 *maxpkts = npkts; in qib_user_sdma_queue_pkts() 1395 int npkts = 0; in qib_user_sdma_writev() local 1440 npkts += mxp; in qib_user_sdma_writev() 1451 return (ret < 0) ? ret : npkts; in qib_user_sdma_writev()
|
D | qib_driver.c | 441 u32 qib_kreceive(struct qib_ctxtdata *rcd, u32 *llic, u32 *npkts) in qib_kreceive() argument 575 if (npkts) in qib_kreceive() 576 *npkts = i; in qib_kreceive()
|
D | qib_iba7322.c | 3016 static void adjust_rcv_timeout(struct qib_ctxtdata *rcd, int npkts) in adjust_rcv_timeout() argument 3025 if (npkts < rcv_int_count && timeout > 2) in adjust_rcv_timeout() 3027 else if (npkts >= rcv_int_count && timeout < rcv_int_timeout) in adjust_rcv_timeout() 3052 u32 npkts; in qib_7322intr() local 3111 qib_kreceive(dd->rcd[i], NULL, &npkts); in qib_7322intr() 3140 u32 npkts; in qib_7322pintr() local 3157 qib_kreceive(rcd, NULL, &npkts); in qib_7322pintr() 4408 u32 updegr, u32 egrhd, u32 npkts) in qib_update_7322_usrhead() argument 4415 adjust_rcv_timeout(rcd, npkts); in qib_update_7322_usrhead()
|
D | qib_iba6120.c | 2049 u32 updegr, u32 egrhd, u32 npkts) in qib_update_6120_usrhead() argument
|
D | qib_iba7220.c | 2702 u32 updegr, u32 egrhd, u32 npkts) in qib_update_7220_usrhead() argument
|
/Linux-v6.1/include/uapi/rdma/hfi/ |
D | hfi1_user.h | 211 __u16 npkts; member
|
/Linux-v6.1/drivers/net/ethernet/socionext/ |
D | sni_ave.c | 748 int restpkt, npkts; in ave_rx_receive() local 756 for (npkts = 0; npkts < num; npkts++) { in ave_rx_receive() 813 return npkts; in ave_rx_receive()
|