Lines Matching refs:K_NO_WAIT
165 isr_return = zbus_chan_pub(&aux2_chan, &ga, K_NO_WAIT); in isr_handler()
168 isr_return = zbus_chan_read(&aux2_chan, &ga, K_NO_WAIT); in isr_handler()
171 isr_return = zbus_chan_notify(&aux2_chan, K_NO_WAIT); in isr_handler()
174 isr_return = zbus_chan_claim(&aux2_chan, K_NO_WAIT); in isr_handler()
192 zbus_chan_claim(&go_busy_chan, K_NO_WAIT); in busy_callback()
214 zassert_equal(-EBUSY, zbus_chan_pub(&aux2_chan, &a, K_NO_WAIT), "It must not be invalid"); in wq_dh_cb()
216 zassert_equal(-EBUSY, zbus_chan_read(&aux2_chan, &a, K_NO_WAIT), "It must not be invalid"); in wq_dh_cb()
218 zassert_equal(-EBUSY, zbus_chan_notify(&aux2_chan, K_NO_WAIT), "It must not be invalid"); in wq_dh_cb()
250 zassert_equal(-EFAULT, zbus_chan_pub(NULL, &a, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
254 zassert_equal(-EFAULT, zbus_chan_pub(&aux2_chan, NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
258 zassert_equal(-EFAULT, zbus_chan_read(NULL, &a, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
262 zassert_equal(-EFAULT, zbus_chan_read(&aux2_chan, NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
266 zassert_equal(-EFAULT, zbus_chan_notify(NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
268 zassert_equal(-EFAULT, zbus_chan_claim(NULL, K_NO_WAIT), "It must be -EFAULT"); in ZTEST()
280 zassert_equal(0, zbus_chan_pub(&aux2_chan, &a, K_NO_WAIT), "It must be valid"); in ZTEST()
284 zassert_equal(0, zbus_chan_read(&aux2_chan, &a, K_NO_WAIT), "It must be valid"); in ZTEST()
288 zassert_equal(0, zbus_chan_notify(&aux2_chan, K_NO_WAIT), "It must be valid"); in ZTEST()
290 zassert_equal(0, zbus_chan_claim(&aux2_chan, K_NO_WAIT), "It must be valid"); in ZTEST()
297 zassert_equal(-EBUSY, zbus_chan_pub(&aux2_chan, &a, K_NO_WAIT), "It must not be valid"); in ZTEST()
299 zassert_equal(-EBUSY, zbus_chan_read(&aux2_chan, &a, K_NO_WAIT), "It must not be valid"); in ZTEST()
301 zassert_equal(-EBUSY, zbus_chan_notify(&aux2_chan, K_NO_WAIT), "It must not be invalid"); in ZTEST()
315 zbus_chan_pub(&aux3_on_change_chan, &repeated, K_NO_WAIT); in ZTEST()
319 zbus_chan_pub(&aux3_on_change_chan, &repeated, K_NO_WAIT); in ZTEST()
323 zassert_equal(0, zbus_chan_pub(&go_busy_chan, &repeated, K_NO_WAIT), in ZTEST()
576 zbus_chan_pub(&hard_chan, &valid, K_NO_WAIT); in ZTEST()
580 zbus_chan_read(&hard_chan, ¤t, K_NO_WAIT); in ZTEST()
587 int err = zbus_chan_pub(&hard_chan, &invalid, K_NO_WAIT); in ZTEST()
592 err = zbus_chan_pub(&hard_chan, &invalid, K_NO_WAIT); in ZTEST()
596 err = zbus_chan_pub(&hard_chan, &invalid, K_NO_WAIT); in ZTEST()
628 zbus_chan_notify(&aux1_chan, K_NO_WAIT); in ZTEST()
646 zbus_chan_notify(&aux1_chan, K_NO_WAIT); in ZTEST()
696 zbus_chan_notify(&aux1_chan, K_NO_WAIT); in ZTEST()
705 zbus_chan_notify(&aux1_chan, K_NO_WAIT); in ZTEST()
706 zbus_chan_notify(&aux1_chan, K_NO_WAIT); in ZTEST()
707 zbus_chan_notify(&aux1_chan, K_NO_WAIT); in ZTEST()
736 zassert_equal(-EFAULT, zbus_sub_wait(NULL, NULL, K_NO_WAIT), NULL); in isr_sub_wait()
737 zassert_equal(-EFAULT, zbus_sub_wait(&foo_sub, NULL, K_NO_WAIT), NULL); in isr_sub_wait()
738 zassert_equal(-EFAULT, zbus_sub_wait(&foo_sub, &chan, K_NO_WAIT), NULL); in isr_sub_wait()
739 zassert_equal(-EFAULT, zbus_sub_wait(&invalid_sub, &chan, K_NO_WAIT), NULL); in isr_sub_wait()
747 zassert_equal(-EFAULT, zbus_sub_wait(NULL, NULL, K_NO_WAIT), NULL); in ZTEST()
748 zassert_equal(-EFAULT, zbus_sub_wait(&foo_sub, NULL, K_NO_WAIT), NULL); in ZTEST()
749 zassert_equal(-EFAULT, zbus_sub_wait(&foo_msg_sub, NULL, K_NO_WAIT), NULL); in ZTEST()
752 zassert_equal(-ENOMSG, zbus_sub_wait(&foo_sub, &chan, K_NO_WAIT), NULL); in ZTEST()
763 zassert_equal(-EFAULT, zbus_sub_wait_msg(NULL, NULL, NULL, K_NO_WAIT), NULL); in isr_sub_wait_msg()
764 zassert_equal(-EFAULT, zbus_sub_wait_msg(&foo_sub, NULL, NULL, K_NO_WAIT), NULL); in isr_sub_wait_msg()
765 zassert_equal(-EFAULT, zbus_sub_wait(&foo_msg_sub, NULL, K_NO_WAIT), NULL); in isr_sub_wait_msg()
768 zassert_equal(-EFAULT, zbus_sub_wait_msg(&foo_msg_sub, &chan, &a, K_NO_WAIT), NULL); in isr_sub_wait_msg()
775 zassert_equal(-EFAULT, zbus_sub_wait_msg(NULL, NULL, NULL, K_NO_WAIT), NULL); in ZTEST()
776 zassert_equal(-EFAULT, zbus_sub_wait_msg(&foo_sub, NULL, NULL, K_NO_WAIT), NULL); in ZTEST()
777 zassert_equal(-EFAULT, zbus_sub_wait_msg(&foo_msg_sub, NULL, NULL, K_NO_WAIT), NULL); in ZTEST()
778 zassert_equal(-EFAULT, zbus_sub_wait_msg(&foo_msg_sub, &chan, NULL, K_NO_WAIT), NULL); in ZTEST()
781 zassert_equal(-ENOMSG, zbus_sub_wait_msg(&foo_msg_sub, &chan, &a, K_NO_WAIT), NULL); in ZTEST()