/Zephyr-latest/drivers/hwinfo/ |
D | hwinfo_handlers.c | 32 K_OOPS(k_usermode_to_copy(cause, &cause_copy, sizeof(uint32_t))); in z_vrfy_hwinfo_get_reset_cause() 51 K_OOPS(k_usermode_to_copy(supported, &supported_copy, sizeof(uint32_t))); in z_vrfy_hwinfo_get_supported_reset_cause()
|
/Zephyr-latest/drivers/espi/ |
D | espi_handlers.c | 43 K_OOPS(k_usermode_to_copy(data, &data_copy, sizeof(uint8_t))); in z_vrfy_espi_read_lpc_request() 82 K_OOPS(k_usermode_to_copy(level, &level_copy, sizeof(uint8_t))); in z_vrfy_espi_receive_vwire() 101 K_OOPS(k_usermode_to_copy(req, &req_copy, in z_vrfy_espi_read_request() 154 K_OOPS(k_usermode_to_copy(pckt, &pckt_copy, in z_vrfy_espi_receive_oob() 173 K_OOPS(k_usermode_to_copy(pckt, &pckt_copy, in z_vrfy_espi_read_flash()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_handlers.c | 67 K_OOPS(k_usermode_to_copy(period_cycles, &period, in z_vrfy_pwm_capture_cycles() 72 K_OOPS(k_usermode_to_copy(pulse_cycles, &pulse, in z_vrfy_pwm_capture_cycles()
|
/Zephyr-latest/drivers/ptp_clock/ |
D | ptp_clock.c | 25 if (k_usermode_to_copy((void *)tm, &ptp_time, sizeof(ptp_time)) != 0) { in z_vrfy_ptp_clock_get()
|
/Zephyr-latest/samples/userspace/prod_consumer/src/ |
D | app_syscall.c | 50 k_usermode_to_copy(cookie, &cookie_copy, sizeof(*cookie)) != 0) { in z_vrfy_magic_syscall()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets.c | 326 K_OOPS(ret >= 0 && addrlen && k_usermode_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_accept() 518 K_OOPS(k_usermode_to_copy(addrlen, &addrlen_copy, in z_vrfy_zsock_recvfrom() 635 K_OOPS(k_usermode_to_copy(msg->msg_name, in z_vrfy_zsock_recvmsg() 642 K_OOPS(k_usermode_to_copy(msg->msg_control, in z_vrfy_zsock_recvmsg() 651 k_usermode_to_copy(&msg->msg_iovlen, in z_vrfy_zsock_recvmsg() 660 K_OOPS(k_usermode_to_copy(msg->msg_iov[i].iov_base, in z_vrfy_zsock_recvmsg() 663 K_OOPS(k_usermode_to_copy(&msg->msg_iov[i].iov_len, in z_vrfy_zsock_recvmsg() 672 k_usermode_to_copy(&msg->msg_flags, in z_vrfy_zsock_recvmsg() 840 K_OOPS(k_usermode_to_copy(dst, dst_copy, dst_size)); in z_vrfy_zsock_inet_pton() 881 K_OOPS(k_usermode_to_copy((void *)optval, kernel_optval, kernel_optlen)); in z_vrfy_zsock_getsockopt() [all …]
|
D | socketpair.c | 359 K_OOPS(k_usermode_to_copy(sv, tmp, sizeof(tmp))); in z_vrfy_zsock_socketpair()
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_handlers.c | 66 copy_success = k_usermode_to_copy((void *)buf, mem_block, in z_vrfy_i2s_buf_read() 71 K_OOPS(k_usermode_to_copy((void *)size, &data_size, in z_vrfy_i2s_buf_read()
|
/Zephyr-latest/drivers/fuel_gauge/ |
D | fuel_gauge_syscall_handlers.c | 22 K_OOPS(k_usermode_to_copy(val, &k_val, sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_prop() 43 K_OOPS(k_usermode_to_copy(vals, k_vals, len * sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_props()
|
/Zephyr-latest/drivers/charger/ |
D | charger_handlers.c | 19 K_OOPS(k_usermode_to_copy(val, &k_val, sizeof(union charger_propval))); in z_vrfy_charger_get_prop()
|
/Zephyr-latest/lib/os/zvfs/ |
D | zvfs_select.c | 268 k_usermode_to_copy((void *)readfds, readfds_copy, in z_vrfy_zvfs_select() 273 k_usermode_to_copy((void *)writefds, writefds_copy, in z_vrfy_zvfs_select() 278 k_usermode_to_copy((void *)exceptfds, exceptfds_copy, in z_vrfy_zvfs_select()
|
D | zvfs_poll.c | 206 k_usermode_to_copy((void *)fds, fds_copy, fds_size); in z_vrfy_zvfs_poll()
|
/Zephyr-latest/drivers/flash/ |
D | flash_stm32_ex_op.c | 81 K_OOPS(k_usermode_to_copy(out, result, sizeof(out_copy))); in flash_stm32_ex_op_sector_wp() 220 K_OOPS(k_usermode_to_copy(out, result, sizeof(copy))); in flash_stm32_ex_op_rdp()
|
D | flash_npcx_fiu_nor.c | 465 K_OOPS(k_usermode_to_copy(out, op_out, sizeof(out_copy))); in flash_npcx_nor_ex_op() 498 K_OOPS(k_usermode_to_copy(out, op_out, sizeof(out_copy))); in flash_npcx_nor_ex_op()
|
/Zephyr-latest/drivers/can/ |
D | can_handlers.c | 20 K_OOPS(k_usermode_to_copy(res, &res_copy, sizeof(*res))); in z_vrfy_can_calc_timing() 92 K_OOPS(k_usermode_to_copy(res, &res_copy, sizeof(*res))); in z_vrfy_can_calc_timing_data()
|
/Zephyr-latest/tests/kernel/mem_protect/syscalls/src/ |
D | main.c | 62 K_OOPS(k_usermode_to_copy((int *)err, &err_copy, sizeof(err_copy))); in z_vrfy_string_nlen() 126 return k_usermode_to_copy((char *)dest, user_string, BUF_SIZE); in z_vrfy_to_copy()
|
/Zephyr-latest/include/zephyr/internal/ |
D | syscall_handler.h | 299 int k_usermode_to_copy(void *dst, const void *src, size_t size);
|
/Zephyr-latest/subsys/net/ip/ |
D | utils.c | 326 K_OOPS(k_usermode_to_copy((void *)dst, str, MIN(size, sizeof(str)))); in z_vrfy_net_addr_ntop() 498 K_OOPS(k_usermode_to_copy((void *)dst, addr, size)); in z_vrfy_net_addr_pton()
|
/Zephyr-latest/kernel/ |
D | thread.c | 306 return k_usermode_to_copy((void *)buf, thread->name, len + 1); in z_vrfy_k_thread_name_copy() 886 ret = k_usermode_to_copy(unused_ptr, &unused, sizeof(size_t)); in z_vrfy_k_thread_stack_space_get()
|
D | userspace.c | 859 int k_usermode_to_copy(void *dst, const void *src, size_t size) in k_usermode_to_copy() function
|
/Zephyr-latest/doc/kernel/usermode/ |
D | syscalls.rst | 382 :c:func:`k_usermode_to_copy()` and :c:func:`k_usermode_from_copy()` APIs exist for 402 K_OOPS(k_usermode_to_copy(out_param, &local_out_param, sizeof(*out_param))); 407 the implementation function, and then used :c:func:`k_usermode_to_copy()` to fill 440 K_OOPS(k_usermode_to_copy(size_ptr, &size, sizeof(size))); 571 :c:func:`k_usermode_from_copy()`, :c:func:`k_usermode_to_copy()`
|
/Zephyr-latest/drivers/counter/ |
D | maxim_ds3231.c | 1323 K_OOPS(k_usermode_to_copy(syncpoint, &value, sizeof(*syncpoint))); in z_vrfy_maxim_ds3231_get_syncpoint()
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.6.rst | 678 * ``z_user_to_copy`` to :c:func:`k_usermode_to_copy`
|