Lines Matching refs:sig

480 void z_impl_k_poll_signal_init(struct k_poll_signal *sig)  in z_impl_k_poll_signal_init()  argument
482 sys_dlist_init(&sig->poll_events); in z_impl_k_poll_signal_init()
483 sig->signaled = 0U; in z_impl_k_poll_signal_init()
485 k_object_init(sig); in z_impl_k_poll_signal_init()
487 SYS_PORT_TRACING_FUNC(k_poll_api, signal_init, sig); in z_impl_k_poll_signal_init()
491 static inline void z_vrfy_k_poll_signal_init(struct k_poll_signal *sig) in z_vrfy_k_poll_signal_init() argument
493 K_OOPS(K_SYSCALL_OBJ_INIT(sig, K_OBJ_POLL_SIGNAL)); in z_vrfy_k_poll_signal_init()
494 z_impl_k_poll_signal_init(sig); in z_vrfy_k_poll_signal_init()
499 void z_impl_k_poll_signal_reset(struct k_poll_signal *sig) in z_impl_k_poll_signal_reset() argument
501 sig->signaled = 0U; in z_impl_k_poll_signal_reset()
503 SYS_PORT_TRACING_FUNC(k_poll_api, signal_reset, sig); in z_impl_k_poll_signal_reset()
506 void z_impl_k_poll_signal_check(struct k_poll_signal *sig, in z_impl_k_poll_signal_check() argument
509 *signaled = sig->signaled; in z_impl_k_poll_signal_check()
510 *result = sig->result; in z_impl_k_poll_signal_check()
512 SYS_PORT_TRACING_FUNC(k_poll_api, signal_check, sig); in z_impl_k_poll_signal_check()
516 void z_vrfy_k_poll_signal_check(struct k_poll_signal *sig, in z_vrfy_k_poll_signal_check() argument
519 K_OOPS(K_SYSCALL_OBJ(sig, K_OBJ_POLL_SIGNAL)); in z_vrfy_k_poll_signal_check()
522 z_impl_k_poll_signal_check(sig, signaled, result); in z_vrfy_k_poll_signal_check()
527 int z_impl_k_poll_signal_raise(struct k_poll_signal *sig, int result) in z_impl_k_poll_signal_raise() argument
532 sig->result = result; in z_impl_k_poll_signal_raise()
533 sig->signaled = 1U; in z_impl_k_poll_signal_raise()
535 poll_event = (struct k_poll_event *)sys_dlist_get(&sig->poll_events); in z_impl_k_poll_signal_raise()
539 SYS_PORT_TRACING_FUNC(k_poll_api, signal_raise, sig, 0); in z_impl_k_poll_signal_raise()
546 SYS_PORT_TRACING_FUNC(k_poll_api, signal_raise, sig, rc); in z_impl_k_poll_signal_raise()
553 static inline int z_vrfy_k_poll_signal_raise(struct k_poll_signal *sig, in z_vrfy_k_poll_signal_raise() argument
556 K_OOPS(K_SYSCALL_OBJ(sig, K_OBJ_POLL_SIGNAL)); in z_vrfy_k_poll_signal_raise()
557 return z_impl_k_poll_signal_raise(sig, result); in z_vrfy_k_poll_signal_raise()
561 static inline void z_vrfy_k_poll_signal_reset(struct k_poll_signal *sig) in z_vrfy_k_poll_signal_reset() argument
563 K_OOPS(K_SYSCALL_OBJ(sig, K_OBJ_POLL_SIGNAL)); in z_vrfy_k_poll_signal_reset()
564 z_impl_k_poll_signal_reset(sig); in z_vrfy_k_poll_signal_reset()