Home
last modified time | relevance | path

Searched refs:K_ANY (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/tests/kernel/mbox/mbox_api/src/
Dtest_mbox_api.c78 mmsg.rx_source_thread = K_ANY; in mbox_get_waiting_thread()
94 mmsg.rx_source_thread = K_ANY; in mbox_get_waiting_thread()
117 mmsg.tx_target_thread = K_ANY; in tmbox_put()
130 mmsg.tx_target_thread = K_ANY; in tmbox_put()
139 mmsg.tx_target_thread = K_ANY; in tmbox_put()
166 mmsg.tx_target_thread = K_ANY; in tmbox_put()
174 mmsg.tx_target_thread = K_ANY; in tmbox_put()
187 mmsg.tx_target_thread = K_ANY; in tmbox_put()
214 mmsg.tx_target_thread = K_ANY; in tmbox_put()
248 mmsg.rx_source_thread = K_ANY; in tmbox_get()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/mbox/mbox_usage/src/
Dmain.c102 msg_receiver(&mbox, K_ANY, K_NO_WAIT); in ZTEST()
108 msg_receiver(&mbox, K_ANY, K_MSEC(2)); in ZTEST()
138 mmsg.rx_source_thread = K_ANY; in thread_low_prio()
155 mmsg.rx_source_thread = K_ANY; in thread_high_prio()
184 mmsg.tx_target_thread = K_ANY; in ZTEST_USER()
189 mmsg.tx_target_thread = K_ANY; in ZTEST_USER()
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_mailq.c115 mmsg.rx_source_thread = K_ANY; in osMailPut()
116 mmsg.tx_target_thread = K_ANY; in osMailPut()
138 mmsg.rx_source_thread = K_ANY; in osMailGet()
139 mmsg.tx_target_thread = K_ANY; in osMailGet()
/Zephyr-Core-3.5.0/tests/benchmarks/app_kernel/src/
Dmailbox_b.c131 message.rx_source_thread = K_ANY; in mailbox_put()
132 message.tx_target_thread = K_ANY; in mailbox_put()
Dmailbox_r.c82 Message.rx_source_thread = K_ANY; in mailbox_get()
/Zephyr-Core-3.5.0/kernel/
Dmailbox.c122 if (((tx_msg->tx_target_thread == (k_tid_t)K_ANY) || in mbox_message_match()
124 ((rx_msg->rx_source_thread == (k_tid_t)K_ANY) || in mbox_message_match()
/Zephyr-Core-3.5.0/doc/kernel/services/data_passing/
Dmailboxes.rst79 is sent, or send it to any thread by specifying :c:macro:`K_ANY`.
82 by specifying :c:macro:`K_ANY`.
165 The address of the desired receiving thread. Set it to :c:macro:`K_ANY`
171 The address of the desired sending thread. Set it to :c:macro:`K_ANY`
251 send_msg.tx_target_thread = K_ANY;
286 send_msg.tx_target_thread = K_ANY;
375 recv_msg.rx_source_thread = K_ANY;
448 recv_msg.rx_source_thread = K_ANY;
/Zephyr-Core-3.5.0/include/zephyr/
Dkernel.h45 #define K_ANY NULL macro