Lines Matching refs:done
23 with the event reduced to a simple flag (appropriately called "done") in
46 unsigned int done;
67 other structures, is done with:
69 void init_completion(&done);
72 the default state to "not available", that is, "done" is set to 0.
75 done element to "not available", thus again to 0, without touching the
130 void wait_for_completion(struct completion *done):
159 int wait_for_completion_interruptible(struct completion *done)
164 unsigned long wait_for_completion_timeout(struct completion *done,
175 struct completion *done, unsigned long timeout)
186 long wait_for_completion_killable(struct completion *done)
187 long wait_for_completion_killable_timeout(struct completion *done,
194 void wait_for_completion_io(struct completion *done)
195 unsigned long wait_for_completion_io_timeout(struct completion *done
206 void complete(struct completion *done)
210 void complete_all(struct completion *done)
214 (decrementing) the done element of struct completion. Waiting threads
219 done element. Calling complete_all() multiple times is a bug though. Both
238 bool try_wait_for_completion(struct completion *done)
245 bool completion_done(struct completion *done)