Lines Matching refs:from
310 int sk_msg_zerocopy_from_iter(struct sock *sk, struct iov_iter *from, in sk_msg_zerocopy_from_iter() argument
327 copied = iov_iter_get_pages(from, pages, bytes, maxpages, in sk_msg_zerocopy_from_iter()
334 iov_iter_advance(from, copied); in sk_msg_zerocopy_from_iter()
363 iov_iter_revert(from, msg->sg.size - orig); in sk_msg_zerocopy_from_iter()
368 int sk_msg_memcopy_from_iter(struct sock *sk, struct iov_iter *from, in sk_msg_memcopy_from_iter() argument
392 ret = copy_from_iter_nocache(to, copy, from); in sk_msg_memcopy_from_iter()
394 ret = copy_from_iter(to, copy, from); in sk_msg_memcopy_from_iter()
901 static int sk_psock_skb_redirect(struct sk_psock *from, struct sk_buff *skb) in sk_psock_skb_redirect() argument
912 sock_drop(from->sk, skb); in sk_psock_skb_redirect()
922 sock_drop(from->sk, skb); in sk_psock_skb_redirect()
929 sock_drop(from->sk, skb); in sk_psock_skb_redirect()
940 struct sk_psock *from, int verdict) in sk_psock_tls_verdict_apply() argument
944 sk_psock_skb_redirect(from, skb); in sk_psock_tls_verdict_apply()