Home
last modified time | relevance | path

Searched refs:grow (Results 1 – 3 of 3) sorted by relevance

/net/mptcp/
Dprotocol.c1427 u64 rcvwin, grow; in mptcp_rcv_space_adjust() local
1431 grow = rcvwin * (msk->rcvq_space.copied - msk->rcvq_space.space); in mptcp_rcv_space_adjust()
1433 do_div(grow, msk->rcvq_space.space); in mptcp_rcv_space_adjust()
1434 rcvwin += (grow << 1); in mptcp_rcv_space_adjust()
/net/core/
Ddev.c5947 static void gro_pull_from_frag0(struct sk_buff *skb, int grow) in gro_pull_from_frag0() argument
5951 BUG_ON(skb->end - skb->tail < grow); in gro_pull_from_frag0()
5953 memcpy(skb_tail_pointer(skb), NAPI_GRO_CB(skb)->frag0, grow); in gro_pull_from_frag0()
5955 skb->data_len -= grow; in gro_pull_from_frag0()
5956 skb->tail += grow; in gro_pull_from_frag0()
5958 skb_frag_off_add(&pinfo->frags[0], grow); in gro_pull_from_frag0()
5959 skb_frag_size_sub(&pinfo->frags[0], grow); in gro_pull_from_frag0()
6001 int grow; in dev_gro_receive() local
6083 grow = skb_gro_offset(skb) - skb_headlen(skb); in dev_gro_receive()
6084 if (grow > 0) in dev_gro_receive()
[all …]
/net/ipv4/
Dtcp_input.c735 u64 rcvwin, grow; in tcp_rcv_space_adjust() local
743 grow = rcvwin * (copied - tp->rcvq_space.space); in tcp_rcv_space_adjust()
744 do_div(grow, tp->rcvq_space.space); in tcp_rcv_space_adjust()
745 rcvwin += (grow << 1); in tcp_rcv_space_adjust()