Lines Matching refs:k_mbox

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()
301 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mbox, put, mbox, timeout); in k_mbox_put()
305 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, put, mbox, timeout, ret); in k_mbox_put()
311 void k_mbox_async_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg, in k_mbox_async_put()
316 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mbox, async_put, mbox, sem); in k_mbox_async_put()
331 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, async_put, mbox, sem); in k_mbox_async_put()
382 int k_mbox_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg, void *buffer, in k_mbox_get()
396 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mbox, get, mbox, timeout); in k_mbox_get()
410 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, get, mbox, timeout, result); in k_mbox_get()
418 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, get, mbox, timeout, -ENOMSG); in k_mbox_get()
425 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_mbox, get, mbox, timeout); in k_mbox_get()
436 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mbox, get, mbox, timeout, result); in k_mbox_get()
448 offsetof(struct k_mbox, obj_core)); in init_mailbox_obj_core_list()
452 STRUCT_SECTION_FOREACH(k_mbox, mbox) { in init_mailbox_obj_core_list()