Home
last modified time | relevance | path

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

12

/linux-6.1.9/net/dccp/
Dackvec.c196 static void dccp_ackvec_add_new(struct dccp_ackvec *av, u32 num_packets, in dccp_ackvec_add_new() argument
199 u32 num_cells = num_packets; in dccp_ackvec_add_new()
201 if (num_packets > DCCPAV_BURST_THRESH) { in dccp_ackvec_add_new()
202 u32 lost_packets = num_packets - 1; in dccp_ackvec_add_new()
217 for (num_packets = num_cells = 1; lost_packets; ++num_cells) { in dccp_ackvec_add_new()
232 av->av_buf_head = __ackvec_idx_sub(av->av_buf_head, num_packets); in dccp_ackvec_add_new()
239 if (num_packets > 1) in dccp_ackvec_add_new()
240 dccp_ackvec_reserve_seats(av, num_packets - 1); in dccp_ackvec_add_new()
258 s64 num_packets = dccp_delta_seqno(av->av_buf_ackno, seqno); in dccp_ackvec_input() local
261 if (num_packets == 1 && in dccp_ackvec_input()
[all …]
/linux-6.1.9/drivers/platform/x86/dell/
Ddell_rbu.c59 unsigned long num_packets; member
89 rbu_data.num_packets = 0; in init_packet_head()
182 ++rbu_data.num_packets; in create_packet()
289 if (0 == rbu_data.num_packets) in packet_read_list()
333 rbu_data.num_packets = 0; in packet_empty_list()
433 if (rbu_data.num_packets == 0) { in read_packet_data()
/linux-6.1.9/tools/perf/bench/
Dsched-messaging.c47 unsigned int num_packets; member
121 for (i = 0; i < ctx->num_packets; i++) { in receiver()
215 ctx->num_packets = num_fds * nr_loops; in group()
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Dqos_max_descriptors.sh230 local num_packets=$1; shift
235 100 * $num_packets / $max_packets
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
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-6.1.9/drivers/media/usb/em28xx/
Dem28xx-core.c932 usb_bufs->num_packets = 0; in em28xx_alloc_urbs()
934 usb_bufs->num_packets = packet_multiplier; in em28xx_alloc_urbs()
942 urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL); in em28xx_alloc_urbs()
976 for (j = 0; j < usb_bufs->num_packets; j++) { in em28xx_alloc_urbs()
984 urb->number_of_packets = usb_bufs->num_packets; in em28xx_alloc_urbs()
Dem28xx-dvb.c146 int xfer_bulk, num_packets, i; in em28xx_dvb_urb_data_copy() local
160 num_packets = 1; in em28xx_dvb_urb_data_copy()
162 num_packets = urb->number_of_packets; in em28xx_dvb_urb_data_copy()
164 for (i = 0; i < num_packets; i++) { in em28xx_dvb_urb_data_copy()
Dem28xx.h222 int num_packets; member
Dem28xx-video.c781 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy() local
797 num_packets = 1; in em28xx_urb_data_copy()
799 num_packets = urb->number_of_packets; in em28xx_urb_data_copy()
801 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
/linux-6.1.9/drivers/usb/atm/
Dusbatm.c1017 unsigned int maxpacket, num_packets; in usbatm_usb_probe() local
1103 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe()
1105 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe()
1106 num_packets--; in usbatm_usb_probe()
1108 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
/linux-6.1.9/drivers/firewire/
Dnet.c1103 unsigned num_packets; in fwnet_broadcast_start() local
1114 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start()
1116 ptrptr = kmalloc_array(num_packets, sizeof(void *), GFP_KERNEL); in fwnet_broadcast_start()
1144 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start()
1157 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start()
1165 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
/linux-6.1.9/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c84 int pos, num_packets, n, size; in channel_swdemux_tsklet() local
102 num_packets = size / PACKET_SIZE; in channel_swdemux_tsklet()
114 channel->tsin_id, channel, num_packets, buf, pos, rp, wp); in channel_swdemux_tsklet()
116 for (n = 0; n < num_packets; n++) { in channel_swdemux_tsklet()
/linux-6.1.9/drivers/usb/dwc2/
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()
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-6.1.9/drivers/isdn/hardware/mISDN/
Dhfcsusb.c941 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument
946 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb()
949 urb->number_of_packets = num_packets; in fill_isoc_urb()
954 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
/linux-6.1.9/drivers/usb/host/
Dxhci.c2524 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table()
2538 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table()
2660 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2662 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2707 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table()
2767 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
Dxhci.h876 unsigned int num_packets; member
983 unsigned int num_packets; member
Dxhci-mem.c1538 bw_info->num_packets = 0; in xhci_clear_endpoint_bw_info()
1587 bw_info->num_packets = CTX_TO_MAX_BURST( in xhci_update_bw_info()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
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-6.1.9/net/mac80211/
Dstatus.c1271 void ieee80211_report_low_ack(struct ieee80211_sta *pubsta, u32 num_packets) in ieee80211_report_low_ack() argument
1275 num_packets, GFP_ATOMIC); in ieee80211_report_low_ack()
/linux-6.1.9/net/batman-adv/
Dsend.c535 forw_packet->num_packets = 0; in batadv_forw_packet_alloc()
Dtypes.h2094 u8 num_packets; member
Dbat_iv_ogm.c600 forw_packet_aggr->num_packets++; in batadv_iv_ogm_aggregate()
604 new_direct_link_flag = BIT(forw_packet_aggr->num_packets); in batadv_iv_ogm_aggregate()
/linux-6.1.9/net/wireless/
Dtrace.h3380 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets),
3381 TP_ARGS(netdev, peer, num_packets),
3385 __field(u32, num_packets)
3390 __entry->num_packets = num_packets;
3393 NETDEV_PR_ARG, MAC_PR_ARG(peer), __entry->num_packets)
/linux-6.1.9/include/net/
Dcfg80211.h8043 const u8 *peer, u32 num_packets, gfp_t gfp);
8058 u32 num_packets, u32 rate, u32 intvl, gfp_t gfp);

12