Home
last modified time | relevance | path

Searched refs:k_mbox (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.6.0/kernel/
Dmailbox.c92 void k_mbox_init(struct k_mbox *mbox) in k_mbox_init()
102 SYS_PORT_TRACING_OBJ_INIT(k_mbox, mbox); in k_mbox_init()
215 static int mbox_message_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in mbox_message_put()
233 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mbox, message_put, mbox, timeout); in mbox_message_put()
260 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_mbox, message_put, mbox, timeout); in mbox_message_put()
268 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, message_put, mbox, timeout, ret); in mbox_message_put()
276 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, message_put, mbox, timeout, -ENOMSG); in mbox_message_put()
290 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_mbox, message_put, mbox, timeout); in mbox_message_put()
295 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, message_put, mbox, timeout, ret); in mbox_message_put()
300 int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in k_mbox_put()
[all …]
/Zephyr-Core-3.6.0/subsys/tracing/
Dtracing_tracking.c31 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()
149 SYS_PORT_TRACING_TYPE_MASK(k_mbox, in sys_track_static_init()
150 SYS_TRACK_STATIC_INIT(k_mbox)); in sys_track_static_init()
/Zephyr-Core-3.6.0/tests/kernel/mbox/mbox_usage/src/
Dmain.c20 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.6.0/tests/benchmarks/app_kernel/src/
Dmailbox_r.c15 void mailbox_get(struct k_mbox *mailbox,
67 void mailbox_get(struct k_mbox *mailbox, in mailbox_get()
Dmaster.h100 extern struct k_mbox MAILB1;
/Zephyr-Core-3.6.0/tests/kernel/mbox/mbox_api/src/
Dtest_mbox_api.c28 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.6.0/include/zephyr/tracing/
Dtracking.h43 extern struct k_mbox *_track_list_k_mbox;
104 void sys_track_k_mbox_init(struct k_mbox *mbox);
/Zephyr-Core-3.6.0/tests/kernel/obj_tracking/src/
Dmain.c38 struct k_mbox mbox; in ZTEST()
118 list = SYS_PORT_TRACK_NEXT((struct k_mbox *)list); in ZTEST()
/Zephyr-Core-3.6.0/subsys/tracing/test/
Dtracing_test.h590 void sys_trace_k_mbox_init(struct k_mbox *mbox);
591 void sys_trace_k_mbox_message_put_enter(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
593 void sys_trace_k_mbox_message_put_blocking(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
595 void sys_trace_k_mbox_message_put_exit(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
597 void sys_trace_k_mbox_put_enter(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
599 void sys_trace_k_mbox_put_exit(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, k_timeout_t timeout,
601 void sys_trace_k_mbox_async_put_enter(struct k_mbox *mbox, struct k_sem *sem);
602 void sys_trace_k_mbox_async_put_exit(struct k_mbox *mbox, struct k_sem *sem);
603 void sys_trace_k_mbox_get_enter(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer,
605 void sys_trace_k_mbox_get_blocking(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer,
[all …]
/Zephyr-Core-3.6.0/include/zephyr/portability/
Dcmsis_os.h221 struct k_mbox *mbox;
659 struct k_mbox mbox_##name; \
/Zephyr-Core-3.6.0/include/zephyr/
Dkernel.h73 struct k_mbox;
4716 struct k_mbox { struct
4723 SYS_PORT_TRACING_TRACKING_FIELD(k_mbox) argument
4753 STRUCT_SECTION_ITERABLE(k_mbox, name) = \
4763 void k_mbox_init(struct k_mbox *mbox);
4784 int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
4800 void k_mbox_async_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
4820 int k_mbox_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg,
/Zephyr-Core-3.6.0/include/zephyr/linker/
Dcommon-ram.ld78 ITERABLE_SECTION_RAM_GC_ALLOWED(k_mbox, 4)
/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core/src/
Dmain.c38 static struct k_mbox mbox2;
/Zephyr-Core-3.6.0/cmake/linker_script/common/
Dcommon-ram.cmake41 zephyr_iterable_section(NAME k_mbox GROUP DATA_REGION ${XIP_ALIGN_WITH_INPUT} SUBALIGN 4)
/Zephyr-Core-3.6.0/doc/kernel/services/data_passing/
Dmailboxes.rst118 A mailbox is defined using a variable of type :c:struct:`k_mbox`.
125 struct k_mbox my_mailbox;
/Zephyr-Core-3.6.0/doc/services/tracing/
Dindex.rst370 struct k_mbox *_track_list_k_mbox;
/Zephyr-Core-3.6.0/doc/releases/
Drelease-notes-2.0.rst1479 * :github:`3759` - reconsider k_mbox APIs