/Zephyr-Core-3.7.0/kernel/ |
D | mailbox.c | 87 void k_mbox_init(struct k_mbox *mbox) in k_mbox_init() 97 SYS_PORT_TRACING_OBJ_INIT(k_mbox, mbox); in k_mbox_init() 210 static int mbox_message_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in mbox_message_put() 228 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mbox, message_put, mbox, timeout); in mbox_message_put() 255 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_mbox, message_put, mbox, timeout); in mbox_message_put() 263 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, message_put, mbox, timeout, ret); in mbox_message_put() 271 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, message_put, mbox, timeout, -ENOMSG); in mbox_message_put() 285 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_mbox, message_put, mbox, timeout); in mbox_message_put() 290 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, message_put, mbox, timeout, ret); in mbox_message_put() 295 int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in k_mbox_put() [all …]
|
/Zephyr-Core-3.7.0/subsys/tracing/ |
D | tracing_tracking.c | 31 struct k_mbox *_track_list_k_mbox; 100 void sys_track_k_mbox_init(struct k_mbox *mbox) in sys_track_k_mbox_init() 102 SYS_PORT_TRACING_TYPE_MASK(k_mbox, in sys_track_k_mbox_init() 159 SYS_PORT_TRACING_TYPE_MASK(k_mbox, in sys_track_static_init() 160 SYS_TRACK_STATIC_INIT(k_mbox)); in sys_track_static_init()
|
/Zephyr-Core-3.7.0/tests/kernel/mbox/mbox_usage/src/ |
D | main.c | 20 static struct k_mbox mbox, multi_tmbox; 32 static void msg_sender(struct k_mbox *pmbox, k_timeout_t timeout) in msg_sender() 54 static void msg_receiver(struct k_mbox *pmbox, k_tid_t thd_id, in msg_receiver() 90 msg_sender((struct k_mbox *)p1, K_NO_WAIT); in test_send() 112 msg_sender((struct k_mbox *)p1, K_FOREVER); in test_send_un()
|
/Zephyr-Core-3.7.0/tests/benchmarks/app_kernel/src/ |
D | mailbox_r.c | 15 void mailbox_get(struct k_mbox *mailbox, 67 void mailbox_get(struct k_mbox *mailbox, in mailbox_get()
|
D | master.h | 100 extern struct k_mbox MAILB1;
|
/Zephyr-Core-3.7.0/tests/kernel/mbox/mbox_api/src/ |
D | test_mbox_api.c | 28 static struct k_mbox mbox; 73 struct k_mbox *pmbox = p2; in mbox_get_waiting_thread() 107 static void tmbox_put(struct k_mbox *pmbox) in tmbox_put() 239 static void tmbox_get(struct k_mbox *pmbox) in tmbox_get() 397 tmbox_get((struct k_mbox *)p1); in tmbox_entry() 401 static void tmbox(struct k_mbox *pmbox) in tmbox() 476 struct k_mbox mbox1, mbox2, mbox3; in ZTEST()
|
/Zephyr-Core-3.7.0/include/zephyr/tracing/ |
D | tracking.h | 43 extern struct k_mbox *_track_list_k_mbox; 107 void sys_track_k_mbox_init(struct k_mbox *mbox);
|
/Zephyr-Core-3.7.0/tests/kernel/obj_tracking/src/ |
D | main.c | 38 struct k_mbox mbox; in ZTEST() 118 list = SYS_PORT_TRACK_NEXT((struct k_mbox *)list); in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/tracing/test/ |
D | tracing_test.h | 598 void sys_trace_k_mbox_init(struct k_mbox *mbox); 599 void sys_trace_k_mbox_message_put_enter(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, 601 void sys_trace_k_mbox_message_put_blocking(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, 603 void sys_trace_k_mbox_message_put_exit(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, 605 void sys_trace_k_mbox_put_enter(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, 607 void sys_trace_k_mbox_put_exit(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, k_timeout_t timeout, 609 void sys_trace_k_mbox_async_put_enter(struct k_mbox *mbox, struct k_sem *sem); 610 void sys_trace_k_mbox_async_put_exit(struct k_mbox *mbox, struct k_sem *sem); 611 void sys_trace_k_mbox_get_enter(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer, 613 void sys_trace_k_mbox_get_blocking(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer, [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/portability/ |
D | cmsis_os.h | 221 struct k_mbox *mbox; 659 struct k_mbox mbox_##name; \
|
/Zephyr-Core-3.7.0/include/zephyr/ |
D | kernel.h | 75 struct k_mbox; 4816 struct k_mbox { struct 4823 SYS_PORT_TRACING_TRACKING_FIELD(k_mbox) argument 4853 STRUCT_SECTION_ITERABLE(k_mbox, name) = \ 4863 void k_mbox_init(struct k_mbox *mbox); 4884 int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, 4900 void k_mbox_async_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, 4920 int k_mbox_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg,
|
/Zephyr-Core-3.7.0/include/zephyr/linker/ |
D | common-ram.ld | 78 ITERABLE_SECTION_RAM_GC_ALLOWED(k_mbox, Z_LINK_ITERABLE_SUBALIGN)
|
/Zephyr-Core-3.7.0/tests/kernel/obj_core/obj_core/src/ |
D | main.c | 38 static struct k_mbox mbox2;
|
/Zephyr-Core-3.7.0/cmake/linker_script/common/ |
D | common-ram.cmake | 41 zephyr_iterable_section(NAME k_mbox GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN CONFIG_LINKE…
|
/Zephyr-Core-3.7.0/doc/kernel/services/data_passing/ |
D | mailboxes.rst | 118 A mailbox is defined using a variable of type :c:struct:`k_mbox`. 125 struct k_mbox my_mailbox;
|
/Zephyr-Core-3.7.0/doc/services/tracing/ |
D | index.rst | 370 struct k_mbox *_track_list_k_mbox;
|
/Zephyr-Core-3.7.0/doc/releases/ |
D | release-notes-2.0.rst | 1479 * :github:`3759` - reconsider k_mbox APIs
|