Searched refs:first_len (Results 1 – 3 of 3) sorted by relevance
170 int len, first_len; in sctp_datamsg_from_user() local219 first_len = max; in sctp_datamsg_from_user()238 if (first_len > max_data) in sctp_datamsg_from_user()239 first_len = max_data; in sctp_datamsg_from_user()242 if (msg_len >= first_len) { in sctp_datamsg_from_user()243 msg_len -= first_len; in sctp_datamsg_from_user()257 for (i = 0, len = first_len; i < whole; i++) { in sctp_datamsg_from_user()
604 int first_len = skb_pagelen(skb); in ip6_fragment() local607 if (first_len - hlen > mtu || in ip6_fragment()608 ((first_len - hlen) & 7) || in ip6_fragment()657 first_len = skb_pagelen(skb); in ip6_fragment()658 skb->data_len = first_len - skb_headlen(skb); in ip6_fragment()659 skb->len = first_len; in ip6_fragment()660 ipv6_hdr(skb)->payload_len = htons(first_len - in ip6_fragment()
534 int first_len = skb_pagelen(skb); in ip_fragment() local536 if (first_len - hlen > mtu || in ip_fragment()537 ((first_len - hlen) & 7) || in ip_fragment()567 skb->data_len = first_len - skb_headlen(skb); in ip_fragment()568 skb->len = first_len; in ip_fragment()569 iph->tot_len = htons(first_len); in ip_fragment()