Searched refs:kernel_optval (Results 1 – 1 of 1) sorted by relevance
866 void *kernel_optval; in z_vrfy_zsock_getsockopt() local874 kernel_optval = k_usermode_alloc_from_copy((const void *)optval, in z_vrfy_zsock_getsockopt()876 K_OOPS(!kernel_optval); 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()885 k_free(kernel_optval); in z_vrfy_zsock_getsockopt()911 void *kernel_optval; in z_vrfy_zsock_setsockopt() local914 kernel_optval = k_usermode_alloc_from_copy((const void *)optval, optlen); in z_vrfy_zsock_setsockopt()915 K_OOPS(!kernel_optval); in z_vrfy_zsock_setsockopt()918 kernel_optval, optlen); in z_vrfy_zsock_setsockopt()[all …]