Lines Matching refs:done
22 if (x->done != UINT_MAX) in complete_with_flags()
23 x->done++; in complete_with_flags()
74 x->done = UINT_MAX; in complete_all()
84 if (!x->done) { in do_wait_for_common()
97 } while (!x->done && timeout); in do_wait_for_common()
99 if (!x->done) in do_wait_for_common()
102 if (x->done != UINT_MAX) in do_wait_for_common()
103 x->done--; in do_wait_for_common()
315 if (!READ_ONCE(x->done)) in try_wait_for_completion()
319 if (!x->done) in try_wait_for_completion()
321 else if (x->done != UINT_MAX) in try_wait_for_completion()
322 x->done--; in try_wait_for_completion()
341 if (!READ_ONCE(x->done)) in completion_done()