Home
last modified time | relevance | path

Searched refs:K_SYSCALL_MEMORY_WRITE (Results 1 – 25 of 50) sorted by relevance

12

/Zephyr-latest/drivers/cache/
Dcache_handlers.c12 K_OOPS(K_SYSCALL_MEMORY_WRITE(addr, size)); in z_vrfy_sys_cache_data_flush_range()
20 K_OOPS(K_SYSCALL_MEMORY_WRITE(addr, size)); in z_vrfy_sys_cache_data_invd_range()
28 K_OOPS(K_SYSCALL_MEMORY_WRITE(addr, size)); in z_vrfy_sys_cache_data_flush_and_invd_range()
/Zephyr-latest/drivers/rtc/
Drtc_handlers.c21 K_OOPS(K_SYSCALL_MEMORY_WRITE(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_get_time()
31 K_OOPS(K_SYSCALL_MEMORY_WRITE(mask, sizeof(uint16_t))); in z_vrfy_rtc_alarm_get_supported_fields()
49 K_OOPS(K_SYSCALL_MEMORY_WRITE(mask, sizeof(uint16_t))); in z_vrfy_rtc_alarm_get_time()
50 K_OOPS(K_SYSCALL_MEMORY_WRITE(timeptr, sizeof(struct rtc_time))); in z_vrfy_rtc_alarm_get_time()
75 K_OOPS(K_SYSCALL_MEMORY_WRITE(calibration, sizeof(int32_t))); in z_vrfy_rtc_get_calibration()
/Zephyr-latest/drivers/smbus/
Dsmbus_handlers.c24 K_OOPS(K_SYSCALL_MEMORY_WRITE(dev_config, sizeof(uint32_t))); in z_vrfy_smbus_get_config()
52 K_OOPS(K_SYSCALL_MEMORY_WRITE(byte, sizeof(uint8_t))); in z_vrfy_smbus_byte_read()
73 K_OOPS(K_SYSCALL_MEMORY_WRITE(byte, sizeof(uint8_t))); in z_vrfy_smbus_byte_data_read()
94 K_OOPS(K_SYSCALL_MEMORY_WRITE(word, sizeof(uint16_t))); in z_vrfy_smbus_word_data_read()
105 K_OOPS(K_SYSCALL_MEMORY_WRITE(recv_word, sizeof(uint16_t))); in z_vrfy_smbus_pcall()
127 K_OOPS(K_SYSCALL_MEMORY_WRITE(count, sizeof(uint8_t))); in z_vrfy_smbus_block_read()
140 K_OOPS(K_SYSCALL_MEMORY_WRITE(rcv_count, sizeof(uint8_t))); in z_vrfy_smbus_block_pcall()
/Zephyr-latest/drivers/flash/
Dflash_handlers.c15 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, len)); in z_vrfy_flash_read()
43 K_OOPS(K_SYSCALL_MEMORY_WRITE(size, sizeof(*size))); in z_vrfy_flash_get_size()
84 K_OOPS(K_SYSCALL_MEMORY_WRITE(info, sizeof(struct flash_pages_info))); in z_vrfy_flash_get_page_info_by_offs()
96 K_OOPS(K_SYSCALL_MEMORY_WRITE(info, sizeof(struct flash_pages_info))); in z_vrfy_flash_get_page_info_by_idx()
119 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, len)); in z_vrfy_flash_sfdp_read()
128 K_OOPS(K_SYSCALL_MEMORY_WRITE(id, 3)); in z_vrfy_flash_read_jedec_id()
/Zephyr-latest/subsys/random/
Drandom_handlers.c12 K_OOPS(K_SYSCALL_MEMORY_WRITE(dst, len)); in z_vrfy_sys_rand_get()
21 K_OOPS(K_SYSCALL_MEMORY_WRITE(dst, len)); in z_vrfy_sys_csrand_get()
/Zephyr-latest/kernel/paging/
Dstatistics.c105 K_OOPS(K_SYSCALL_MEMORY_WRITE(stats, sizeof(*stats))); in z_vrfy_k_mem_paging_stats_get()
129 K_OOPS(K_SYSCALL_MEMORY_WRITE(stats, sizeof(*stats))); in z_vrfy_k_mem_paging_thread_stats_get()
227 K_OOPS(K_SYSCALL_MEMORY_WRITE(hist, sizeof(*hist))); in z_vrfy_k_mem_paging_histogram_eviction_get()
236 K_OOPS(K_SYSCALL_MEMORY_WRITE(hist, sizeof(*hist))); in z_vrfy_k_mem_paging_histogram_backing_store_page_in_get()
245 K_OOPS(K_SYSCALL_MEMORY_WRITE(hist, sizeof(*hist))); in z_vrfy_k_mem_paging_histogram_backing_store_page_out_get()
/Zephyr-latest/drivers/gpio/
Dgpio_handlers.c27 K_OOPS(K_SYSCALL_MEMORY_WRITE(flags, sizeof(gpio_flags_t))); in z_vrfy_gpio_pin_get_config()
38 K_OOPS(K_SYSCALL_MEMORY_WRITE(value, sizeof(gpio_port_value_t))); in z_vrfy_gpio_port_get_raw()
108 K_OOPS(K_SYSCALL_MEMORY_WRITE(inputs, sizeof(gpio_port_pins_t))); in z_vrfy_gpio_port_get_direction()
112 K_OOPS(K_SYSCALL_MEMORY_WRITE(outputs, sizeof(gpio_port_pins_t))); in z_vrfy_gpio_port_get_direction()
/Zephyr-latest/drivers/hwinfo/
Dhwinfo_handlers.c12 K_OOPS(K_SYSCALL_MEMORY_WRITE(buffer, length)); in z_vrfy_hwinfo_get_device_id()
20 K_OOPS(K_SYSCALL_MEMORY_WRITE(buffer, 8)); in z_vrfy_hwinfo_get_device_eui64()
/Zephyr-latest/drivers/serial/
Duart_handlers.c31 K_OOPS(K_SYSCALL_MEMORY_WRITE(p_char, sizeof(unsigned char))); in UART_SIMPLE()
40 K_OOPS(K_SYSCALL_MEMORY_WRITE(p_u16, sizeof(uint16_t))); in z_vrfy_uart_poll_in_u16()
66 K_OOPS(K_SYSCALL_MEMORY_WRITE(cfg, sizeof(struct uart_config))); in z_vrfy_uart_config_get()
119 K_OOPS(K_SYSCALL_MEMORY_WRITE(buf, len)); in z_vrfy_uart_rx_enable()
173 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(uint32_t))); in z_vrfy_uart_line_ctrl_get()
/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem_handlers.c15 K_OOPS(K_SYSCALL_MEMORY_WRITE(memmap, sizeof(uintptr_t))); in z_vrfy_ivshmem_get_mem()
63 K_OOPS(K_SYSCALL_MEMORY_WRITE(memmap, sizeof(uintptr_t))); in z_vrfy_ivshmem_get_rw_mem_section()
74 K_OOPS(K_SYSCALL_MEMORY_WRITE(memmap, sizeof(uintptr_t))); in z_vrfy_ivshmem_get_output_mem_section()
/Zephyr-latest/kernel/
Datomic_c.c45 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
53 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
111 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); in z_vrfy_atomic_cas()
141 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_ptr_t))); in z_vrfy_atomic_ptr_cas()
279 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_ptr_t))); in z_vrfy_atomic_ptr_set()
Dfutex.c57 if (K_SYSCALL_MEMORY_WRITE(futex, sizeof(struct k_futex)) != 0) { in z_vrfy_k_futex_wake()
95 if (K_SYSCALL_MEMORY_WRITE(futex, sizeof(struct k_futex)) != 0) { in z_vrfy_k_futex_wait()
Dmsg_q.c210 K_OOPS(K_SYSCALL_MEMORY_WRITE(attrs, sizeof(struct k_msgq_attrs))); in z_vrfy_k_msgq_get_attrs()
289 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, msgq->msg_size)); in z_vrfy_k_msgq_get()
323 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, msgq->msg_size)); in z_vrfy_k_msgq_peek()
369 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, msgq->msg_size)); in z_vrfy_k_msgq_peek_at()
/Zephyr-latest/drivers/bbram/
Dbbram_handlers.c34 K_OOPS(K_SYSCALL_MEMORY_WRITE(size, sizeof(size_t))); in z_vrfy_bbram_get_size()
43 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, size)); in z_vrfy_bbram_read()
/Zephyr-latest/drivers/entropy/
Dentropy_handlers.c15 K_OOPS(K_SYSCALL_MEMORY_WRITE(buffer, len)); in z_vrfy_entropy_get_entropy()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_misc.c24 K_OOPS(K_SYSCALL_MEMORY_WRITE(buf, len)); in z_vrfy_zsock_gethostname()
/Zephyr-latest/drivers/sensor/
Dsensor_handlers.c28 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(struct sensor_value))); in z_vrfy_sensor_attr_get()
55 K_OOPS(K_SYSCALL_MEMORY_WRITE(val, sizeof(struct sensor_value))); in z_vrfy_sensor_channel_get()
/Zephyr-latest/drivers/ptp_clock/
Dptp_clock.c18 K_OOPS(K_SYSCALL_MEMORY_WRITE(tm, sizeof(struct net_ptp_time))); in z_vrfy_ptp_clock_get()
/Zephyr-latest/drivers/can/
Dcan_handlers.c42 K_OOPS(K_SYSCALL_MEMORY_WRITE(rate, sizeof(*rate))); in z_vrfy_can_get_core_clock()
149 K_OOPS(K_SYSCALL_MEMORY_WRITE(cap, sizeof(*cap))); in z_vrfy_can_get_capabilities()
247 K_OOPS(K_SYSCALL_MEMORY_WRITE(state, sizeof(*state))); in z_vrfy_can_get_state()
251 K_OOPS(K_SYSCALL_MEMORY_WRITE(err_cnt, sizeof(*err_cnt))); in z_vrfy_can_get_state()
/Zephyr-latest/drivers/espi/
Despi_handlers.c97 K_OOPS(K_SYSCALL_MEMORY_WRITE(req_copy.data, req_copy.len)); in z_vrfy_espi_read_request()
151 K_OOPS(K_SYSCALL_MEMORY_WRITE(pckt->buf, pckt->len)); in z_vrfy_espi_receive_oob()
170 K_OOPS(K_SYSCALL_MEMORY_WRITE(pckt->buf, pckt->len)); in z_vrfy_espi_read_flash()
/Zephyr-latest/drivers/eeprom/
Deeprom_handlers.c14 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, len)); in z_vrfy_eeprom_read()
/Zephyr-latest/drivers/ps2/
Dps2_handlers.c30 K_OOPS(K_SYSCALL_MEMORY_WRITE(value, sizeof(uint8_t))); in z_vrfy_ps2_read()
/Zephyr-latest/drivers/retained_mem/
Dretained_mem_handlers.c21 K_OOPS(K_SYSCALL_MEMORY_WRITE(buffer, size)); in z_vrfy_retained_mem_read()
/Zephyr-latest/lib/os/
Dmutex.c30 return K_SYSCALL_MEMORY_WRITE(addr, sizeof(struct sys_mutex)); in check_sys_mutex_addr()
/Zephyr-latest/drivers/counter/
Dcounter_handlers.c71 K_OOPS(K_SYSCALL_MEMORY_WRITE(ticks, sizeof(*ticks))); in z_vrfy_counter_get_value()
80 K_OOPS(K_SYSCALL_MEMORY_WRITE(ticks, sizeof(*ticks))); in z_vrfy_counter_get_value_64()

12