Lines Matching refs:total_len
837 size_t total_len) in pppoe_sendmsg() argument
863 if (total_len > (dev->mtu + dev->hard_header_len)) in pppoe_sendmsg()
867 skb = sock_wmalloc(sk, hlen + sizeof(*ph) + total_len + in pppoe_sendmsg()
883 ph = skb_put(skb, total_len + sizeof(struct pppoe_hdr)); in pppoe_sendmsg()
886 error = memcpy_from_msg(start, m, total_len); in pppoe_sendmsg()
892 error = total_len; in pppoe_sendmsg()
894 po->pppoe_pa.remote, NULL, total_len); in pppoe_sendmsg()
898 ph->length = htons(total_len); in pppoe_sendmsg()
1003 size_t total_len, int flags) in pppoe_recvmsg() argument
1020 total_len = min_t(size_t, total_len, skb->len); in pppoe_recvmsg()
1021 error = skb_copy_datagram_msg(skb, 0, m, total_len); in pppoe_recvmsg()
1024 return total_len; in pppoe_recvmsg()