Home
last modified time | relevance | path

Searched refs:bytes_copied (Results 1 – 1 of 1) sorted by relevance

/net/sctp/
Dsocket.c6164 int bytes_copied; in sctp_getsockopt_peer_addrs() local
6196 bytes_copied = ((char __user *)to) - optval; in sctp_getsockopt_peer_addrs()
6197 if (put_user(bytes_copied, optlen)) in sctp_getsockopt_peer_addrs()
6204 size_t space_left, int *bytes_copied) in sctp_copy_laddrs() argument
6240 *bytes_copied += addrlen; in sctp_copy_laddrs()
6262 int bytes_copied = 0; in sctp_getsockopt_local_addrs() local
6302 space_left, &bytes_copied); in sctp_getsockopt_local_addrs()
6326 bytes_copied += addrlen; in sctp_getsockopt_local_addrs()
6332 if (copy_to_user(to, addrs, bytes_copied)) { in sctp_getsockopt_local_addrs()
6343 if (put_user(bytes_copied, optlen)) in sctp_getsockopt_local_addrs()