Searched refs:switch_handle (Results 1 – 19 of 19) sorted by relevance
56 volatile void **shp = (void *)&thread->switch_handle; in z_sched_switch_spin()154 void *newsh = new_thread->switch_handle; in do_swap()161 new_thread->switch_handle = NULL; in do_swap()165 arch_switch(newsh, &old_thread->switch_handle); in do_swap()
58 GEN_OFFSET_SYM(_thread_t, switch_handle);
45 switch_handle); in arch_switch()
47 switch_handle); in arch_switch()
70 switch_handle); in arch_switch()
67 thread->switch_handle = thread; in arch_new_thread()
59 thread->switch_handle = thread; in arch_new_thread()
54 size_t nsp = (size_t) new_thread->switch_handle; in arch_cohere_stacks()
69 switch_handle); in arch_switch()
147 thread->switch_handle = thread; in arch_new_thread()
854 old_thread->switch_handle = NULL; in z_get_next_switch_handle()901 old_thread->switch_handle = interrupted; in z_get_next_switch_handle()902 ret = new_thread->switch_handle; in z_get_next_switch_handle()905 new_thread->switch_handle = NULL; in z_get_next_switch_handle()912 _current->switch_handle = interrupted; in z_get_next_switch_handle()914 return _current->switch_handle; in z_get_next_switch_handle()1306 _current->switch_handle = _current; in halt_thread()
575 __ASSERT(new_thread->switch_handle != NULL, in z_setup_new_thread()
348 void *switch_handle; member
132 thread->switch_handle = init_stack(thread, (int *)stack_ptr, entry, in arch_new_thread()
124 thread->switch_handle = thread; in arch_new_thread()
135 thread->switch_handle = thread; in arch_new_thread()
200 thread->switch_handle = thread; in arch_new_thread()
158 volatile void **shp = (void *)&thread->switch_handle; in wait_for_thread_to_switch_out()
351 "switch_handle" field after its context has fully been saved.