Lines Matching refs:addrlen_copy

316 	socklen_t addrlen_copy;  in z_vrfy_zsock_accept()  local
319 K_OOPS(addrlen && k_usermode_from_copy(&addrlen_copy, addrlen, in z_vrfy_zsock_accept()
321 K_OOPS(addr && K_SYSCALL_MEMORY_WRITE(addr, addrlen ? addrlen_copy : 0)); in z_vrfy_zsock_accept()
324 addrlen ? &addrlen_copy : NULL); in z_vrfy_zsock_accept()
326 K_OOPS(ret >= 0 && addrlen && k_usermode_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_accept()
499 socklen_t addrlen_copy; in z_vrfy_zsock_recvfrom() local
508 K_OOPS(k_usermode_from_copy(&addrlen_copy, addrlen, in z_vrfy_zsock_recvfrom()
511 K_OOPS(src_addr && K_SYSCALL_MEMORY_WRITE(src_addr, addrlen_copy)); in z_vrfy_zsock_recvfrom()
515 addrlen ? &addrlen_copy : NULL); in z_vrfy_zsock_recvfrom()
518 K_OOPS(k_usermode_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_recvfrom()
946 socklen_t addrlen_copy; in z_vrfy_zsock_getpeername() local
949 K_OOPS(k_usermode_from_copy(&addrlen_copy, (void *)addrlen, in z_vrfy_zsock_getpeername()
952 if (K_SYSCALL_MEMORY_WRITE(addr, addrlen_copy)) { in z_vrfy_zsock_getpeername()
958 &addrlen_copy); in z_vrfy_zsock_getpeername()
961 k_usermode_to_copy((void *)addrlen, &addrlen_copy, in z_vrfy_zsock_getpeername()
991 socklen_t addrlen_copy; in z_vrfy_zsock_getsockname() local
994 K_OOPS(k_usermode_from_copy(&addrlen_copy, (void *)addrlen, in z_vrfy_zsock_getsockname()
997 if (K_SYSCALL_MEMORY_WRITE(addr, addrlen_copy)) { in z_vrfy_zsock_getsockname()
1003 &addrlen_copy); in z_vrfy_zsock_getsockname()
1006 k_usermode_to_copy((void *)addrlen, &addrlen_copy, in z_vrfy_zsock_getsockname()