Home
last modified time | relevance | path

Searched defs:thread (Results 26 – 50 of 255) sorted by relevance

1234567891011

/Zephyr-latest/tests/kernel/spinlock/src/
Dspinlock_fairness.c87 struct k_thread *thread = get_thread(core_id); in test_init() local
130 struct k_thread *thread = get_thread(core_id); in ZTEST() local
136 struct k_thread *thread = get_thread(core_id); in ZTEST() local
/Zephyr-latest/arch/riscv/core/
Dpmp.c321 #define PMP_M_MODE(thread) \ argument
330 #define PMP_U_MODE(thread) \ argument
478 void z_riscv_pmp_stackguard_prepare(struct k_thread *thread) in z_riscv_pmp_stackguard_prepare()
506 void z_riscv_pmp_stackguard_enable(struct k_thread *thread) in z_riscv_pmp_stackguard_enable()
572 void z_riscv_pmp_usermode_init(struct k_thread *thread) in z_riscv_pmp_usermode_init()
583 void z_riscv_pmp_usermode_prepare(struct k_thread *thread) in z_riscv_pmp_usermode_prepare()
602 static void resync_pmp_domain(struct k_thread *thread, in resync_pmp_domain()
647 void z_riscv_pmp_usermode_enable(struct k_thread *thread) in z_riscv_pmp_usermode_enable()
733 int arch_mem_domain_thread_add(struct k_thread *thread) in arch_mem_domain_thread_add()
740 int arch_mem_domain_thread_remove(struct k_thread *thread) in arch_mem_domain_thread_remove()
Dfpu.c133 static void flush_owned_fpu(struct k_thread *thread) in flush_owned_fpu()
322 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
342 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
Dthread.c21 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
207 int arch_thread_priv_stack_space_get(const struct k_thread *thread, size_t *stack_size, in arch_thread_priv_stack_space_get()
/Zephyr-latest/kernel/
Dfatal.c49 static const char *thread_name_get(struct k_thread *thread) in thread_name_get()
92 struct k_thread *thread = IS_ENABLED(CONFIG_MULTITHREADING) ? in z_fatal_error() local
/Zephyr-latest/arch/arm/core/cortex_m/
Dthread_abort.c26 void z_impl_k_thread_abort(k_tid_t thread) in z_impl_k_thread_abort()
/Zephyr-latest/kernel/include/
Dkernel_internal.h119 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
126 z_thread_return_value_set_with_data(struct k_thread *thread, in z_thread_return_value_set_with_data()
Dksched.h151 static ALWAYS_INLINE _wait_q_t *pended_on_thread(struct k_thread *thread) in pended_on_thread()
159 static inline void unpend_thread_no_timeout(struct k_thread *thread) in unpend_thread_no_timeout()
174 struct k_thread *thread = NULL; in z_unpend_first_thread() local
341 static inline void z_sched_usage_switch(struct k_thread *thread) in z_sched_usage_switch()
Dkswap.h53 static inline void z_sched_switch_spin(struct k_thread *thread) in z_sched_switch_spin()
198 static inline void z_sched_switch_spin(struct k_thread *thread) in z_sched_switch_spin()
/Zephyr-latest/include/zephyr/sys/
Dkobject.h152 #define K_THREAD_ACCESS_GRANT(thread, ...) argument
158 struct k_thread *thread) in z_impl_k_object_access_grant()
168 struct k_thread *thread) in k_object_access_revoke()
/Zephyr-latest/arch/arm64/core/
Dthread.c79 static bool is_user(struct k_thread *thread) in is_user()
85 void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack, in arch_new_thread()
Dfpu.c95 static void flush_owned_fpu(struct k_thread *thread) in flush_owned_fpu()
328 int arch_float_disable(struct k_thread *thread) in arch_float_disable()
347 int arch_float_enable(struct k_thread *thread, unsigned int options) in arch_float_enable()
/Zephyr-latest/include/zephyr/tracing/
Dtracking.h57 #define sys_port_track_k_thread_start(thread) argument
59 #define sys_port_track_k_thread_sched_ready(thread) argument
60 #define sys_port_track_k_thread_wakeup(thread) argument
61 #define sys_port_track_k_thread_sched_priority_set(thread, prio) argument
81 #define sys_port_track_k_thread_name_set(thread, ret) argument
119 #define sys_port_track_k_thread_start(thread) argument
121 #define sys_port_track_k_thread_sched_ready(thread) argument
122 #define sys_port_track_k_thread_wakeup(thread) argument
123 #define sys_port_track_k_thread_sched_priority_set(thread, prio) argument
138 #define sys_port_track_k_thread_name_set(thread, ret) argument
/Zephyr-latest/arch/x86/core/ia32/
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-latest/subsys/shell/modules/kernel_service/thread/
Dlist.c14 static void rt_stats_dump(const struct shell *sh, struct k_thread *thread) in rt_stats_dump()
64 struct k_thread *thread = (struct k_thread *)cthread; in shell_tdata_dump() local
Dpin.c17 struct k_thread *thread; in cmd_kernel_thread_pin() local
/Zephyr-latest/arch/x86/core/
Duserspace.c71 void *z_x86_userspace_prepare_thread(struct k_thread *thread) in z_x86_userspace_prepare_thread()
189 int arch_thread_priv_stack_space_get(const struct k_thread *thread, size_t *stack_size, in arch_thread_priv_stack_space_get()
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_thread.c13 static inline int _is_thread_cmsis_inactive(struct k_thread *thread) in _is_thread_cmsis_inactive()
42 void thread_abort_hook(struct k_thread *thread) in thread_abort_hook()
154 k_tid_t thread = (k_tid_t)thread_id; in osThreadGetPriority() local
/Zephyr-latest/modules/lvgl/
Dlvgl_zephyr_osal.c16 lv_result_t lv_thread_init(lv_thread_t *thread, const char *const name, lv_thread_prio_t prio, in lv_thread_init()
37 lv_result_t lv_thread_delete(lv_thread_t *thread) in lv_thread_delete()
146 void thread_entry(void *thread, void *cb, void *user_data) in thread_entry()
/Zephyr-latest/arch/x86/include/ia32/
Dkernel_arch_func.h31 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
/Zephyr-latest/include/zephyr/debug/
Dstack.h19 static inline void log_stack_usage(const struct k_thread *thread) in log_stack_usage()
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_core.c41 __weak void arch_coredump_priv_stack_dump(struct k_thread *thread) in arch_coredump_priv_stack_dump()
71 static void dump_thread(struct k_thread *thread) in dump_thread()
168 struct k_thread *thread) in coredump()
/Zephyr-latest/arch/posix/include/
Dkernel_arch_func.h31 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
/Zephyr-latest/arch/mips/include/
Dkernel_arch_func.h37 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
/Zephyr-latest/arch/arc/core/mpu/
Darc_core_mpu.c20 void configure_mpu_thread(struct k_thread *thread) in configure_mpu_thread()

1234567891011