Lines Matching full:done
27 is reduced to a simple flag in 'struct completion', appropriately called "done".
45 to have marked a completion as 'done' before another thread checks whether
53 unsigned int done;
58 the ->done completion flag for indicating whether it's completed or not.
84 Initializing of dynamically allocated completion objects is done via a call to
87 init_completion(&dynamic_object->done);
89 In this call we initialize the waitqueue and set ->done to 0, i.e. "not completed"
90 or "not done".
93 ->done field to 0 ("not done"), without touching the waitqueue.
111 initialized to 'not done' and doesn't require an init_completion() call.
130 stack and cause subtle data corruption if a complete() is done in some
147 void wait_for_completion(struct completion *done)
204 int wait_for_completion_interruptible(struct completion *done)
209 unsigned long wait_for_completion_timeout(struct completion *done, unsigned long timeout)
221 long wait_for_completion_interruptible_timeout(struct completion *done, unsigned long timeout)
232 long wait_for_completion_killable(struct completion *done)
233 long wait_for_completion_killable_timeout(struct completion *done, unsigned long timeout)
239 void wait_for_completion_io(struct completion *done)
240 unsigned long wait_for_completion_io_timeout(struct completion *done, unsigned long timeout)
250 void complete(struct completion *done)
254 void complete_all(struct completion *done)
258 (decrementing) the done field of 'struct completion'. Waiting threads
263 done field. Calling complete_all() multiple times is a bug though. Both
283 bool try_wait_for_completion(struct completion *done)
290 bool completion_done(struct completion *done)