Lines Matching refs:thread
60 scheduler_lock(thread_t *thread) ACQUIRE_SCHEDULER_LOCK(thread);
64 scheduler_lock_nopreempt(thread_t *thread) ACQUIRE_SCHEDULER_LOCK_NP(thread);
72 scheduler_unlock(thread_t *thread) RELEASE_SCHEDULER_LOCK(thread);
76 scheduler_unlock_nopreempt(thread_t *thread) RELEASE_SCHEDULER_LOCK_NP(thread);
101 scheduler_block(thread_t *thread, scheduler_block_t block)
102 REQUIRE_SCHEDULER_LOCK(thread);
111 scheduler_block_init(thread_t *thread, scheduler_block_t block);
127 scheduler_unblock(thread_t *thread, scheduler_block_t block)
128 REQUIRE_SCHEDULER_LOCK(thread);
141 scheduler_is_blocked(const thread_t *thread, scheduler_block_t block);
151 scheduler_is_runnable(const thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);
159 scheduler_is_running(const thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);
176 scheduler_sync(thread_t *thread);
190 scheduler_pin(thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);
200 scheduler_unpin(thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);
227 scheduler_get_affinity(thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);
240 scheduler_get_active_affinity(thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);
252 scheduler_set_affinity(thread_t *thread, cpu_index_t target_cpu)
253 REQUIRE_SCHEDULER_LOCK(thread);
256 scheduler_set_priority(thread_t *thread, priority_t priority)
257 REQUIRE_SCHEDULER_LOCK(thread);
260 scheduler_set_timeslice(thread_t *thread, nanoseconds_t timeslice)
261 REQUIRE_SCHEDULER_LOCK(thread);
272 scheduler_will_preempt_current(thread_t *thread) REQUIRE_SCHEDULER_LOCK(thread);