/Zephyr-latest/kernel/ |
D | cpu_mask.c | 19 static int cpu_mask_mod(k_tid_t thread, uint32_t enable_mask, uint32_t disable_mask) in cpu_mask_mod() 47 int k_thread_cpu_mask_clear(k_tid_t thread) in k_thread_cpu_mask_clear() 52 int k_thread_cpu_mask_enable_all(k_tid_t thread) in k_thread_cpu_mask_enable_all() 57 int k_thread_cpu_mask_enable(k_tid_t thread, int cpu) in k_thread_cpu_mask_enable() 62 int k_thread_cpu_mask_disable(k_tid_t thread, int cpu) in k_thread_cpu_mask_disable() 67 int k_thread_cpu_pin(k_tid_t thread, int cpu) in k_thread_cpu_pin()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_thread.c | 73 k_tid_t tid; in osThreadCreate() 154 k_tid_t thread = (k_tid_t)thread_id; in osThreadGetPriority() 182 if (_is_thread_cmsis_inactive((k_tid_t)thread_id)) { in osThreadSetPriority() 186 k_thread_priority_set((k_tid_t)thread_id, in osThreadSetPriority() 205 if (_is_thread_cmsis_inactive((k_tid_t)thread_id)) { in osThreadTerminate() 209 k_thread_abort((k_tid_t)thread_id); in osThreadTerminate()
|
/Zephyr-latest/tests/benchmarks/footprints/src/ |
D | system_thread.c | 62 k_tid_t yield0_tid; in run_thread_system() 63 k_tid_t yield1_tid; in run_thread_system() 65 k_tid_t my_tid = k_thread_create(&my_thread, my_stack_area, in run_thread_system() 81 k_tid_t sus_res_tid = k_thread_create(&my_thread, my_stack_area, in run_thread_system()
|
/Zephyr-latest/tests/kernel/sched/schedule_api/src/ |
D | user_api.c | 34 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, sleepy_thread, in ZTEST_USER() 69 k_tid_t tid = k_thread_create(&user_thread, ustack, in ZTEST_USER() 122 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER() 163 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER() 204 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER() 245 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER() 287 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER() 331 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER() 372 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
|
D | test_sched_priority.c | 58 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 93 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 126 k_tid_t tid[THREAD_NUM]; in ZTEST()
|
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/ |
D | main.c | 53 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 91 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 129 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 167 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 205 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 242 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 279 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 319 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztest_error_hook.c | 15 ZTEST_BMEM volatile k_tid_t valid_fault_tid; 51 k_tid_t curr_tid = k_current_get(); in k_sys_fatal_error_handler() 77 ZTEST_BMEM volatile k_tid_t valid_assert_tid;
|
/Zephyr-latest/tests/kernel/threads/thread_apis/src/ |
D | test_threads_suspend_resume.c | 27 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in threads_suspend_resume() 96 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 133 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 161 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
|
D | test_threads_cancel_abort.c | 66 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 95 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 140 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 255 k_tid_t tid; in ZTEST()
|
D | test_threads_spawn.c | 116 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 142 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 169 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
|
D | main.c | 87 k_tid_t tid = k_thread_create(&tdata_custom, tstack_custom, STACK_SIZE, in ZTEST() 122 k_tid_t tid = k_thread_create(&tdata_name, tstack_name, STACK_SIZE, in ZTEST() 195 k_tid_t tid = k_thread_create(&tdata_name, tstack_name, STACK_SIZE, in ZTEST_USER() 220 k_tid_t tid = k_thread_create(&tdata_custom, tstack_custom, STACK_SIZE, in ZTEST_USER() 236 (k_current_get() == (k_tid_t)thread_id)) { in umode_entry() 263 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 487 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER() 516 if (z_is_idle_thread_object((k_tid_t)thread)) { in foreach_callback() 523 ret = k_thread_runtime_stats_get((k_tid_t)thread, NULL); in foreach_callback() 526 k_thread_runtime_stats_get((k_tid_t)thread, &stats); in foreach_callback() [all …]
|
D | test_kthread_for_each.c | 20 static k_tid_t in_callback_tid; 104 k_tid_t tid = k_thread_create(&tdata, tstack, in ZTEST() 153 k_tid_t tid = k_thread_create(&tdata, tstack, in ZTEST() 227 k_tid_t tid = &tdata1; in ZTEST()
|
D | test_essential_thread.c | 54 k_tid_t tid = k_thread_create(&kthread_thread, kthread_stack, in ZTEST() 105 k_tid_t tid = k_thread_create(&kthread_thread1, kthread_stack, STACKSIZE, in ZTEST()
|
/Zephyr-latest/tests/kernel/pipe/pipe_api/src/ |
D | test_pipe_contexts.c | 92 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in tpipe_thread_thread() 110 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in tpipe_kthread_to_kthread() 227 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 365 k_tid_t tid1 = k_thread_create(&tdata1, tstack1, STACK_SIZE, in ZTEST() 370 k_tid_t tid2 = k_thread_create(&tdata2, tstack2, STACK_SIZE, in ZTEST() 396 k_tid_t tid1 = k_thread_create(&tdata1, tstack1, STACK_SIZE, in ZTEST() 401 k_tid_t tid2 = k_thread_create(&tdata2, tstack2, STACK_SIZE, in ZTEST() 417 k_tid_t tid1 = k_thread_create(&tdata1, tstack1, STACK_SIZE, in ZTEST() 422 k_tid_t tid2 = k_thread_create(&tdata2, tstack2, STACK_SIZE, in ZTEST() 442 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
|
/Zephyr-latest/samples/subsys/llext/edk/app/src/ |
D | main.c | 50 extern k_tid_t start_subscriber_thread(void); 65 k_tid_t thread; 122 k_tid_t subscriber_thread_id, in run_extension_on_thread() 152 k_tid_t subscriber_thread_id = start_subscriber_thread(); in main()
|
D | pubsub.c | 34 k_tid_t thread; 47 static int remove_subscriber(k_tid_t thread, struct subs *sus) in remove_subscriber() 72 static int add_subscriber(k_tid_t thread, struct subs *sus, in add_subscriber() 116 k_tid_t start_subscriber_thread(void) in start_subscriber_thread()
|
/Zephyr-latest/tests/kernel/sched/preempt/src/ |
D | main.c | 53 k_tid_t last_wakeup_thread; 86 volatile k_tid_t src_thread = &worker_threads[id]; in wakeup_src_thread() 105 k_tid_t th = &worker_threads[i]; in wakeup_src_thread() 165 void validate_wakeup(int src, int target, k_tid_t last_thread) in validate_wakeup() 233 k_tid_t curr = &worker_threads[id], prev; in worker()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 409 __syscall k_tid_t k_thread_create(struct k_thread *new_thread, 636 __syscall void k_wakeup(k_tid_t thread); 652 __syscall k_tid_t k_sched_current_thread_query(void); 661 static inline k_tid_t k_current_get(void) in k_current_get() 666 extern Z_THREAD_LOCAL k_tid_t z_tls_current; in k_current_get() 693 __syscall void k_thread_abort(k_tid_t thread); 793 const k_tid_t name = (k_tid_t)&_k_thread_obj_##name 883 __syscall int k_thread_priority_get(k_tid_t thread); 910 __syscall void k_thread_priority_set(k_tid_t thread, int prio); 946 __syscall void k_thread_deadline_set(k_tid_t thread, int deadline); [all …]
|
/Zephyr-latest/tests/integration/kernel/src/ |
D | main.c | 73 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 141 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 217 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 280 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 285 k_tid_t tid2 = k_thread_create(&tdata_2, tstack_2, STACK_SIZE, in ZTEST()
|
/Zephyr-latest/tests/lib/newlib/thread_safety/src/ |
D | locks.c | 117 k_tid_t tid; in ZTEST() 196 k_tid_t tid; in ZTEST() 266 k_tid_t tid; in ZTEST() 336 k_tid_t tid; in ZTEST() 406 k_tid_t tid; in ZTEST()
|
/Zephyr-latest/tests/kernel/mbox/mbox_usage/src/ |
D | main.c | 22 static k_tid_t tid1, receiver_tid; 54 static void msg_receiver(struct k_mbox *pmbox, k_tid_t thd_id, in msg_receiver() 96 static k_tid_t tid; in ZTEST() 165 static k_tid_t low_prio, high_prio; in ZTEST()
|
/Zephyr-latest/modules/lvgl/include/ |
D | lvgl_zephyr_osal.h | 17 k_tid_t tid;
|
/Zephyr-latest/arch/arm/core/cortex_m/ |
D | thread_abort.c | 26 void z_impl_k_thread_abort(k_tid_t thread) in z_impl_k_thread_abort()
|
/Zephyr-latest/tests/kernel/context/src/ |
D | main.c | 616 k_tid_t self_thread_id; in ZTEST() 661 static void _test_kernel_thread(k_tid_t _thread_id) in _test_kernel_thread() 663 k_tid_t self_thread_id; in _test_kernel_thread() 705 k_tid_t self_thread_id; in thread_helper() 737 k_tid_t self_thread_id; in k_yield_entry() 805 _test_kernel_thread((k_tid_t) _thread_id); in kernel_thread_entry() 995 k_tid_t delayed_threads[NUM_TIMEOUT_THREADS]; in ZTEST() 998 k_tid_t id; in ZTEST()
|
/Zephyr-latest/tests/kernel/fifo/fifo_usage/src/ |
D | main.c | 157 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 188 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST() 220 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
|