Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/espi/
Despi_handlers.c17 Z_OOPS(z_user_from_copy(&cfg_copy, cfg, in z_vrfy_espi_config()
56 Z_OOPS(z_user_from_copy(&data_copy, data, sizeof(*data))); in z_vrfy_espi_write_lpc_request()
95 Z_OOPS(z_user_from_copy(&req_copy, req, in z_vrfy_espi_read_request()
116 Z_OOPS(z_user_from_copy(&req_copy, req, in z_vrfy_espi_write_request()
133 Z_OOPS(z_user_from_copy(&pckt_copy, pckt, in z_vrfy_espi_send_oob()
149 Z_OOPS(z_user_from_copy(&pckt_copy, pckt, in z_vrfy_espi_receive_oob()
168 Z_OOPS(z_user_from_copy(&pckt_copy, pckt, in z_vrfy_espi_read_flash()
187 Z_OOPS(z_user_from_copy(&pckt_copy, pckt, in z_vrfy_espi_write_flash()
204 Z_OOPS(z_user_from_copy(&pckt_copy, pckt, in z_vrfy_espi_flash_erase()
/Zephyr-Core-2.7.6/drivers/adc/
Dadc_handlers.c17 Z_OOPS(z_user_from_copy(&channel_cfg, in z_vrfy_adc_channel_setup()
30 if (z_user_from_copy(dst, src, sizeof(struct adc_sequence)) != 0) { in copy_sequence()
36 if (z_user_from_copy(options, dst->options, in copy_sequence()
/Zephyr-Core-2.7.6/drivers/i2s/
Di2s_handlers.c23 Z_OOPS(z_user_from_copy(&config, (const void *)cfg_ptr, in z_vrfy_i2s_configure()
101 ret = z_user_from_copy(mem_block, (void *)buf, size); in z_vrfy_i2s_buf_write()
/Zephyr-Core-2.7.6/samples/userspace/prod_consumer/src/
Dapp_syscall.c41 if (z_user_from_copy(&cookie_copy, cookie, sizeof(*cookie)) != 0) { in z_vrfy_magic_syscall()
/Zephyr-Core-2.7.6/drivers/dac/
Ddac_handlers.c17 Z_OOPS(z_user_from_copy(&channel_cfg, in z_vrfy_dac_channel_setup()
/Zephyr-Core-2.7.6/drivers/ec_host_cmd_periph/
Dec_host_cmd_periph_handlers.c31 Z_OOPS(z_user_from_copy(&local_tx_buf, tx_buf, sizeof(*tx_buf))); in z_vrfy_ec_host_cmd_periph_send()
/Zephyr-Core-2.7.6/drivers/peci/
Dpeci_handlers.c42 Z_OOPS(z_user_from_copy(&msg_copy, msg, sizeof(*msg))); in z_vrfy_peci_transfer()
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_handlers.c83 Z_OOPS(z_user_from_copy(&cfg_copy, alarm_cfg, sizeof(cfg_copy))); in z_vrfy_counter_set_channel_alarm()
109 Z_OOPS(z_user_from_copy(&cfg_copy, cfg, sizeof(cfg_copy))); in z_vrfy_counter_set_top_value()
/Zephyr-Core-2.7.6/include/
Dsyscall_handler.h240 extern int z_user_from_copy(void *dst, const void *src, size_t size);
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets.c430 Z_OOPS(z_user_from_copy(&dest_addr_copy, (void *)addr, addrlen)); in z_vrfy_zsock_bind()
471 Z_OOPS(z_user_from_copy(&dest_addr_copy, (void *)addr, addrlen)); in z_vrfy_zsock_connect()
601 Z_OOPS(addrlen && z_user_from_copy(&addrlen_copy, addrlen, in z_vrfy_zsock_accept()
704 Z_OOPS(z_user_from_copy(&dest_addr_copy, (void *)dest_addr, in z_vrfy_zsock_sendto()
781 Z_OOPS(z_user_from_copy(&msg_copy, (void *)msg, sizeof(msg_copy))); in z_vrfy_zsock_sendmsg()
1296 Z_OOPS(z_user_from_copy(&addrlen_copy, addrlen, in z_vrfy_zsock_recvfrom()
2039 Z_OOPS(z_user_from_copy(&addrlen_copy, (void *)addrlen, in z_vrfy_zsock_getsockname()
Dgetaddrinfo.c288 Z_OOPS(z_user_from_copy(&hints_copy, (void *)hints, in z_vrfy_z_zsock_getaddrinfo_internal()
/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
415 Z_OOPS(z_user_from_copy(&size, size_ptr, sizeof(size));
443 Z_OOPS(z_user_from_copy(&foo_copy, foo, sizeof(*foo)));
444 Z_OOPS(z_user_from_copy(&bar_right_copy, foo_copy.bar_right,
447 Z_OOPS(z_user_from_copy(&bar_left_copy, foo_copy.bar_left,
482 Z_OOPS(z_user_from_copy(&foo_copy, foo, sizeof(*foo)));
496 Z_OOPS(z_user_from_copy(bar_list_copy, foo_copy.bar_list,
548 :c:func:`z_user_from_copy()`, :c:func:`z_user_to_copy()`
/Zephyr-Core-2.7.6/kernel/
Duserspace.c773 int z_user_from_copy(void *dst, const void *src, size_t size) in z_user_from_copy() function
838 ret = z_user_from_copy(dst, src, actual_len); in z_user_string_copy()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dutils.c295 Z_OOPS(z_user_from_copy(&addr4, (const void *)src, in z_vrfy_net_addr_ntop()
299 Z_OOPS(z_user_from_copy(&addr6, (const void *)src, in z_vrfy_net_addr_ntop()
Dnet_if.c1473 Z_OOPS(z_user_from_copy(&addr_v6, (void *)addr, sizeof(addr_v6))); in z_vrfy_net_if_ipv6_addr_lookup_by_index()
1778 Z_OOPS(z_user_from_copy(&addr_v6, (void *)addr, sizeof(addr_v6))); in z_vrfy_net_if_ipv6_addr_add_by_index()
1814 Z_OOPS(z_user_from_copy(&addr_v6, (void *)addr, sizeof(addr_v6))); in z_vrfy_net_if_ipv6_addr_rm_by_index()
3299 Z_OOPS(z_user_from_copy(&addr_v4, (void *)addr, sizeof(addr_v4))); in z_vrfy_net_if_ipv4_addr_lookup_by_index()
3351 Z_OOPS(z_user_from_copy(&netmask_addr, (void *)netmask, in z_vrfy_net_if_ipv4_set_netmask_by_index()
3404 Z_OOPS(z_user_from_copy(&gw_addr, (void *)gw, sizeof(gw_addr))); in z_vrfy_net_if_ipv4_set_gw_by_index()
3578 Z_OOPS(z_user_from_copy(&addr_v4, (void *)addr, sizeof(addr_v4))); in z_vrfy_net_if_ipv4_addr_add_by_index()
3614 Z_OOPS(z_user_from_copy(&addr_v4, (void *)addr, sizeof(addr_v4))); in z_vrfy_net_if_ipv4_addr_rm_by_index()