/Zephyr-Core-2.7.6/drivers/hwinfo/ |
D | hwinfo_handlers.c | 24 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/ |
D | espi_handlers.c | 43 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/ |
D | pwm_handlers.c | 69 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/ |
D | i2s_handlers.c | 66 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/ |
D | ptp_clock.c | 25 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/ |
D | app_syscall.c | 50 z_user_to_copy(cookie, &cookie_copy, sizeof(*cookie)) != 0) { in z_vrfy_magic_syscall()
|
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/ |
D | sockets_select.c | 259 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()
|
D | sockets.c | 607 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()
|
D | socketpair.c | 344 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/ |
D | ec_host_cmd_periph_handlers.c | 20 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/ |
D | main.c | 49 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/ |
D | syscall_handler.h | 255 extern int z_user_to_copy(void *dst, const void *src, size_t size);
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | utils.c | 311 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/ |
D | thread.c | 316 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()
|
D | userspace.c | 778 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/ |
D | syscalls.rst | 359 :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/ |
D | maxim_ds3231.c | 1341 Z_OOPS(z_user_to_copy(syncpoint, &value, sizeof(*syncpoint))); in z_vrfy_maxim_ds3231_get_syncpoint()
|