• Home
  • Raw
  • Download

Lines Matching full:completion

8  * Atomic wait-for-completion handler data structures.
9 * See kernel/sched/completion.c for details.
15 * struct completion - structure used to maintain state for a "completion"
17 * This is the opaque structure used to maintain the state for a "completion".
19 * the "completion" event.
26 struct completion { struct
33 static inline void complete_acquire(struct completion *x) {} in complete_acquire() argument
34 static inline void complete_release(struct completion *x) {} in complete_release()
46 * DECLARE_COMPLETION - declare and initialize a completion structure
47 * @work: identifier for the completion structure
49 * This macro declares and initializes a completion structure. Generally used
54 struct completion work = COMPLETION_INITIALIZER(work)
62 * DECLARE_COMPLETION_ONSTACK - declare and initialize a completion structure
63 * @work: identifier for the completion structure
65 * This macro declares and initializes a completion structure on the kernel
70 struct completion work = COMPLETION_INITIALIZER_ONSTACK(work)
72 struct completion work = COMPLETION_INITIALIZER_ONSTACK_MAP(work, map)
79 * init_completion - Initialize a dynamically allocated completion
80 * @x: pointer to completion structure that is to be initialized
82 * This inline function will initialize a dynamically created completion
85 static inline void __init_completion(struct completion *x) in __init_completion()
92 * reinit_completion - reinitialize a completion structure
93 * @x: pointer to completion structure that is to be reinitialized
95 * This inline function should be used to reinitialize a completion structure so it can
98 static inline void reinit_completion(struct completion *x) in reinit_completion()
103 extern void wait_for_completion(struct completion *);
104 extern void wait_for_completion_io(struct completion *);
105 extern int wait_for_completion_interruptible(struct completion *x);
106 extern int wait_for_completion_killable(struct completion *x);
107 extern unsigned long wait_for_completion_timeout(struct completion *x,
109 extern unsigned long wait_for_completion_io_timeout(struct completion *x,
112 struct completion *x, unsigned long timeout);
114 struct completion *x, unsigned long timeout);
115 extern bool try_wait_for_completion(struct completion *x);
116 extern bool completion_done(struct completion *x);
118 extern void complete(struct completion *);
119 extern void complete_all(struct completion *);