Home
last modified time | relevance | path

Searched refs:swait_queue_head (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
H A Dswait.h43 struct swait_queue_head { struct
67 struct swait_queue_head name = __SWAIT_QUEUE_HEAD_INITIALIZER(name) argument
69 extern void __init_swait_queue_head(struct swait_queue_head *q, const char *name,
82 struct swait_queue_head name = __SWAIT_QUEUE_HEAD_INIT_ONSTACK(name)
121 static inline int swait_active(struct swait_queue_head *wq) in swait_active()
134 static inline bool swq_has_sleeper(struct swait_queue_head *wq) in swq_has_sleeper()
147 extern void swake_up_one(struct swait_queue_head *q);
148 extern void swake_up_all(struct swait_queue_head *q);
149 extern void swake_up_locked(struct swait_queue_head *q, int wake_flags);
151 extern void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int st…
[all …]
H A Dcompletion.h28 struct swait_queue_head wait;
H A Dsrcutiny.h23 struct swait_queue_head srcu_wq;
/linux/kernel/sched/
H A Dswait.c7 void __init_swait_queue_head(struct swait_queue_head *q, const char *name, in __init_swait_queue_head()
22 void swake_up_locked(struct swait_queue_head *q, int wake_flags) in swake_up_locked()
42 void swake_up_all_locked(struct swait_queue_head *q) in swake_up_all_locked()
48 void swake_up_one(struct swait_queue_head *q) in swake_up_one()
62 void swake_up_all(struct swait_queue_head *q) in swake_up_all()
85 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait()
92 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive()
103 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event()
126 void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in __finish_swait()
133 void finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in finish_swait()
H A Dsched.h3790 extern void swake_up_all_locked(struct swait_queue_head *q);
3791 extern void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait);
/linux/Documentation/scheduler/
H A Dcompletion.rst54 struct swait_queue_head wait;