Home
last modified time | relevance | path

Searched refs:num_packets (Results 1 – 20 of 20) sorted by relevance

/linux/net/dccp/
H A Dackvec.c
/linux/tools/perf/bench/
H A Dsched-messaging.c53 unsigned int num_packets; member
134 for (i = 0; i < ctx->num_packets; i++) { in receiver()
235 ctx->num_packets = num_fds * nr_loops; in group()
/linux/drivers/net/wireless/ti/wlcore/
H A Devent.c256 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta() local
282 ieee80211_report_low_ack(sta, num_packets); in wlcore_disconnect_sta()
/linux/drivers/usb/atm/
H A Dusbatm.c1018 unsigned int maxpacket, num_packets; in usbatm_usb_probe()
1105 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe()
1107 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe()
1108 num_packets--; in usbatm_usb_probe()
1110 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
1017 unsigned int maxpacket, num_packets; usbatm_usb_probe() local
/linux/drivers/firewire/
H A Dnet.c1109 unsigned num_packets; in fwnet_broadcast_start() local
1120 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start()
1122 ptrptr = kmalloc_array(num_packets, sizeof(void *), GFP_KERNEL); in fwnet_broadcast_start()
1150 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start()
1163 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start()
1171 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
/linux/drivers/usb/dwc2/
H A Dhcd_ddma.c671 int num_packets; in dwc2_fill_host_dma_desc() local
674 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc()
678 num_packets = 1; in dwc2_fill_host_dma_desc()
681 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()
H A Dhcd.c1199 u16 num_packets; in dwc2_hc_start_transfer() local
1223 num_packets = 1; in dwc2_hc_start_transfer()
1276 num_packets = (chan->xfer_len + chan->max_packet - 1) / in dwc2_hc_start_transfer()
1278 if (num_packets > max_hc_pkt_count) { in dwc2_hc_start_transfer()
1279 num_packets = max_hc_pkt_count; in dwc2_hc_start_transfer()
1280 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer()
1288 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer()
1292 num_packets = 1; in dwc2_hc_start_transfer()
1301 chan->multi_count = num_packets; in dwc2_hc_start_transfer()
1313 chan->start_pkt_count = num_packets; in dwc2_hc_start_transfer()
[all...]
/linux/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c1738 u64 num_packets = 0; in wil_tx_latency_debugfs_show() local
1745 num_packets += p->tx_latency_bins[bin]; in wil_tx_latency_debugfs_show()
1748 if (!num_packets) in wil_tx_latency_debugfs_show()
1750 do_div(tx_latency_avg, num_packets); in wil_tx_latency_debugfs_show()
/linux/drivers/media/usb/em28xx/
H A Dem28xx.h224 * @num_packets: number of packets in each buffer
231 int num_packets;
230 int num_packets; global() member
H A Dem28xx-video.c919 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy()
935 num_packets = 1; in em28xx_urb_data_copy()
937 num_packets = urb->number_of_packets; in em28xx_urb_data_copy()
939 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
897 int xfer_bulk, num_packets, i; em28xx_urb_data_copy() local
/linux/net/batman-adv/
H A Dbat_iv_ogm.c520 u8 packet_num = forw_packet->num_packets; in batadv_iv_ogm_can_aggregate()
696 set_bit(forw_packet_aggr->num_packets, in batadv_iv_ogm_aggregate()
699 forw_packet_aggr->num_packets++; in batadv_iv_ogm_aggregate()
1914 forw_packet->num_packets = BATADV_MAX_AGGREGATION_PACKETS; in batadv_iv_send_outstanding_bat_ogm_packet()
H A Dsend.c527 forw_packet->num_packets = 1; in batadv_forw_packet_alloc()
H A Dtypes.h2051 * @num_packets: counter for aggregated OGMv1 packets. Set to
2057 u8 num_packets;
2023 u8 num_packets; global() member
/linux/net/mac80211/
H A Dstatus.c1380 void ieee80211_report_low_ack(struct ieee80211_sta *pubsta, u32 num_packets) in ieee80211_report_low_ack() argument
1384 num_packets, GFP_ATOMIC); in ieee80211_report_low_ack()
/linux/net/wireless/
H A Dtrace.h3802 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets),
3803 TP_ARGS(netdev, peer, num_packets),
3807 __field(u32, num_packets)
3812 __entry->num_packets = num_packets;
3815 NETDEV_PR_ARG, __entry->peer, __entry->num_packets)
H A Dnl80211.c23049 const u8 *peer, u32 num_packets, in cfg80211_report_wowlan_wakeup()
23058 if (nla_put_u32(msg, NL80211_ATTR_CQM_TXE_PKTS, num_packets)) in cfg80211_report_wowlan_wakeup()
23076 const u8 *peer, u32 num_packets, gfp_t gfp) in cfg80211_report_wowlan_wakeup()
23080 trace_cfg80211_cqm_pktloss_notify(dev, peer, num_packets); in cfg80211_report_wowlan_wakeup()
23086 if (nla_put_u32(msg, NL80211_ATTR_CQM_PKT_LOSS_EVENT, num_packets)) in cfg80211_report_wowlan_wakeup()
22322 cfg80211_cqm_txe_notify(struct net_device * dev,const u8 * peer,u32 num_packets,u32 rate,u32 intvl,gfp_t gfp) cfg80211_cqm_txe_notify() argument
22349 cfg80211_cqm_pktloss_notify(struct net_device * dev,const u8 * peer,u32 num_packets,gfp_t gfp) cfg80211_cqm_pktloss_notify() argument
/linux/drivers/usb/host/
H A Dxhci-mem.c1540 bw_info->num_packets = 0; in xhci_clear_endpoint_bw_info()
1589 bw_info->num_packets = CTX_TO_MAX_BURST( in xhci_update_bw_info()
1932 interval_bw->num_packets = 0; in xhci_mem_cleanup()
/linux/include/net/
H A Dcfg80211.h9813 * @num_packets: how many packets were lost -- should be a fixed threshold
9819 const u8 *peer, u32 num_packets, gfp_t gfp);
9825 * @num_packets: how many packets were lost
9834 u32 num_packets, u32 rate, u32 intvl, gfp_t gfp);
H A Dmac80211.h5775 * @num_packets: number of packets sent to @sta without a response
5777 void ieee80211_report_low_ack(struct ieee80211_sta *sta, u32 num_packets);
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c4245 int num_packets = 0, total_bytes = 0; in ibmvnic_complete_tx() local
4267 num_packets++; in ibmvnic_complete_tx()
4316 netdev_tx_completed_queue(txq, num_packets, total_bytes); in ibmvnic_complete_tx()