Searched refs:first_len (Results 1 – 6 of 6) sorted by relevance
152 size_t len, first_len, max_data, remaining; in sctp_datamsg_from_user() local208 first_len = max_data; in sctp_datamsg_from_user()220 first_len -= SCTP_PAD4(sizeof(struct sctp_sack_chunk)); in sctp_datamsg_from_user()224 first_len -= SCTP_ARBITRARY_COOKIE_ECHO_LEN; in sctp_datamsg_from_user()227 if (msg_len >= first_len) { in sctp_datamsg_from_user()229 if (msg_len > first_len) in sctp_datamsg_from_user()234 first_len = msg_len; in sctp_datamsg_from_user()244 len = first_len; in sctp_datamsg_from_user()
154 unsigned int first_len = skb_pagelen(skb); in br_ip6_fragment() local158 if (first_len - hlen > mtu || in br_ip6_fragment()
678 unsigned int first_len; in ip6_fraglist_init() local706 first_len = skb_pagelen(skb); in ip6_fraglist_init()707 skb->data_len = first_len - skb_headlen(skb); in ip6_fraglist_init()708 skb->len = first_len; in ip6_fraglist_init()709 ipv6_hdr(skb)->payload_len = htons(first_len - sizeof(struct ipv6hdr)); in ip6_fraglist_init()894 unsigned int first_len = skb_pagelen(skb); in ip6_fragment() local898 if (first_len - hlen > mtu || in ip6_fragment()899 ((first_len - hlen) & 7) || in ip6_fragment()
602 unsigned int first_len = skb_pagelen(skb); in ip_fraglist_init() local611 skb->data_len = first_len - skb_headlen(skb); in ip_fraglist_init()612 skb->len = first_len; in ip_fraglist_init()613 iph->tot_len = htons(first_len); in ip_fraglist_init()820 unsigned int first_len = skb_pagelen(skb); in ip_do_fragment() local822 if (first_len - hlen > mtu || in ip_do_fragment()823 ((first_len - hlen) & 7) || in ip_do_fragment()
58 unsigned int first_len = skb_pagelen(skb); in nf_br_ip_fragment() local62 if (first_len - hlen > mtu || in nf_br_ip_fragment()
130 u64 first_len = PAGE_SIZE - (addr - page_start); in __xsk_rcv_memcpy() local132 memcpy(to_buf, from_buf, first_len); in __xsk_rcv_memcpy()133 memcpy(next_pg_addr, from_buf + first_len, in __xsk_rcv_memcpy()134 len + metalen - first_len); in __xsk_rcv_memcpy()