Searched refs:npkt (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/inet/cc/ |
H A D | cc_sunreno.c | 149 int npkt; in sunreno_cong_signal() local 156 npkt = ((CCV(ccv, tcp_snxt) - CCV(ccv, tcp_suna)) >> 1) / mss; in sunreno_cong_signal() 162 CCV(ccv, tcp_cwnd_ssthresh) = MAX(npkt, 2) * in sunreno_cong_signal() 164 CCV(ccv, tcp_cwnd) = (npkt + in sunreno_cong_signal() 172 CCV(ccv, tcp_cwnd_ssthresh) = MAX(npkt, 2) * mss; in sunreno_cong_signal() 173 CCV(ccv, tcp_cwnd) = npkt * mss; in sunreno_cong_signal() 197 npkt = CCV(ccv, tcp_cwnd_ssthresh) / 2 / mss; in sunreno_cong_signal() 198 CCV(ccv, tcp_cwnd_ssthresh) = MAX(npkt, 2) * mss; in sunreno_cong_signal()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_dma.c | 437 uint_t npkt = 0; in xhci_transfer_get_tdsize() local 446 npkt += len / mps; in xhci_transfer_get_tdsize() 452 if (npkt >= XHCI_MAX_TDSIZE) in xhci_transfer_get_tdsize() 455 return (npkt); in xhci_transfer_get_tdsize()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 54 uint8_t npkt; /* # of packets in this work request */ member 1137 txpkts.npkt = 0; /* indicates there's nothing in txpkts */ in t4_eth_tx() 1188 ASSERT(txpkts.npkt == 0); in t4_eth_tx() 1223 if (txpkts.npkt > 0) in t4_eth_tx() 2767 if (txpkts->npkt > 0) { in add_to_txpkts() 2777 txpkts->npkt++; in add_to_txpkts() 2800 ASSERT(txpkts->npkt == 0); in add_to_txpkts() 2814 txpkts->npkt = 1; in add_to_txpkts() 2853 wr->npkt = txpkts->npkt; in write_txpkts_wr() 2872 txq->txpkts_pkts += txpkts->npkt; in write_txpkts_wr() [all …]
|
/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | rtw.c | 2038 int firstlen, hdrlen, lastlen, lastlen0, npkt, overlen, paylen; in rtw_compute_duration() local 2051 npkt = paylen / fraglen; in rtw_compute_duration() 2054 if (npkt == 0) /* no fragments */ in rtw_compute_duration() 2058 npkt++; in rtw_compute_duration() 2063 *npktp = npkt; in rtw_compute_duration() 2065 if (npkt > 1) in rtw_compute_duration() 2079 if (npkt <= 1) { in rtw_compute_duration() 2096 int npkt, rate; in rtw_assembly_80211() local 2201 rate, &d0, &dn, &npkt) == -1) { in rtw_assembly_80211()
|
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp.c | 2630 int npkt; in tcp_rput_data() local 3437 npkt = (MIN(tcp->tcp_cwnd, tcp->tcp_swnd) >> 1) / mss; in tcp_rput_data() 3438 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * mss; in tcp_rput_data() 3439 tcp->tcp_cwnd = npkt * mss; in tcp_rput_data() 3444 if (npkt == 0) { in tcp_rput_data() 3530 npkt = (MIN(tcp->tcp_cwnd, in tcp_rput_data() 3532 if (npkt < 2) in tcp_rput_data() 3533 npkt = 2; in tcp_rput_data() 3534 tcp->tcp_cwnd_ssthresh = npkt * mss; in tcp_rput_data() 3535 tcp->tcp_cwnd = (npkt + in tcp_rput_data() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 7178 sadb_set_lpkt(ipsa_t *ipsa, mblk_t *npkt, ip_recv_attr_t *ira) argument 7196 ip_drop_input("ipIfStatsInDiscards", npkt, ill); 7197 freemsg(npkt); 7201 attrmp->b_cont = npkt; 7204 npkt = NULL; 7229 return (npkt);
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_input.c | 5849 uint32_t npkt; in tcp_icmp_input() local 5851 npkt = ((tcp->tcp_snxt - tcp->tcp_suna) >> 1) / in tcp_icmp_input() 5853 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * tcp->tcp_mss; in tcp_icmp_input()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 762 __u8 npkt; member 1171 __u8 npkt; member
|