1#ifndef __LINUX_COMPLETION_H
2#define __LINUX_COMPLETION_H
49#include <linux/kernel.h>
64static inline void init_completion(
struct completion* x)
77static inline void reinit_completion(
struct completion* x)
126 unsigned long timeout);
129 unsigned long timeout);
146#define DECLARE_COMPLETION(name) struct completion name = { 0 }
147#define DECLARE_COMPLETION_ONSTACK(name) struct completion name = { 0 }
long wait_for_completion_interruptible_timeout(struct completion *x, unsigned long timeout)
int wait_for_completion_interruptible(struct completion *x)
bool try_wait_for_completion(struct completion *x)
void complete_all(struct completion *x)
unsigned long wait_for_completion_timeout(struct completion *x, unsigned long timeout)
void wait_for_completion_killable(void)
int x
Definition layout.c:118
Definition completion.h:55
unsigned int done
Definition completion.h:57