Home
last modified time | relevance | path

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

12

/kernel/include/
A Dkthread.h40 #define z_thread_monitor_exit(thread) \ argument
60 static inline int thread_is_preemptible(struct k_thread *thread) in thread_is_preemptible()
67 static inline int thread_is_metairq(struct k_thread *thread) in thread_is_metairq()
79 static inline bool is_thread_dummy(struct k_thread *thread) in is_thread_dummy()
86 static inline bool z_is_thread_suspended(struct k_thread *thread) in z_is_thread_suspended()
91 static inline bool z_is_thread_pending(struct k_thread *thread) in z_is_thread_pending()
109 static inline bool z_is_thread_ready(struct k_thread *thread) in z_is_thread_ready()
119 static inline bool z_is_thread_queued(struct k_thread *thread) in z_is_thread_queued()
158 static inline bool z_is_thread_sleeping(struct k_thread *thread) in z_is_thread_sleeping()
197 static inline bool z_is_thread_essential(struct k_thread *thread) in z_is_thread_essential()
[all …]
A Dtimeout_q.h59 static inline k_ticks_t z_add_thread_timeout(struct k_thread *thread, k_timeout_t ticks) in z_add_thread_timeout()
64 static inline void z_abort_thread_timeout(struct k_thread *thread) in z_abort_thread_timeout()
69 static inline bool z_is_aborted_thread_timeout(struct k_thread *thread) in z_is_aborted_thread_timeout()
A Dpriority_q.h106 static ALWAYS_INLINE void z_priq_simple_add(sys_dlist_t *pq, struct k_thread *thread) in z_priq_simple_add()
120 static ALWAYS_INLINE void z_priq_simple_remove(sys_dlist_t *pq, struct k_thread *thread) in z_priq_simple_remove()
160 struct k_thread *thread = NULL; in z_priq_simple_best() local
175 struct k_thread *thread; in z_priq_simple_mask_best() local
198 static ALWAYS_INLINE void z_priq_rb_add(struct _priq_rb *pq, struct k_thread *thread) in z_priq_rb_add()
221 static ALWAYS_INLINE void z_priq_rb_remove(struct _priq_rb *pq, struct k_thread *thread) in z_priq_rb_remove()
240 struct k_thread *thread = NULL; in z_priq_rb_best() local
293 struct k_thread *thread) in z_priq_mq_add()
308 struct k_thread *thread) in z_priq_mq_remove()
A Dkernel_internal.h116 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set()
123 z_thread_return_value_set_with_data(struct k_thread *thread, in z_thread_return_value_set_with_data()
A Dksched.h141 static ALWAYS_INLINE _wait_q_t *pended_on_thread(struct k_thread *thread) in pended_on_thread()
149 static inline void unpend_thread_no_timeout(struct k_thread *thread) in unpend_thread_no_timeout()
164 struct k_thread *thread = NULL; in z_unpend_first_thread() local
331 static inline void z_sched_usage_switch(struct k_thread *thread) in z_sched_usage_switch()
A Dkswap.h53 static inline void z_sched_switch_spin(struct k_thread *thread) in z_sched_switch_spin()
197 static inline void z_sched_switch_spin(struct k_thread *thread) in z_sched_switch_spin()
/kernel/
A Dsched.c176 struct k_thread *thread = runq_best(); in next_up() local
291 struct k_thread *thread = next_up(); in update_cache() local
495 void z_impl_k_thread_resume(k_tid_t thread) in z_impl_k_thread_resume()
644 struct k_thread *thread = NULL; in z_unpend1_no_timeout() local
942 struct k_thread *thread; in z_unpend_all() local
1007 struct k_thread *thread = tid; in z_impl_k_thread_deadline_set() local
1030 struct k_thread *thread = tid; in z_vrfy_k_thread_deadline_set() local
1182 void z_impl_k_wakeup(k_tid_t thread) in z_impl_k_wakeup()
1222 struct k_thread *thread; in unpend_all() local
1458 struct k_thread *thread; in z_sched_wake() local
[all …]
A Dcpu_mask.c19 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()
A Dfloat.c11 int z_impl_k_float_disable(struct k_thread *thread) in z_impl_k_float_disable()
21 int z_impl_k_float_enable(struct k_thread *thread, unsigned int options) in z_impl_k_float_enable()
33 static inline int z_vrfy_k_float_disable(struct k_thread *thread) in z_vrfy_k_float_disable()
40 static inline int z_vrfy_k_float_enable(struct k_thread *thread, unsigned int options) in z_vrfy_k_float_enable()
A Dtimeslicing.c25 static inline int slice_time(struct k_thread *thread) in slice_time()
39 bool thread_is_sliceable(struct k_thread *thread) in thread_is_sliceable()
68 void z_reset_time_slice(struct k_thread *thread) in z_reset_time_slice()
90 void k_thread_time_slice_set(struct k_thread *thread, int32_t thread_slice_ticks, in k_thread_time_slice_set()
A Dusage.c61 static void sched_thread_update_usage(struct k_thread *thread, uint32_t cycles) in sched_thread_update_usage()
74 void z_sched_usage_start(struct k_thread *thread) in z_sched_usage_start()
173 void z_sched_thread_usage(struct k_thread *thread, in z_sched_thread_usage()
228 int k_thread_runtime_stats_enable(k_tid_t thread) in k_thread_runtime_stats_enable()
249 int k_thread_runtime_stats_disable(k_tid_t thread) in k_thread_runtime_stats_disable()
360 struct k_thread *thread; in z_thread_stats_query() local
373 struct k_thread *thread; in z_thread_stats_reset() local
418 struct k_thread *thread; in z_thread_stats_disable() local
431 struct k_thread *thread; in z_thread_stats_enable() local
A Dthread.c124 int z_impl_k_thread_priority_get(k_tid_t thread) in z_impl_k_thread_priority_get()
130 static inline int z_vrfy_k_thread_priority_get(k_tid_t thread) in z_vrfy_k_thread_priority_get()
138 int z_impl_k_thread_name_set(k_tid_t thread, const char *str) in z_impl_k_thread_name_set()
193 const char *k_thread_name_get(k_tid_t thread) in k_thread_name_get()
284 static inline int z_vrfy_k_thread_name_copy(k_tid_t thread, in z_vrfy_k_thread_name_copy()
900 const struct k_thread *thread) in z_vrfy_k_thread_timeout_remaining_ticks()
908 const struct k_thread *thread) in z_vrfy_k_thread_timeout_expires_ticks()
947 int k_thread_runtime_stats_get(k_tid_t thread, in k_thread_runtime_stats_get()
1030 void defer_thread_cleanup(struct k_thread *thread) in defer_thread_cleanup()
1062 void do_thread_cleanup(struct k_thread *thread) in do_thread_cleanup()
[all …]
A Dmem_domain.c260 k_tid_t thread) in add_thread_locked()
279 static int remove_thread_locked(struct k_thread *thread) in remove_thread_locked()
296 void z_mem_domain_init_thread(struct k_thread *thread) in z_mem_domain_init_thread()
310 void z_mem_domain_exit_thread(struct k_thread *thread) in z_mem_domain_exit_thread()
323 int k_mem_domain_add_thread(struct k_mem_domain *domain, k_tid_t thread) in k_mem_domain_add_thread()
A 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
A Dthread_monitor.c15 void z_thread_monitor_exit(struct k_thread *thread) in z_thread_monitor_exit()
43 struct k_thread *thread; in thread_foreach_helper() local
A Dsem.c98 struct k_thread *thread; in z_impl_k_sem_give() local
168 struct k_thread *thread; in z_impl_k_sem_reset() local
A Dipi.c26 atomic_val_t ipi_mask_create(struct k_thread *thread) in ipi_mask_create()
A Devents.c103 static int event_walk_op(struct k_thread *thread, void *data) in event_walk_op()
137 struct k_thread *thread; in k_event_post_internal() local
247 struct k_thread *thread; in k_event_wait_internal() local
A Duserspace.c551 static unsigned int thread_index_get(struct k_thread *thread) in thread_index_get()
641 void k_thread_perms_set(struct k_object *ko, struct k_thread *thread) in k_thread_perms_set()
650 void k_thread_perms_clear(struct k_object *ko, struct k_thread *thread) in k_thread_perms_clear()
667 void k_thread_perms_all_clear(struct k_thread *thread) in k_thread_perms_all_clear()
728 void z_impl_k_object_access_grant(const void *object, struct k_thread *thread) in z_impl_k_object_access_grant()
737 void k_object_access_revoke(const void *object, struct k_thread *thread) in k_object_access_revoke()
A Dfutex.c31 struct k_thread *thread; in z_impl_k_futex_wake() local
A Duserspace_handler.c57 struct k_thread *thread) in z_vrfy_k_object_access_grant()
A Dcondvar.c50 struct k_thread *thread = z_unpend_first_thread(&condvar->wait_q); in z_impl_k_condvar_signal() local
A Ddynamic.c105 static void dyn_cb(const struct k_thread *thread, void *user_data) in dyn_cb()
A Dqueue.c81 static void prepare_thread_to_run(struct k_thread *thread, void *data) in prepare_thread_to_run()
270 struct k_thread *thread = NULL; in k_queue_append_list() local
/kernel/paging/
A Dstatistics.c112 void z_impl_k_mem_paging_thread_stats_get(struct k_thread *thread, in z_impl_k_mem_paging_thread_stats_get()
125 void z_vrfy_k_mem_paging_thread_stats_get(struct k_thread *thread, in z_vrfy_k_mem_paging_thread_stats_get()

Completed in 45 milliseconds

12