Lines Matching refs:done
34 if (x->done != UINT_MAX) in complete()
35 x->done++; in complete()
64 x->done = UINT_MAX; in complete_all()
74 if (!x->done) { in do_wait_for_common()
87 } while (!x->done && timeout); in do_wait_for_common()
89 if (!x->done) in do_wait_for_common()
92 if (x->done != UINT_MAX) in do_wait_for_common()
93 x->done--; in do_wait_for_common()
305 if (!READ_ONCE(x->done)) in try_wait_for_completion()
309 if (!x->done) in try_wait_for_completion()
311 else if (x->done != UINT_MAX) in try_wait_for_completion()
312 x->done--; in try_wait_for_completion()
331 if (!READ_ONCE(x->done)) in completion_done()