Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_handlers.c59 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read()
63 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read()
80 K_OOPS(K_SYSCALL_VERIFY_MSG(copy_sequence(&sequence, &options, in z_vrfy_adc_read_async()
84 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read_async()
/Zephyr-latest/include/zephyr/internal/
Dsyscall_handler.h372 #define K_SYSCALL_VERIFY_MSG(expr, fmt, ...) ({ \ macro
395 #define K_SYSCALL_VERIFY(expr) K_SYSCALL_VERIFY_MSG(expr, #expr)
432 K_SYSCALL_VERIFY_MSG(K_SYSCALL_MEMORY_SIZE_CHECK(ptr, size) \
480 K_SYSCALL_VERIFY_MSG(!size_mul_overflow((size_t)(nmemb), \
543 K_SYSCALL_VERIFY_MSG(k_object_validation_check( \
566 K_SYSCALL_VERIFY_MSG(__device__->op != NULL, \
596 K_SYSCALL_VERIFY_MSG(_dev->api == _api, \
/Zephyr-latest/kernel/
Duserspace_handler.c63 K_OOPS(K_SYSCALL_VERIFY_MSG(ko != NULL, "object %p access denied", in z_vrfy_k_object_access_grant()
74 K_OOPS(K_SYSCALL_VERIFY_MSG(ko != NULL, "object %p access denied", object)); in z_vrfy_k_object_release()
Dsched.c999 K_OOPS(K_SYSCALL_VERIFY_MSG(_is_valid_prio(prio, NULL), in z_vrfy_k_thread_priority_set()
1002 K_OOPS(K_SYSCALL_VERIFY_MSG((int8_t)prio >= thread->base.prio, in z_vrfy_k_thread_priority_set()
1043 K_OOPS(K_SYSCALL_VERIFY_MSG(deadline > 0, in z_vrfy_k_thread_deadline_set()
1450 K_OOPS(K_SYSCALL_VERIFY_MSG(ret, "access denied")); in thread_obj_validate()
1472 K_OOPS(K_SYSCALL_VERIFY_MSG(!z_is_thread_essential(thread), in z_vrfy_k_thread_abort()
Dthread.c691 K_OOPS(K_SYSCALL_VERIFY_MSG(k_object_validation_check(stack_object, stack, in z_vrfy_k_thread_create()
699 K_OOPS(K_SYSCALL_VERIFY_MSG(!size_add_overflow(K_THREAD_STACK_RESERVED, in z_vrfy_k_thread_create()
713 K_OOPS(K_SYSCALL_VERIFY_MSG(total_size <= stack_obj_size, in z_vrfy_k_thread_create()
Dpoll.c371 if (K_SYSCALL_VERIFY_MSG(!u32_mul_overflow(num_events, in z_vrfy_k_poll()
/Zephyr-latest/drivers/usb/bc12/
Dbc12_handlers.c21 K_OOPS(K_SYSCALL_VERIFY_MSG(cb == NULL, "callbacks may not be set from user mode")); in z_vrfy_bc12_set_result_cb()
/Zephyr-latest/drivers/kscan/
Dkscan_handlers.c14 K_OOPS(K_SYSCALL_VERIFY_MSG(callback_isr == 0, in z_vrfy_kscan_config()
/Zephyr-latest/drivers/ps2/
Dps2_handlers.c14 K_OOPS(K_SYSCALL_VERIFY_MSG(callback_isr == NULL, in z_vrfy_ps2_config()
/Zephyr-latest/drivers/counter/
Dcounter_handlers.c93 K_OOPS(K_SYSCALL_VERIFY_MSG(cfg_copy.callback == NULL, in z_vrfy_counter_set_channel_alarm()
119 K_OOPS(K_SYSCALL_VERIFY_MSG(cfg_copy.callback == NULL, in z_vrfy_counter_set_top_value()
/Zephyr-latest/drivers/w1/
Dw1_handlers.c105 K_OOPS(K_SYSCALL_VERIFY_MSG(callback == 0, in z_vrfy_w1_search_bus()
/Zephyr-latest/subsys/logging/
Dlog_mgmt.c496 K_OOPS(K_SYSCALL_VERIFY_MSG(backend == NULL, in z_vrfy_log_filter_set()
498 K_OOPS(K_SYSCALL_VERIFY_MSG(domain_id == Z_LOG_LOCAL_DOMAIN_ID, in z_vrfy_log_filter_set()
500 K_OOPS(K_SYSCALL_VERIFY_MSG(src_id < (int16_t)log_src_cnt_get(domain_id), in z_vrfy_log_filter_set()
502 K_OOPS(K_SYSCALL_VERIFY_MSG( in z_vrfy_log_filter_set()
/Zephyr-latest/drivers/can/
Dcan_handlers.c213 K_OOPS(K_SYSCALL_VERIFY_MSG(callback == NULL, "callbacks may not be set from user mode")); in z_vrfy_can_send()
/Zephyr-latest/doc/kernel/usermode/
Dsyscalls.rst312 * :c:macro:`K_SYSCALL_VERIFY_MSG()` does a runtime check of some boolean
645 * :c:macro:`K_SYSCALL_VERIFY_MSG()`
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst694 * ``Z_SYSCALL_VERIFY_MSG`` to :c:macro:`K_SYSCALL_VERIFY_MSG`