/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 383 if (!info.npkts || req->data_iovs > MAX_VECTORS_PER_REQ) { in hfi1_user_sdma_process_request() 472 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request() 473 pcount = req->info.npkts; in hfi1_user_sdma_process_request() 522 if (req->info.npkts > 1 && HFI1_CAP_IS_USET(SDMA_AHG)) in hfi1_user_sdma_process_request() 534 while (req->seqsubmitted != req->info.npkts) { in hfi1_user_sdma_process_request() 559 if (req->seqsubmitted < req->info.npkts) { in hfi1_user_sdma_process_request() 679 unsigned npkts = 0; in user_sdma_send_pkts() local 696 if (unlikely(req->seqnum == req->info.npkts)) { in user_sdma_send_pkts() 702 if (!maxpkts || maxpkts > req->info.npkts - req->seqnum) in user_sdma_send_pkts() 703 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 | 11802 static void adjust_rcv_timeout(struct hfi1_ctxtdata *rcd, u32 npkts) in adjust_rcv_timeout() argument 11816 if (npkts < rcv_intr_count) { in adjust_rcv_timeout() 11845 u32 intr_adjust, u32 npkts) in update_usrhead() argument 11856 adjust_rcv_timeout(rcd, npkts); in update_usrhead()
|
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/ |
D | funeth_tx.c | 425 unsigned int npkts = 0, nbytes = 0, ndesc = 0; in fun_txq_reclaim() local 432 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim() 450 npkts++; in fun_txq_reclaim() 451 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim() 455 netdev_tx_completed_queue(q->ndq, npkts, nbytes); in fun_txq_reclaim() 486 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local 489 head != reclaim_idx && npkts < budget; head = txq_hw_head(q)) { in fun_xdpq_clean() 506 npkts++; in fun_xdpq_clean() 507 } while (reclaim_idx != head && npkts < budget); in fun_xdpq_clean() 511 return npkts; in fun_xdpq_clean()
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 791 u16 npkts; in mlx5e_poll_tx_cq() local 806 npkts = 0; in mlx5e_poll_tx_cq() 840 npkts++; in mlx5e_poll_tx_cq() 853 npkts += wi->num_fifo_pkts; in mlx5e_poll_tx_cq() 881 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_poll_tx_cq() 900 u16 ci, sqcc, npkts = 0; in mlx5e_free_txqsq_descs() local 915 npkts++; in mlx5e_free_txqsq_descs() 927 npkts += wi->num_fifo_pkts; in mlx5e_free_txqsq_descs() 935 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_free_txqsq_descs()
|
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 588 u32 start, u32 end, int *npkts, int budget) in vnet_walk_rx() argument 606 (*npkts)++; in vnet_walk_rx() 618 if ((*npkts) >= budget) { in vnet_walk_rx() 631 ack_end, *npkts); in vnet_walk_rx() 637 ack_end, *npkts); in vnet_walk_rx() 644 static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, in vnet_rx() argument 668 npkts, budget); in vnet_rx() 785 int npkts = 0; in vnet_event_napi() local 884 err = vnet_rx(port, &msgbuf, &npkts, budget); in vnet_event_napi() 885 if (npkts >= budget) in vnet_event_napi() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 807 int npkts = 0; in qib_user_sdma_queue_pkts() local 816 while (idx < niov && npkts < *maxpkts) { in qib_user_sdma_queue_pkts() 1020 npkts++; in qib_user_sdma_queue_pkts() 1028 *maxpkts = npkts; in qib_user_sdma_queue_pkts() 1390 int npkts = 0; in qib_user_sdma_writev() local 1435 npkts += mxp; in qib_user_sdma_writev() 1446 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 | 2046 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-6.6.21/include/uapi/rdma/hfi/ |
D | hfi1_user.h | 211 __u16 npkts; member
|
/linux-6.6.21/drivers/net/ethernet/socionext/ |
D | sni_ave.c | 749 int restpkt, npkts; in ave_rx_receive() local 757 for (npkts = 0; npkts < num; npkts++) { in ave_rx_receive() 814 return npkts; in ave_rx_receive()
|