Lines Matching refs:setup_flags

91 static void workq_bound_thread_setup_and_run(struct uthread *uth, int setup_flags) __dead2;
1169 struct uthread *uth, uint32_t death_flags, uint32_t setup_flags) in workq_unpark_for_death_and_unlock() argument
1193 if (setup_flags & WQ_SETUP_CLEAR_VOUCHER) { in workq_unpark_for_death_and_unlock()
1248 uint32_t setup_flags) in workq_push_idle_thread() argument
1331 workq_unpark_for_death_and_unlock(p, wq, uth, 0, setup_flags); in workq_push_idle_thread()
2891 struct uthread *uth, uint32_t setup_flags);
2895 struct uthread *uth, uint32_t setup_flags);
3875 uint32_t setup_flags) in workq_park_and_unlock() argument
3879 workq_push_idle_thread(p, wq, uth, setup_flags); // may not return in workq_park_and_unlock()
3936 setup_flags &= ~WQ_SETUP_CLEAR_VOUCHER; in workq_park_and_unlock()
3948 workq_unpark_select_threadreq_or_park_and_unlock(p, wq, uth, setup_flags); in workq_park_and_unlock()
3954 WORKQ_UNPARK_FOR_DEATH_WAS_IDLE, setup_flags); in workq_park_and_unlock()
4572 struct uthread *uth, uint32_t setup_flags) in workq_select_threadreq_or_park_and_unlock() argument
4701 setup_flags |= WQ_SETUP_FIRST_USE; in workq_select_threadreq_or_park_and_unlock()
4758 workq_setup_and_run(p, uth, setup_flags); in workq_select_threadreq_or_park_and_unlock()
4764 workq_park_and_unlock(p, wq, uth, setup_flags); in workq_select_threadreq_or_park_and_unlock()
4786 struct uthread *uth, uint32_t setup_flags) in workq_unpark_select_threadreq_or_park_and_unlock() argument
4790 setup_flags |= WQ_SETUP_FIRST_USE; in workq_unpark_select_threadreq_or_park_and_unlock()
4802 workq_setup_and_run(p, uth, setup_flags); in workq_unpark_select_threadreq_or_park_and_unlock()
4807 workq_select_threadreq_or_park_and_unlock(p, wq, uth, setup_flags); in workq_unpark_select_threadreq_or_park_and_unlock()
4903 workq_setup_and_run(proc_t p, struct uthread *uth, int setup_flags) in workq_setup_and_run() argument
4908 if (setup_flags & WQ_SETUP_CLEAR_VOUCHER) { in workq_setup_and_run()
4928 if (!(setup_flags & WQ_SETUP_FIRST_USE)) { in workq_setup_and_run()
4980 uth->uu_workq_thport, 0, setup_flags, upcall_flags); in workq_setup_and_run()
4990 workq_bound_thread_setup_and_run(struct uthread *uth, int setup_flags) in workq_bound_thread_setup_and_run() argument
5001 workq_setup_and_run(current_proc(), uth, setup_flags); in workq_bound_thread_setup_and_run()