Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/kernel/
Dmailbox.c87 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/
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()
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/
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.7.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.7.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.7.0/include/zephyr/tracing/
Dtracking.h43 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/
Dmain.c38 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/
Dtracing_test.h598 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/
Dcmsis_os.h221 struct k_mbox *mbox;
659 struct k_mbox mbox_##name; \
/Zephyr-Core-3.7.0/include/zephyr/
Dkernel.h75 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/
Dcommon-ram.ld78 ITERABLE_SECTION_RAM_GC_ALLOWED(k_mbox, Z_LINK_ITERABLE_SUBALIGN)
/Zephyr-Core-3.7.0/tests/kernel/obj_core/obj_core/src/
Dmain.c38 static struct k_mbox mbox2;
/Zephyr-Core-3.7.0/cmake/linker_script/common/
Dcommon-ram.cmake41 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/
Dmailboxes.rst118 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/
Dindex.rst370 struct k_mbox *_track_list_k_mbox;
/Zephyr-Core-3.7.0/doc/releases/
Drelease-notes-2.0.rst1479 * :github:`3759` - reconsider k_mbox APIs