Lines Matching refs:tp_flags
62 (tpool->tp_flags & (TP_DESTROY | TP_ABANDON))) { in worker_cleanup()
63 if (tpool->tp_flags & TP_ABANDON) { in worker_cleanup()
68 if (tpool->tp_flags & TP_DESTROY) in worker_cleanup()
78 tpool->tp_flags &= ~TP_WAIT; in notify_waiters()
103 if (tpool->tp_flags & TP_WAIT) in job_cleanup()
128 if (tpool->tp_flags & TP_WAIT) in tpool_worker()
131 (tpool->tp_flags & TP_SUSPEND)) && in tpool_worker()
132 !(tpool->tp_flags & (TP_DESTROY | TP_ABANDON))) { in tpool_worker()
150 if (tpool->tp_flags & TP_DESTROY) in tpool_worker()
152 if (tpool->tp_flags & TP_ABANDON) { in tpool_worker()
154 if (tpool->tp_flags & TP_SUSPEND) { in tpool_worker()
155 tpool->tp_flags &= ~TP_SUSPEND; in tpool_worker()
162 !(tpool->tp_flags & TP_SUSPEND)) { in tpool_worker()
282 if (!(tpool->tp_flags & TP_SUSPEND)) { in tpool_dispatch()
308 tpool->tp_flags |= TP_DESTROY; in tpool_destroy()
309 tpool->tp_flags &= ~TP_SUSPEND; in tpool_destroy()
318 tpool->tp_flags |= TP_WAIT; in tpool_destroy()
345 tpool->tp_flags |= TP_ABANDON; in tpool_abandon()
346 tpool->tp_flags &= ~TP_SUSPEND; in tpool_abandon()
363 tpool->tp_flags |= TP_WAIT; in tpool_wait()
374 tpool->tp_flags |= TP_SUSPEND; in tpool_suspend()
384 suspended = (tpool->tp_flags & TP_SUSPEND) != 0; in tpool_suspended()
396 if (!(tpool->tp_flags & TP_SUSPEND)) { in tpool_resume()
400 tpool->tp_flags &= ~TP_SUSPEND; in tpool_resume()