Searched refs:job_refcnt (Results 1 – 2 of 2) sorted by relevance
763 job->job_refcnt = 0; in threadpool_job_init()784 while (0 < atomic_load_relaxed(&job->job_refcnt)) in threadpool_job_destroy()790 KASSERT(job->job_refcnt == 0); in threadpool_job_destroy()802 refcnt = atomic_inc_uint_nv(&job->job_refcnt); in threadpool_job_hold()813 refcnt = atomic_dec_uint_nv(&job->job_refcnt); in threadpool_job_rele()843 KASSERT(0 < atomic_load_relaxed(&job->job_refcnt)); in threadpool_job_done()844 unsigned int refcnt __diagused = atomic_dec_uint_nv(&job->job_refcnt); in threadpool_job_done()
56 volatile unsigned int job_refcnt; member