/kernel/include/ |
A D | kthread.h | 40 #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 D | timeout_q.h | 59 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 D | priority_q.h | 106 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 D | kernel_internal.h | 116 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 D | ksched.h | 141 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 D | kswap.h | 53 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 D | sched.c | 176 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 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()
|
A D | float.c | 11 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 D | timeslicing.c | 25 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 D | usage.c | 61 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 D | thread.c | 124 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 D | mem_domain.c | 260 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 D | fatal.c | 49 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 D | thread_monitor.c | 15 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 D | sem.c | 98 struct k_thread *thread; in z_impl_k_sem_give() local 168 struct k_thread *thread; in z_impl_k_sem_reset() local
|
A D | ipi.c | 26 atomic_val_t ipi_mask_create(struct k_thread *thread) in ipi_mask_create()
|
A D | events.c | 103 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 D | userspace.c | 551 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 D | futex.c | 31 struct k_thread *thread; in z_impl_k_futex_wake() local
|
A D | userspace_handler.c | 57 struct k_thread *thread) in z_vrfy_k_object_access_grant()
|
A D | condvar.c | 50 struct k_thread *thread = z_unpend_first_thread(&condvar->wait_q); in z_impl_k_condvar_signal() local
|
A D | dynamic.c | 105 static void dyn_cb(const struct k_thread *thread, void *user_data) in dyn_cb()
|
A D | queue.c | 81 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 D | statistics.c | 112 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()
|