Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/hwinfo/
Dhwinfo_handlers.c24 Z_OOPS(z_user_to_copy(cause, &cause_copy, sizeof(uint32_t))); in z_vrfy_hwinfo_get_reset_cause()
43 Z_OOPS(z_user_to_copy(supported, &supported_copy, sizeof(uint32_t))); in z_vrfy_hwinfo_get_supported_reset_cause()
/Zephyr-Core-2.7.6/drivers/espi/
Despi_handlers.c43 Z_OOPS(z_user_to_copy(data, &data_copy, sizeof(uint8_t))); in z_vrfy_espi_read_lpc_request()
82 Z_OOPS(z_user_to_copy(level, &level_copy, sizeof(uint8_t))); in z_vrfy_espi_receive_vwire()
101 Z_OOPS(z_user_to_copy(req, &req_copy, in z_vrfy_espi_read_request()
154 Z_OOPS(z_user_to_copy(pckt, &pckt_copy, in z_vrfy_espi_receive_oob()
173 Z_OOPS(z_user_to_copy(pckt, &pckt_copy, in z_vrfy_espi_read_flash()
/Zephyr-Core-2.7.6/drivers/pwm/
Dpwm_handlers.c69 Z_OOPS(z_user_to_copy(period_cycles, &period, in z_vrfy_pwm_pin_capture_cycles()
74 Z_OOPS(z_user_to_copy(pulse_cycles, &pulse, in z_vrfy_pwm_pin_capture_cycles()
/Zephyr-Core-2.7.6/drivers/i2s/
Di2s_handlers.c66 copy_success = z_user_to_copy((void *)buf, mem_block, in z_vrfy_i2s_buf_read()
71 Z_OOPS(z_user_to_copy((void *)size, &data_size, in z_vrfy_i2s_buf_read()
/Zephyr-Core-2.7.6/drivers/ptp_clock/
Dptp_clock.c25 if (z_user_to_copy((void *)tm, &ptp_time, sizeof(ptp_time)) != 0) { in z_vrfy_ptp_clock_get()
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/src/
Dapp_syscall.c50 z_user_to_copy(cookie, &cookie_copy, sizeof(*cookie)) != 0) { in z_vrfy_magic_syscall()
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets_select.c259 z_user_to_copy((void *)readfds, readfds_copy, in z_vrfy_zsock_select()
264 z_user_to_copy((void *)writefds, writefds_copy, in z_vrfy_zsock_select()
269 z_user_to_copy((void *)exceptfds, exceptfds_copy, in z_vrfy_zsock_select()
Dsockets.c607 Z_OOPS(ret >= 0 && addrlen && z_user_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_accept()
1306 Z_OOPS(z_user_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_recvfrom()
1623 z_user_to_copy((void *)fds, fds_copy, fds_size); in z_vrfy_zsock_poll()
1664 Z_OOPS(z_user_to_copy(dst, dst_copy, dst_size)); in z_vrfy_zsock_inet_pton()
1753 Z_OOPS(z_user_to_copy((void *)optval, kernel_optval, kernel_optlen)); in z_vrfy_zsock_getsockopt()
1754 Z_OOPS(z_user_to_copy((void *)optlen, &kernel_optlen, in z_vrfy_zsock_getsockopt()
2051 z_user_to_copy((void *)addrlen, &addrlen_copy, in z_vrfy_zsock_getsockname()
Dsocketpair.c344 Z_OOPS(z_user_to_copy(sv, tmp, sizeof(tmp))); in z_vrfy_zsock_socketpair()
/Zephyr-Core-2.7.6/drivers/ec_host_cmd_periph/
Dec_host_cmd_periph_handlers.c20 Z_OOPS(z_user_to_copy(&local_rx_ctx, rx_ctx, sizeof(*rx_ctx))); in z_vrfy_ec_host_cmd_periph_init()
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/syscalls/src/
Dmain.c49 Z_OOPS(z_user_to_copy((int *)err, &err_copy, sizeof(err_copy))); in z_vrfy_string_nlen()
113 return z_user_to_copy((char *)dest, user_string, BUF_SIZE); in z_vrfy_to_copy()
/Zephyr-Core-2.7.6/include/
Dsyscall_handler.h255 extern int z_user_to_copy(void *dst, const void *src, size_t size);
/Zephyr-Core-2.7.6/subsys/net/ip/
Dutils.c311 Z_OOPS(z_user_to_copy((void *)dst, str, MIN(size, sizeof(str)))); in z_vrfy_net_addr_ntop()
483 Z_OOPS(z_user_to_copy((void *)dst, addr, size)); in z_vrfy_net_addr_pton()
/Zephyr-Core-2.7.6/kernel/
Dthread.c316 return z_user_to_copy((void *)buf, thread->name, len + 1); in z_vrfy_k_thread_name_copy()
975 ret = z_user_to_copy(unused_ptr, &unused, sizeof(size_t)); in z_vrfy_k_thread_stack_space_get()
Duserspace.c778 int z_user_to_copy(void *dst, const void *src, size_t size) in z_user_to_copy() function
/Zephyr-Core-2.7.6/doc/reference/usermode/
Dsyscalls.rst359 :c:func:`z_user_to_copy()` and :c:func:`z_user_from_copy()` APIs exist for
379 Z_OOPS(z_user_to_copy(out_param, &local_out_param, sizeof(*out_param)));
384 the implementation function, and then used :c:func:`z_user_to_copy()` to fill
548 :c:func:`z_user_from_copy()`, :c:func:`z_user_to_copy()`
/Zephyr-Core-2.7.6/drivers/counter/
Dmaxim_ds3231.c1341 Z_OOPS(z_user_to_copy(syncpoint, &value, sizeof(*syncpoint))); in z_vrfy_maxim_ds3231_get_syncpoint()