/lk-master/kernel/include/kernel/ |
A D | thread.h | 113 } thread_t; typedef 153 thread_t *thread_create_etc(thread_t *t, const char *name, thread_start_routine entry, void *arg, i… 154 status_t thread_resume(thread_t *); 157 status_t thread_detach(thread_t *t); 159 status_t thread_detach_and_resume(thread_t *t); 160 status_t thread_set_real_time(thread_t *t); 162 void dump_thread(thread_t *t); 163 void arch_dump_thread(thread_t *t); 174 void uthread_context_switch(thread_t *oldthread, thread_t *newthread); 182 static inline thread_t *get_current_thread(void) { in get_current_thread() [all …]
|
A D | mutex.h | 22 thread_t *holder;
|
/lk-master/kernel/ |
A D | thread.c | 64 static thread_t _idle_thread; 112 memset(t, 0, sizeof(thread_t)); in init_thread_struct() 431 thread_t *newthread; in get_top_thread() 469 thread_t *oldthread; in thread_resched() 470 thread_t *newthread; in thread_resched() 721 thread_t *t = (thread_t *)arg; in thread_sleep_handler() 960 void dump_thread(thread_t *t) { in dump_thread() 992 thread_t *t; in dump_all_threads_unlocked() 1024 thread_t *thread = (thread_t *)arg; in wait_queue_timeout_handler() 1108 thread_t *t; in wait_queue_wake_one() [all …]
|
/lk-master/arch/x86/ |
A D | thread.c | 36 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 79 void arch_dump_thread(thread_t *t) { in arch_dump_thread() 88 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 136 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch()
|
A D | fpu.c | 57 static thread_t *fp_owner; 133 void fpu_init_thread_states(thread_t *t) { in fpu_init_thread_states() 138 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread) { in fpu_context_switch() 151 thread_t *self; in fpu_dev_na_handler()
|
A D | arch.c | 71 thread_t *ct = get_current_thread(); in arch_enter_uspace()
|
/lk-master/arch/mips/ |
A D | thread.c | 22 thread_t *ct = get_current_thread(); in initial_thread_func() 40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 50 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 56 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
/lk-master/arch/m68k/ |
A D | thread.c | 22 thread_t *ct = get_current_thread(); in initial_thread_func() 40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 50 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 56 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
/lk-master/arch/arm/arm/ |
A D | thread.c | 41 thread_t *ct = get_current_thread(); in initial_thread_func() 49 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 71 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 80 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
A D | fpu.c | 43 thread_t *t = get_current_thread(); in arm_fpu_undefined_instruction()
|
/lk-master/arch/or1k/ |
A D | thread.c | 23 thread_t *ct = get_current_thread(); in initial_thread_func() 41 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 55 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 61 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
/lk-master/arch/riscv/ |
A D | thread.c | 25 thread_t *ct = get_current_thread(); in initial_thread_func() 43 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 56 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 64 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
/lk-master/arch/microblaze/ |
A D | thread.c | 22 thread_t *ct = get_current_thread(); in initial_thread_func() 40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 59 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 65 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
/lk-master/arch/x86/include/arch/ |
A D | fpu.h | 28 void fpu_init_thread_states(thread_t *t); 29 void fpu_context_switch(thread_t *old_thread, thread_t *new_thread);
|
/lk-master/arch/arm64/ |
A D | thread.c | 43 thread_t *current_thread = get_current_thread(); in initial_thread_func() 58 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() 76 void arch_context_switch(thread_t *oldthread, thread_t *newthread) { in arch_context_switch() 85 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
A D | fpu.c | 84 thread_t *t = get_current_thread(); in arm64_fpu_exception()
|
A D | arch.c | 108 thread_t *ct = get_current_thread(); in arch_enter_uspace()
|
/lk-master/arch/arm/arm-m/ |
A D | thread.c | 96 thread_t *_current_thread; 259 :: [sp_off] "i"(offsetof(thread_t, arch.sp)) in _half_save_and_svc() 261 ,[fp_off] "i"(offsetof(thread_t, arch.fpregs)) in _half_save_and_svc() 326 :: [sp_off] "i"(offsetof(thread_t, arch.sp)) in _arch_non_preempt_context_switch() 328 , [fp_off] "i"(offsetof(thread_t, arch.fpregs)) in _arch_non_preempt_context_switch() 512 void arch_dump_thread(thread_t *t) { in arch_dump_thread()
|
/lk-master/top/ |
A D | main.c | 38 static thread_t *secondary_bootstrap_threads[SMP_MAX_CPUS - 1]; 106 …thread_t *t = thread_create("bootstrap2", &bootstrap2, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE); in lk_main() 172 thread_t *t = thread_create("secondarybootstrap2", in lk_init_secondary_cpus()
|
/lk-master/app/tests/ |
A D | fibo.c | 21 thread_t *t[2]; in fibo_thread() 64 …thread_t *t = thread_create("fibo", &fibo_thread, (void *)(uintptr_t)argv[1].u, DEFAULT_PRIORITY, … in fibo()
|
A D | thread_tests.c | 176 thread_t *threads[5]; in mutex_test() 256 thread_t *threads[5]; in event_test() 399 thread_t *threads[8]; in atomic_test() 459 …thread_t *t = thread_create("preempt tester", &preempt_tester, NULL, LOW_PRIORITY, DEFAULT_STACK_S… in preempt_test() 484 thread_t *t; in join_tester_server() 530 thread_t *t; in join_test() 615 thread_t *t = thread_create("spinner", spinner_thread, NULL, argv[1].u, DEFAULT_STACK_SIZE); in spinner()
|
A D | port_tests.c | 287 thread_t *t1 = thread_create( in two_threads_basic() 289 thread_t *t2 = thread_create( in two_threads_basic() 500 thread_t *wt = thread_create( in group_basic() 677 thread_t *t1 = thread_create( in group_waiting()
|
A D | float.c | 77 thread_t *t[8]; in float_tests()
|
/lk-master/external/lib/lwip/include/arch/ |
A D | sys_arch.h | 28 typedef thread_t * sys_thread_t;
|
/lk-master/app/ |
A D | app.c | 51 …thread_t *t = thread_create(app->name, &app_thread_entry, (void *)app, DEFAULT_PRIORITY, stack_siz… in start_app()
|