Lines Matching refs:to
18 * Alan Cox : Rewrote skb_read_datagram to avoid the
131 * needs to unlock the socket in that case (usually by calling
137 * * when data copying to user space takes lots of time.
152 * Caller is allowed not to check sk->sk_err before skb_recv_datagram()
184 /* User doesn't want to wait */
239 * skb_copy_datagram_iovec - Copy a datagram to an iovec.
240 * @skb: buffer to copy
241 * @offset: offset in the buffer to start copying from
242 * @to: io vector to copy to
243 * @len: amount of data to copy from buffer to iovec
248 struct iovec *to, int len)
257 if (memcpy_toiovec(to, skb->data + offset, copy))
280 err = memcpy_toiovec(to, vaddr + frag->page_offset +
306 to, copy))
323 u8 __user *to, int len,
335 *csump = csum_and_copy_to_user(skb->data + offset, to, copy,
342 to += copy;
365 to, copy, 0, &err);
373 to += copy;
394 to, copy,
401 to += copy;
435 * skb_copy_and_csum_datagram_iovec - Copy and checkum skb to user iovec.
440 * Caller _must_ check that skb will fit to this iovec.
491 * is only ever holding data ready to receive.
519 /* Connection-based need to check for termination and startup */