swait_queue
extern void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state);
extern long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state);
extern void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait);
extern void finish_swait(struct swait_queue_head *q, struct swait_queue *wait);
struct swait_queue __wait; \
struct swait_queue name = __SWAITQUEUE_INITIALIZER(name)
extern void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait);
long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state)
void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait)
void finish_swait(struct swait_queue_head *q, struct swait_queue *wait)
struct swait_queue *curr;
struct swait_queue *curr;
void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait)
void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state)