Home
last modified time | relevance | path

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

/net/core/
Ddev.c6046 static void gro_pull_from_frag0(struct sk_buff *skb, int grow) in gro_pull_from_frag0() argument
6050 BUG_ON(skb->end - skb->tail < grow); in gro_pull_from_frag0()
6052 memcpy(skb_tail_pointer(skb), NAPI_GRO_CB(skb)->frag0, grow); in gro_pull_from_frag0()
6054 skb->data_len -= grow; in gro_pull_from_frag0()
6055 skb->tail += grow; in gro_pull_from_frag0()
6057 skb_frag_off_add(&pinfo->frags[0], grow); in gro_pull_from_frag0()
6058 skb_frag_size_sub(&pinfo->frags[0], grow); in gro_pull_from_frag0()
6096 int grow; in dev_gro_receive() local
6178 grow = skb_gro_offset(skb) - skb_headlen(skb); in dev_gro_receive()
6179 if (grow > 0) in dev_gro_receive()
[all …]
/net/mptcp/
Dprotocol.c1896 u64 rcvwin, grow; in mptcp_rcv_space_adjust() local
1900 grow = rcvwin * (msk->rcvq_space.copied - msk->rcvq_space.space); in mptcp_rcv_space_adjust()
1902 do_div(grow, msk->rcvq_space.space); in mptcp_rcv_space_adjust()
1903 rcvwin += (grow << 1); in mptcp_rcv_space_adjust()
/net/ipv4/
Dtcp_input.c736 u64 rcvwin, grow; in tcp_rcv_space_adjust() local
744 grow = rcvwin * (copied - tp->rcvq_space.space); in tcp_rcv_space_adjust()
745 do_div(grow, tp->rcvq_space.space); in tcp_rcv_space_adjust()
746 rcvwin += (grow << 1); in tcp_rcv_space_adjust()