Lines Matching refs:linear
2874 size_t linear, int noblock, in packet_alloc_skb() argument
2880 if (prepad + len < PAGE_SIZE || !linear) in packet_alloc_skb()
2881 linear = len; in packet_alloc_skb()
2883 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in packet_alloc_skb()
2889 skb_put(skb, linear); in packet_alloc_skb()
2890 skb->data_len = len - linear; in packet_alloc_skb()
2891 skb->len += len - linear; in packet_alloc_skb()
2910 int hlen, tlen, linear; in packet_snd() local
2976 linear = __virtio16_to_cpu(vio_le(), vnet_hdr.hdr_len); in packet_snd()
2977 linear = max(linear, min_t(int, len, dev->hard_header_len)); in packet_snd()
2978 skb = packet_alloc_skb(sk, hlen + tlen, hlen, len, linear, in packet_snd()