Lines Matching refs:total_len
1749 size_t total_len = iov_iter_count(from);
1750 size_t len = total_len, align = tun->align, linear;
1824 return total_len;
2015 return total_len;
2031 return err ?: total_len;
2556 static int tun_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len)
2596 ret = total_len;
2608 static int tun_recvmsg(struct socket *sock, struct msghdr *m, size_t total_len,
2626 ret = sock_recv_errqueue(sock->sk, m, total_len,
2631 if (ret > (ssize_t)total_len) {
2633 ret = flags & MSG_TRUNC ? ret : total_len;