Home
last modified time | relevance | path

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

/linux-4.1.27/net/dccp/
Dackvec.c199 static void dccp_ackvec_add_new(struct dccp_ackvec *av, u32 num_packets, in dccp_ackvec_add_new() argument
202 u32 num_cells = num_packets; in dccp_ackvec_add_new()
204 if (num_packets > DCCPAV_BURST_THRESH) { in dccp_ackvec_add_new()
205 u32 lost_packets = num_packets - 1; in dccp_ackvec_add_new()
220 for (num_packets = num_cells = 1; lost_packets; ++num_cells) { in dccp_ackvec_add_new()
235 av->av_buf_head = __ackvec_idx_sub(av->av_buf_head, num_packets); in dccp_ackvec_add_new()
242 if (num_packets > 1) in dccp_ackvec_add_new()
243 dccp_ackvec_reserve_seats(av, num_packets - 1); in dccp_ackvec_add_new()
259 s64 num_packets = dccp_delta_seqno(av->av_buf_ackno, seqno); in dccp_ackvec_input() local
262 if (num_packets == 1 && in dccp_ackvec_input()
[all …]
/linux-4.1.27/drivers/isdn/hisax/
Dst5481_usb.c405 unsigned int pipe, void *buf, int num_packets, in fill_isoc_urb() argument
415 urb->number_of_packets = num_packets; in fill_isoc_urb()
416 urb->transfer_buffer_length = num_packets * packet_size; in fill_isoc_urb()
421 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
430 unsigned int pipe, int num_packets, in st5481_setup_isocpipes() argument
439 urb[j] = usb_alloc_urb(num_packets, GFP_KERNEL); in st5481_setup_isocpipes()
450 num_packets, packet_size, complete, in st5481_setup_isocpipes()
562 in->num_packets, in->packet_size, in st5481_setup_in()
563 in->num_packets * in->packet_size, in st5481_setup_in()
Dst5481_d.c299 unsigned int num_packets, packet_offset; in usb_d_out() local
340 num_packets = 0; in usb_d_out()
343 desc = &urb->iso_frame_desc[num_packets]; in usb_d_out()
348 num_packets++; in usb_d_out()
351 urb->number_of_packets = num_packets; in usb_d_out()
704 adapter->d_in.num_packets = NUM_ISO_PACKETS_D; in st5481_setup_d()
Dst5481.h358 unsigned int num_packets; member
446 unsigned int pipe, int num_packets,
Dhfc_usb.c428 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument
436 urb->number_of_packets = num_packets; in fill_isoc_urb()
437 urb->transfer_buffer_length = packet_size * num_packets; in fill_isoc_urb()
443 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
Dst5481_b.c314 bcs->b_in.num_packets = NUM_ISO_PACKETS_B; in st5481_setup_b()
/linux-4.1.27/drivers/firmware/
Ddell_rbu.c64 unsigned long num_packets; member
97 rbu_data.num_packets = 0; in init_packet_head()
194 ++rbu_data.num_packets; in create_packet()
306 if (0 == rbu_data.num_packets) in packet_read_list()
357 rbu_data.num_packets = 0; in packet_empty_list()
479 if (rbu_data.num_packets == 0) { in read_packet_data()
/linux-4.1.27/tools/perf/bench/
Dsched-messaging.c48 unsigned int num_packets; member
122 for (i = 0; i < ctx->num_packets; i++) { in receiver()
216 ctx->num_packets = num_fds * loops; in group()
/linux-4.1.27/net/batman-adv/
Dsend.c464 forw_packet->num_packets = 0; in batadv_add_bcast_packet_to_list()
513 if (forw_packet->num_packets >= hard_iface->num_bcasts) in batadv_send_outstanding_bcast_packet()
524 forw_packet->num_packets++; in batadv_send_outstanding_bcast_packet()
527 if (forw_packet->num_packets < BATADV_NUM_BCASTS_MAX) { in batadv_send_outstanding_bcast_packet()
Dbat_iv_ogm.c681 forw_packet_aggr->num_packets = 0; in batadv_iv_ogm_aggregate_new()
719 forw_packet_aggr->num_packets++; in batadv_iv_ogm_aggregate()
723 new_direct_link_flag = BIT(forw_packet_aggr->num_packets); in batadv_iv_ogm_aggregate()
Dtypes.h1102 uint8_t num_packets; member
Ddistributed-arp-table.c1179 if (forw_packet->num_packets) in batadv_dat_drop_broadcast_packet()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Devent.c178 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta() local
204 ieee80211_report_low_ack(sta, num_packets); in wlcore_disconnect_sta()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-core.c925 usb_bufs->num_packets = 0; in em28xx_alloc_urbs()
927 usb_bufs->num_packets = packet_multiplier; in em28xx_alloc_urbs()
935 urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL); in em28xx_alloc_urbs()
975 for (j = 0; j < usb_bufs->num_packets; j++) { in em28xx_alloc_urbs()
983 urb->number_of_packets = usb_bufs->num_packets; in em28xx_alloc_urbs()
Dem28xx-dvb.c142 int xfer_bulk, num_packets, i; in em28xx_dvb_urb_data_copy() local
156 num_packets = 1; in em28xx_dvb_urb_data_copy()
158 num_packets = urb->number_of_packets; in em28xx_dvb_urb_data_copy()
160 for (i = 0; i < num_packets; i++) { in em28xx_dvb_urb_data_copy()
Dem28xx.h228 int num_packets; member
Dem28xx-video.c773 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy() local
789 num_packets = 1; in em28xx_urb_data_copy()
791 num_packets = urb->number_of_packets; in em28xx_urb_data_copy()
793 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
/linux-4.1.27/drivers/usb/dwc2/
Dcore.c1341 u16 num_packets; in dwc2_hc_start_transfer() local
1363 num_packets = 1; in dwc2_hc_start_transfer()
1409 num_packets = (chan->xfer_len + chan->max_packet - 1) / in dwc2_hc_start_transfer()
1411 if (num_packets > max_hc_pkt_count) { in dwc2_hc_start_transfer()
1412 num_packets = max_hc_pkt_count; in dwc2_hc_start_transfer()
1413 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer()
1417 num_packets = 1; in dwc2_hc_start_transfer()
1425 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer()
1433 chan->multi_count = num_packets; in dwc2_hc_start_transfer()
1442 chan->start_pkt_count = num_packets; in dwc2_hc_start_transfer()
[all …]
Dhcd_ddma.c628 int num_packets; in dwc2_fill_host_dma_desc() local
631 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc()
635 num_packets = 1; in dwc2_fill_host_dma_desc()
638 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()
/linux-4.1.27/drivers/usb/atm/
Dusbatm.c1029 unsigned int maxpacket, num_packets; in usbatm_usb_probe() local
1115 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe()
1117 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe()
1118 num_packets--; in usbatm_usb_probe()
1120 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
/linux-4.1.27/drivers/firewire/
Dnet.c1094 unsigned num_packets; in fwnet_broadcast_start() local
1105 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start()
1107 ptrptr = kmalloc(sizeof(void *) * num_packets, GFP_KERNEL); in fwnet_broadcast_start()
1135 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start()
1148 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start()
1156 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_fanout.c70 static int sock_fanout_open(uint16_t typeflags, int num_packets) in sock_fanout_open() argument
/linux-4.1.27/net/mac80211/
Dstatus.c905 void ieee80211_report_low_ack(struct ieee80211_sta *pubsta, u32 num_packets) in ieee80211_report_low_ack() argument
909 num_packets, GFP_ATOMIC); in ieee80211_report_low_ack()
/linux-4.1.27/drivers/usb/host/
Dxhci.c2252 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table()
2266 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table()
2388 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2390 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2435 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table()
2494 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
Dxhci.h802 unsigned int num_packets; member
903 unsigned int num_packets; member
Dxhci-mem.c1537 bw_info->num_packets = 0; in xhci_clear_endpoint_bw_info()
1586 bw_info->num_packets = CTX_TO_MAX_BURST( in xhci_update_bw_info()
/linux-4.1.27/net/wireless/
Dtrace.h2518 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets),
2519 TP_ARGS(netdev, peer, num_packets),
2523 __field(u32, num_packets)
2528 __entry->num_packets = num_packets;
2531 NETDEV_PR_ARG, MAC_PR_ARG(peer), __entry->num_packets)
Dnl80211.c12167 const u8 *peer, u32 num_packets, in cfg80211_cqm_txe_notify() argument
12176 if (nla_put_u32(msg, NL80211_ATTR_CQM_TXE_PKTS, num_packets)) in cfg80211_cqm_txe_notify()
12194 const u8 *peer, u32 num_packets, gfp_t gfp) in cfg80211_cqm_pktloss_notify() argument
12198 trace_cfg80211_cqm_pktloss_notify(dev, peer, num_packets); in cfg80211_cqm_pktloss_notify()
12204 if (nla_put_u32(msg, NL80211_ATTR_CQM_PKT_LOSS_EVENT, num_packets)) in cfg80211_cqm_pktloss_notify()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Dhfcsusb.c950 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument
955 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb()
958 urb->number_of_packets = num_packets; in fill_isoc_urb()
963 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
/linux-4.1.27/include/net/
Dcfg80211.h4724 const u8 *peer, u32 num_packets, gfp_t gfp);
4739 u32 num_packets, u32 rate, u32 intvl, gfp_t gfp);
Dmac80211.h3882 void ieee80211_report_low_ack(struct ieee80211_sta *sta, u32 num_packets);