/Zephyr-Core-3.6.0/arch/posix/core/ |
D | thread.c | 49 thread_status->thread_idx = posix_new_thread((void *)thread_status); in arch_new_thread() 63 int thread_idx; in z_impl_k_thread_abort() local 69 thread_idx = tstatus->thread_idx; in z_impl_k_thread_abort() 81 thread_idx); in z_impl_k_thread_abort() 83 posix_abort_thread(thread_idx); in z_impl_k_thread_abort() 91 posix_arch_get_unique_thread_id(thread_idx), in z_impl_k_thread_abort() 92 thread_idx); in z_impl_k_thread_abort() 95 posix_abort_thread(thread_idx); in z_impl_k_thread_abort() 100 posix_arch_get_unique_thread_id(thread_idx), in z_impl_k_thread_abort() 101 thread_idx); in z_impl_k_thread_abort()
|
D | posix_core.c | 236 ptr->thread_idx, in posix_cleanup_handler() 255 int thread_idx = (intptr_t)arg; in posix_thread_starter() local 258 threads_table[thread_idx].thead_cnt, in posix_thread_starter() 259 thread_idx, in posix_thread_starter() 281 threads_table[thread_idx].thead_cnt, in posix_thread_starter() 282 thread_idx, in posix_thread_starter() 289 posix_wait_until_allowed(thread_idx); in posix_thread_starter() 291 posix_thread_status_t *ptr = threads_table[thread_idx].t_status; in posix_thread_starter() 301 threads_table[thread_idx].thead_cnt, in posix_thread_starter() 302 thread_idx, in posix_thread_starter() [all …]
|
D | posix_core_nsi.c | 51 void posix_abort_thread(int thread_idx) in posix_abort_thread() argument 53 nct_abort_thread(te_state, thread_idx); in posix_abort_thread() 56 int posix_arch_get_unique_thread_id(int thread_idx) in posix_arch_get_unique_thread_id() argument 58 return nct_get_unique_thread_id(te_state, thread_idx); in posix_arch_get_unique_thread_id()
|
D | swap.c | 64 posix_swap(ready_thread_ptr->thread_idx, in arch_swap() 65 this_thread_ptr->thread_idx); in arch_swap() 103 posix_main_thread_start(ready_thread_ptr->thread_idx); in arch_switch_to_main_thread()
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/ |
D | nct.c | 95 int thread_idx; /* Index of this element in the threads_table*/ member 308 element->thread_idx, in nct_cleanup_handler() 328 int thread_idx = tt_el->thread_idx; in nct_thread_starter() local 332 thread_idx, in nct_thread_starter() 355 thread_idx, in nct_thread_starter() 362 nct_wait_until_allowed(this, thread_idx); in nct_thread_starter() 373 thread_idx, in nct_thread_starter() 472 tt_el->thread_idx = t_slot; in nct_new_thread() 605 void nct_abort_thread(void *this_arg, int thread_idx) in nct_abort_thread() argument 608 struct threads_table_el *tt_el = ttable_get_element(this, thread_idx); in nct_abort_thread() [all …]
|
/Zephyr-Core-3.6.0/arch/posix/include/ |
D | posix_core.h | 22 int thread_idx; member 48 void posix_abort_thread(int thread_idx); 49 int posix_arch_get_unique_thread_id(int thread_idx);
|
/Zephyr-Core-3.6.0/tests/kernel/sched/schedule_api/src/ |
D | test_sched_timeslice_reset.c | 37 static int thread_idx; variable 57 if (thread_idx == 0) { in thread_time_slice() 85 thread_idx, t, expected_slice_min, expected_slice_max); in thread_time_slice() 92 thread_idx = (thread_idx + 1) % NUM_THREAD; in thread_time_slice() 134 thread_idx = 0; in ZTEST()
|
D | test_priority_scheduling.c | 30 static int thread_idx; variable 46 zassert_true((idx == thread_idx)); in thread_tslice() 47 thread_idx = (thread_idx + 1) % (NUM_THREAD); in thread_tslice()
|
D | test_slice_scheduling.c | 37 static int thread_idx; variable 66 (idx == thread_idx)), NULL); in thread_tslice() 67 thread_idx = (thread_idx + 1) % (NUM_THREAD); in thread_tslice() 96 thread_idx = 0; in ZTEST()
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/include/ |
D | nct_if.h | 26 void nct_abort_thread(void *this, int thread_idx); 27 int nct_get_unique_thread_id(void *this, int thread_idx);
|
/Zephyr-Core-3.6.0/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 79 int thread_idx; member 306 iterator_ctx->thread_idx, thread) && in os_mgmt_taskstat_encode_one() 310 zcbor_uint32_put(iterator_ctx->zse, iterator_ctx->thread_idx) && in os_mgmt_taskstat_encode_one() 318 ++iterator_ctx->thread_idx; in os_mgmt_taskstat_encode_one() 330 .thread_idx = 0, in os_mgmt_taskstat_read()
|