Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c865 socklen_t kernel_optlen = *(socklen_t *)optlen; in z_vrfy_zsock_getsockopt() local
869 if (K_SYSCALL_MEMORY_WRITE(optval, kernel_optlen)) { in z_vrfy_zsock_getsockopt()
875 kernel_optlen); in z_vrfy_zsock_getsockopt()
879 kernel_optval, &kernel_optlen); in z_vrfy_zsock_getsockopt()
881 K_OOPS(k_usermode_to_copy((void *)optval, kernel_optval, kernel_optlen)); in z_vrfy_zsock_getsockopt()
882 K_OOPS(k_usermode_to_copy((void *)optlen, &kernel_optlen, in z_vrfy_zsock_getsockopt()