Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 142) sorted by relevance

123456

/Zephyr-Core-2.7.6/kernel/
Dsched.c54 static inline int is_preempt(struct k_thread *thread) in is_preempt()
60 static inline int is_metairq(struct k_thread *thread) in is_metairq()
71 static inline bool is_thread_dummy(struct k_thread *thread) in is_thread_dummy()
119 static ALWAYS_INLINE bool should_preempt(struct k_thread *thread, in should_preempt()
162 struct k_thread *thread; in _priq_dumb_mask_best() local
173 ALWAYS_INLINE void z_priq_dumb_add(sys_dlist_t *pq, struct k_thread *thread) in z_priq_dumb_add()
199 struct k_thread *thread) in queue_thread()
214 struct k_thread *thread) in dequeue_thread()
257 static inline bool is_aborting(struct k_thread *thread) in is_aborting()
264 struct k_thread *thread; in next_up() local
[all …]
Dthread.c52 struct k_thread *thread; in k_thread_foreach() local
80 struct k_thread *thread; in k_thread_foreach_unlocked() local
168 void z_thread_monitor_exit(struct k_thread *thread) in z_thread_monitor_exit()
191 int z_impl_k_thread_name_set(struct k_thread *thread, const char *value) in z_impl_k_thread_name_set()
215 static inline int z_vrfy_k_thread_name_set(struct k_thread *thread, const char *str) in z_vrfy_k_thread_name_set()
242 const char *k_thread_name_get(struct k_thread *thread) in k_thread_name_get()
252 int z_impl_k_thread_name_copy(k_tid_t thread, char *buf, size_t size) in z_impl_k_thread_name_copy()
294 static inline int z_vrfy_k_thread_name_copy(k_tid_t thread, in z_vrfy_k_thread_name_copy()
362 void z_impl_k_thread_start(struct k_thread *thread) in z_impl_k_thread_start()
370 static inline void z_vrfy_k_thread_start(struct k_thread *thread) in z_vrfy_k_thread_start()
[all …]
Dmem_domain.c213 k_tid_t thread) in add_thread_locked()
228 static void remove_thread_locked(struct k_thread *thread) in remove_thread_locked()
241 void z_mem_domain_init_thread(struct k_thread *thread) in z_mem_domain_init_thread()
251 void z_mem_domain_exit_thread(struct k_thread *thread) in z_mem_domain_exit_thread()
258 void k_mem_domain_add_thread(struct k_mem_domain *domain, k_tid_t thread) in k_mem_domain_add_thread()
Dfatal.c49 static const char *thread_name_get(struct k_thread *thread) in thread_name_get()
101 struct k_thread *thread = IS_ENABLED(CONFIG_MULTITHREADING) ? in z_fatal_error() local
/Zephyr-Core-2.7.6/kernel/include/
Dksched.h83 static inline bool z_is_idle_thread_object(struct k_thread *thread) in z_is_idle_thread_object()
96 static inline bool z_is_thread_suspended(struct k_thread *thread) in z_is_thread_suspended()
101 static inline bool z_is_thread_pending(struct k_thread *thread) in z_is_thread_pending()
106 static inline bool z_is_thread_prevented_from_running(struct k_thread *thread) in z_is_thread_prevented_from_running()
115 static inline bool z_is_thread_timeout_active(struct k_thread *thread) in z_is_thread_timeout_active()
120 static inline bool z_is_thread_ready(struct k_thread *thread) in z_is_thread_ready()
126 static inline bool z_has_thread_started(struct k_thread *thread) in z_has_thread_started()
131 static inline bool z_is_thread_state_set(struct k_thread *thread, uint32_t state) in z_is_thread_state_set()
136 static inline bool z_is_thread_queued(struct k_thread *thread) in z_is_thread_queued()
141 static inline void z_mark_thread_as_suspended(struct k_thread *thread) in z_mark_thread_as_suspended()
[all …]
Dkernel_internal.h114 #define z_thread_monitor_exit(thread) \ argument
124 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
131 z_thread_return_value_set_with_data(struct k_thread *thread, in z_thread_return_value_set_with_data()
/Zephyr-Core-2.7.6/subsys/tracing/test/
Dtracing_string_format_test.c13 struct k_thread *thread; in sys_trace_k_thread_switched_out() local
21 struct k_thread *thread; in sys_trace_k_thread_switched_in() local
27 void sys_trace_k_thread_priority_set(struct k_thread *thread) in sys_trace_k_thread_priority_set()
32 void sys_trace_k_thread_create(struct k_thread *thread, size_t stack_size, in sys_trace_k_thread_create()
38 void sys_trace_k_thread_start(struct k_thread *thread) in sys_trace_k_thread_start()
43 void sys_trace_k_thread_abort(struct k_thread *thread) in sys_trace_k_thread_abort()
48 void sys_trace_k_thread_suspend(struct k_thread *thread) in sys_trace_k_thread_suspend()
53 void sys_trace_k_thread_resume(struct k_thread *thread) in sys_trace_k_thread_resume()
58 void sys_trace_k_thread_ready(struct k_thread *thread) in sys_trace_k_thread_ready()
63 void sys_trace_k_thread_sched_ready(struct k_thread *thread) in sys_trace_k_thread_sched_ready()
[all …]
/Zephyr-Core-2.7.6/subsys/tracing/ctf/
Dctf_top.c13 static void _get_thread_name(struct k_thread *thread, in _get_thread_name()
28 struct k_thread *thread; in sys_trace_k_thread_switched_out() local
38 struct k_thread *thread; in sys_trace_k_thread_switched_in() local
47 void sys_trace_k_thread_priority_set(struct k_thread *thread) in sys_trace_k_thread_priority_set()
56 void sys_trace_k_thread_create(struct k_thread *thread, size_t stack_size, int prio) in sys_trace_k_thread_create()
77 void sys_trace_k_thread_abort(struct k_thread *thread) in sys_trace_k_thread_abort()
85 void sys_trace_k_thread_suspend(struct k_thread *thread) in sys_trace_k_thread_suspend()
93 void sys_trace_k_thread_resume(struct k_thread *thread) in sys_trace_k_thread_resume()
102 void sys_trace_k_thread_ready(struct k_thread *thread) in sys_trace_k_thread_ready()
111 void sys_trace_k_thread_start(struct k_thread *thread) in sys_trace_k_thread_start()
[all …]
/Zephyr-Core-2.7.6/arch/x86/core/ia32/
Dfloat.c146 static void FpCtxSave(struct k_thread *thread) in FpCtxSave()
163 static inline void FpCtxInit(struct k_thread *thread) in FpCtxInit()
182 void z_float_enable(struct k_thread *thread, unsigned int options) in z_float_enable()
281 int z_float_disable(struct k_thread *thread) in z_float_disable()
Dtls.c13 void z_x86_tls_update_gdt(struct k_thread *thread) in z_x86_tls_update_gdt()
Dthread.c54 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
65 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
75 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
/Zephyr-Core-2.7.6/arch/arc/core/
Dthread.c42 static bool is_user(struct k_thread *thread) in is_user()
49 static void setup_stack_vars(struct k_thread *thread) in setup_stack_vars()
89 static struct init_stack_frame *get_iframe(struct k_thread *thread, in get_iframe()
117 static inline void arch_setup_callee_saved_regs(struct k_thread *thread, in arch_setup_callee_saved_regs()
140 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
223 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
240 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/
Dthread.c56 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
141 static inline void z_arm_thread_stack_info_adjust(struct k_thread *thread, in z_arm_thread_stack_info_adjust()
194 uint32_t z_arm_mpu_stack_guard_and_fpu_adjust(struct k_thread *thread) in z_arm_mpu_stack_guard_and_fpu_adjust()
294 void configure_builtin_stack_guard(struct k_thread *thread) in configure_builtin_stack_guard()
381 const struct k_thread *thread = _current; in z_check_thread_stack_fail() local
452 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
484 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-Core-2.7.6/arch/x86/core/intel64/
Dthread.c28 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
65 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
71 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-Core-2.7.6/samples/subsys/tracing/src/
Dtracing_user.c9 void sys_trace_thread_switched_in_user(struct k_thread *thread) in sys_trace_thread_switched_in_user()
14 void sys_trace_thread_switched_out_user(struct k_thread *thread) in sys_trace_thread_switched_out_user()
/Zephyr-Core-2.7.6/subsys/tracing/sysview/
Dsysview_config.c20 static void set_thread_name(char *name, struct k_thread *thread) in set_thread_name()
33 void sys_trace_thread_info(struct k_thread *thread) in sys_trace_thread_info()
60 struct k_thread *thread; in send_task_list_cb() local
/Zephyr-Core-2.7.6/include/
Dtimeout_q.h47 static inline void z_add_thread_timeout(struct k_thread *thread, k_timeout_t ticks) in z_add_thread_timeout()
52 static inline int z_abort_thread_timeout(struct k_thread *thread) in z_abort_thread_timeout()
/Zephyr-Core-2.7.6/arch/riscv/core/pmp/
Dcore_pmp.c228 void z_riscv_init_user_accesses(struct k_thread *thread) in z_riscv_init_user_accesses()
274 void z_riscv_configure_user_allowed_stack(struct k_thread *thread) in z_riscv_configure_user_allowed_stack()
287 void z_riscv_pmp_add_dynamic(struct k_thread *thread, in z_riscv_pmp_add_dynamic()
336 struct k_thread *thread = _current; in arch_buffer_validate() local
423 struct k_thread *thread; in arch_mem_domain_partition_remove() local
488 void arch_mem_domain_thread_add(struct k_thread *thread) in arch_mem_domain_thread_add()
510 struct k_thread *thread; in arch_mem_domain_partition_add() local
523 void arch_mem_domain_thread_remove(struct k_thread *thread) in arch_mem_domain_thread_remove()
539 void z_riscv_init_stack_guard(struct k_thread *thread) in z_riscv_init_stack_guard()
588 void z_riscv_configure_stack_guard(struct k_thread *thread) in z_riscv_configure_stack_guard()
[all …]
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/cortex_m/
Dthread_abort.c27 void z_impl_k_thread_abort(k_tid_t thread) in z_impl_k_thread_abort()
/Zephyr-Core-2.7.6/arch/sparc/core/
Dthread.c36 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
77 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
82 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-Core-2.7.6/arch/riscv/core/
Dthread.c29 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
129 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
161 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread.c139 struct posix_thread *thread; in pthread_create() local
234 struct posix_thread *thread = (struct posix_thread *) pthread; in pthread_cancel() local
271 k_tid_t thread = (k_tid_t)pthread; in pthread_setschedparam() local
317 struct posix_thread *thread = (struct posix_thread *) pthread; in pthread_getschedparam() local
401 int pthread_join(pthread_t thread, void **status) in pthread_join()
439 int pthread_detach(pthread_t thread) in pthread_detach()
605 int pthread_setname_np(pthread_t thread, const char *name) in pthread_setname_np()
626 int pthread_getname_np(pthread_t thread, char *name, size_t len) in pthread_getname_np()
/Zephyr-Core-2.7.6/arch/arm64/core/
Dthread.c63 static bool is_user(struct k_thread *thread) in is_user()
69 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
Dfpu.c92 static void flush_owned_fpu(struct k_thread *thread) in flush_owned_fpu()
302 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
321 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v1/
Dcmsis_thread.c13 static inline int _is_thread_cmsis_inactive(struct k_thread *thread) in _is_thread_cmsis_inactive()
40 void z_thread_cmsis_status_mask_clear(struct k_thread *thread) in z_thread_cmsis_status_mask_clear()
142 k_tid_t thread = (k_tid_t)thread_id; in osThreadGetPriority() local

123456