Home
last modified time | relevance | path

Searched refs:K_SYSCALL_MEMORY_READ (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/drivers/spi/
Dspi_handlers.c79 K_OOPS(K_SYSCALL_MEMORY_READ(config, sizeof(*config))); in z_vrfy_spi_transceive()
86 K_OOPS(K_SYSCALL_MEMORY_READ(tx_bufs, in z_vrfy_spi_transceive()
98 K_OOPS(K_SYSCALL_MEMORY_READ(rx_bufs, in z_vrfy_spi_transceive()
122 K_OOPS(K_SYSCALL_MEMORY_READ(config, sizeof(*config))); in z_vrfy_spi_release()
/Zephyr-latest/drivers/mbox/
Dmbox_handlers.c15 K_OOPS(K_SYSCALL_MEMORY_READ(msg, sizeof(struct mbox_msg))); in z_vrfy_mbox_send()
16 K_OOPS(K_SYSCALL_MEMORY_READ(msg->data, msg->size)); in z_vrfy_mbox_send()
/Zephyr-latest/drivers/sensor/
Dsensor_handlers.c16 K_OOPS(K_SYSCALL_MEMORY_READ(val, sizeof(struct sensor_value))); in z_vrfy_sensor_attr_set()
66 K_OOPS(K_SYSCALL_MEMORY_READ(decoder, sizeof(struct sensor_decoder_api))); in z_vrfy_sensor_get_decoder()
78 K_OOPS(K_SYSCALL_MEMORY_READ(channels, sizeof(enum sensor_channel) * num_channels)); in z_vrfy_sensor_reconfigure_read_iodev()
/Zephyr-latest/subsys/rtio/
Drtio_handlers.c66 K_OOPS(K_SYSCALL_MEMORY_READ(cqe, sizeof(struct rtio_cqe))); in z_vrfy_rtio_cqe_get_mempool_buffer()
67 K_OOPS(K_SYSCALL_MEMORY_READ(buff, sizeof(void *))); in z_vrfy_rtio_cqe_get_mempool_buffer()
68 K_OOPS(K_SYSCALL_MEMORY_READ(buff_len, sizeof(uint32_t))); in z_vrfy_rtio_cqe_get_mempool_buffer()
/Zephyr-latest/drivers/espi/
Despi_handlers.c115 K_OOPS(K_SYSCALL_MEMORY_READ(req->data, req->len)); in z_vrfy_espi_write_request()
132 K_OOPS(K_SYSCALL_MEMORY_READ(pckt->buf, pckt->len)); in z_vrfy_espi_send_oob()
189 K_OOPS(K_SYSCALL_MEMORY_READ(pckt->buf, pckt->len)); in z_vrfy_espi_write_flash()
206 K_OOPS(K_SYSCALL_MEMORY_READ(pckt->buf, pckt->len)); in z_vrfy_espi_flash_erase()
/Zephyr-latest/drivers/i3c/
Di3c_handlers.c15 K_OOPS(K_SYSCALL_MEMORY_READ(payload, sizeof(*payload))); in z_vrfy_i3c_do_ccc()
64 K_OOPS(K_SYSCALL_MEMORY_READ(target, sizeof(*target))); in z_vrfy_i3c_transfer()
/Zephyr-latest/drivers/led/
Dled_handlers.c43 K_OOPS(K_SYSCALL_MEMORY_READ(buf, num_channels)); in z_vrfy_led_write_channels()
60 K_OOPS(K_SYSCALL_MEMORY_READ(color, num_colors)); in z_vrfy_led_set_color()
/Zephyr-latest/drivers/rtc/
Drtc_handlers.c13 K_OOPS(K_SYSCALL_MEMORY_READ(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_set_time()
40 K_OOPS(K_SYSCALL_MEMORY_READ(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_alarm_set_time()
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dsample_driver_handlers.c28 if (K_SYSCALL_MEMORY_READ(buf, SAMPLE_DRIVER_MSG_SIZE)) { in z_vrfy_sample_driver_write()
/Zephyr-latest/drivers/eeprom/
Deeprom_handlers.c25 K_OOPS(K_SYSCALL_MEMORY_READ(data, len)); in z_vrfy_eeprom_write()
/Zephyr-latest/drivers/ipm/
Dipm_handlers.c15 K_OOPS(K_SYSCALL_MEMORY_READ(data, size)); in z_vrfy_ipm_send()
/Zephyr-latest/drivers/retained_mem/
Dretained_mem_handlers.c30 K_OOPS(K_SYSCALL_MEMORY_READ(buffer, size)); in z_vrfy_retained_mem_write()
/Zephyr-latest/lib/libc/arcmwdt/
Dlibc-hooks.c59 K_OOPS(K_SYSCALL_MEMORY_READ(buf, nbytes)); in z_vrfy_zephyr_write_stdout()
/Zephyr-latest/drivers/bbram/
Dbbram_handlers.c52 K_OOPS(K_SYSCALL_MEMORY_READ(data, size)); in z_vrfy_bbram_write()
/Zephyr-latest/drivers/smbus/
Dsmbus_handlers.c116 K_OOPS(K_SYSCALL_MEMORY_READ(buf, count)); in z_vrfy_smbus_block_write()
139 K_OOPS(K_SYSCALL_MEMORY_READ(snd_buf, snd_count)); in z_vrfy_smbus_block_pcall()
/Zephyr-latest/drivers/serial/
Duart_handlers.c76 K_OOPS(K_SYSCALL_MEMORY_READ(cfg, sizeof(struct uart_config))); in z_vrfy_uart_configure()
94 K_OOPS(K_SYSCALL_MEMORY_READ(buf, len)); in z_vrfy_uart_tx()
/Zephyr-latest/drivers/w1/
Dw1_handlers.c65 K_OOPS(K_SYSCALL_MEMORY_READ(buffer, len)); in z_vrfy_w1_write_block()
/Zephyr-latest/drivers/flash/
Dflash_handlers.c26 K_OOPS(K_SYSCALL_MEMORY_READ(data, len)); in z_vrfy_flash_write()
/Zephyr-latest/lib/os/
Dprintk.c165 K_OOPS(K_SYSCALL_MEMORY_READ(c, n)); in z_vrfy_k_str_out()
/Zephyr-latest/include/zephyr/internal/
Dsyscall_handler.h455 #define K_SYSCALL_MEMORY_READ(ptr, size) \ macro
/Zephyr-latest/kernel/
Duserspace.c823 if (K_SYSCALL_MEMORY_READ(src, size)) { in k_usermode_alloc_from_copy()
844 K_SYSCALL_MEMORY_READ(src, size)) { in user_copy()
Dmsg_q.c191 K_OOPS(K_SYSCALL_MEMORY_READ(data, msgq->msg_size)); in z_vrfy_k_msgq_put()
Dpipes.c522 K_OOPS(K_SYSCALL_MEMORY_READ(data, bytes_to_write)); in z_vrfy_k_pipe_put()
/Zephyr-latest/tests/kernel/mem_protect/syscalls/src/
Dmain.c58 if (!err_copy && K_SYSCALL_MEMORY_READ(src, ret + 1)) { in z_vrfy_string_nlen()
/Zephyr-latest/lib/libc/newlib/
Dlibc-hooks.c219 K_OOPS(K_SYSCALL_MEMORY_READ(buf, nbytes)); in z_vrfy_zephyr_write_stdout()

12