Home
last modified time | relevance | path

Searched refs:swap_data (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-2.7.6/kernel/
Dpipes.c71 async_msg[i].thread.swap_data = &async_msg[i].desc; in init_pipes_module()
299 desc = (struct k_pipe_desc *)thread->base.swap_data; in pipe_xfer_prepare()
322 desc = (struct k_pipe_desc *)thread->base.swap_data; in pipe_xfer_prepare()
459 desc = (struct k_pipe_desc *)thread->base.swap_data; in z_pipe_put_internal()
479 desc = (struct k_pipe_desc *)reader->base.swap_data; in z_pipe_put_internal()
526 _current->base.swap_data = &pipe_desc; in z_pipe_put_internal()
605 desc = (struct k_pipe_desc *)thread->base.swap_data; in z_impl_k_pipe_get()
629 desc = (struct k_pipe_desc *)writer->base.swap_data; in z_impl_k_pipe_get()
645 desc = (struct k_pipe_desc *)thread->base.swap_data; in z_impl_k_pipe_get()
659 desc = (struct k_pipe_desc *)writer->base.swap_data; in z_impl_k_pipe_get()
[all …]
Dmailbox.c181 tx_msg = (struct k_mbox_msg *)sending_thread->base.swap_data; in mbox_message_dispose()
236 sending_thread->base.swap_data = tx_msg; in mbox_message_put()
244 rx_msg = (struct k_mbox_msg *)receiving_thread->base.swap_data; in mbox_message_put()
412 tx_msg = (struct k_mbox_msg *)sending_thread->base.swap_data; in k_mbox_get()
441 _current->base.swap_data = rx_msg; in k_mbox_get()
Dmsg_q.c135 (void)memcpy(pending_thread->base.swap_data, data, in z_impl_k_msgq_put()
162 _current->base.swap_data = (void *) data; in z_impl_k_msgq_put()
233 (void)memcpy(msgq->write_ptr, pending_thread->base.swap_data, in z_impl_k_msgq_get()
258 _current->base.swap_data = data; in z_impl_k_msgq_get()
Dmem_slab.c132 *mem = _current->base.swap_data; in k_mem_slab_alloc()
Dqueue.c346 (ret != 0) ? NULL : _current->base.swap_data); in z_impl_k_queue_get()
348 return (ret != 0) ? NULL : _current->base.swap_data; in z_impl_k_queue_get()
Dstack.c171 *data = (stack_data_t)_current->base.swap_data; in z_impl_k_stack_pop()
Dsched.c1702 bool z_sched_wake(_wait_q_t *wait_q, int swap_retval, void *swap_data) in z_sched_wake() argument
1713 swap_data); in z_sched_wake()
1730 *data = _current->base.swap_data; in z_sched_wait()
/Zephyr-Core-2.7.6/kernel/include/
Dksched.h316 bool z_sched_wake(_wait_q_t *wait_q, int swap_retval, void *swap_data);
331 void *swap_data) in z_sched_wake_all() argument
335 while (z_sched_wake(wait_q, swap_retval, swap_data)) { in z_sched_wake_all()
Dkernel_offsets.h60 GEN_OFFSET_SYM(_thread_base_t, swap_data);
Dkernel_internal.h136 thread->base.swap_data = data; in z_thread_return_value_set_with_data()
/Zephyr-Core-2.7.6/include/kernel/
Dthread.h113 void *swap_data; member