Lines Matching refs:length
1473 cork->base.length = 0; in ip6_setup_cork()
1487 void *from, size_t length, int transhdrlen, in __ip6_append_data() argument
1548 if (cork->length + length > mtu - headersize && ipc6->dontfrag && in __ip6_append_data()
1562 if (cork->length + length > maxnonfragsize - headersize) { in __ip6_append_data()
1574 length <= mtu - headersize && in __ip6_append_data()
1579 if ((flags & MSG_ZEROCOPY) && length) { in __ip6_append_data()
1596 uarg = msg_zerocopy_realloc(sk, length, skb_zcopy(skb)); in __ip6_append_data()
1609 } else if ((flags & MSG_SPLICE_PAGES) && length) { in __ip6_append_data()
1636 cork->length += length; in __ip6_append_data()
1640 while (length > 0) { in __ip6_append_data()
1642 copy = (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - skb->len; in __ip6_append_data()
1643 if (copy < length) in __ip6_append_data()
1671 datalen = length + fraggap; in __ip6_append_data()
1673 …if (datalen > (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - fraghe… in __ip6_append_data()
1701 if (datalen != length + fraggap) { in __ip6_append_data()
1771 length -= copy + transhdrlen; in __ip6_append_data()
1798 if (copy > length) in __ip6_append_data()
1799 copy = length; in __ip6_append_data()
1862 length -= copy; in __ip6_append_data()
1873 cork->length -= length; in __ip6_append_data()
1882 void *from, size_t length, int transhdrlen, in ip6_append_data() argument
1905 length += exthdrlen; in ip6_append_data()
1913 from, length, transhdrlen, flags, ipc6); in ip6_append_data()
2087 void *from, size_t length, int transhdrlen, in ip6_make_skb() argument
2117 length + exthdrlen, transhdrlen + exthdrlen, in ip6_make_skb()