Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
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 …]
Dsrcutiny.h22 struct swait_queue_head srcu_wq;
Dcompletion.h28 struct swait_queue_head wait;
/linux-6.12.1/kernel/sched/
Dswait.c6 void __init_swait_queue_head(struct swait_queue_head *q, const char *name, in __init_swait_queue_head()
21 void swake_up_locked(struct swait_queue_head *q, int wake_flags) in swake_up_locked()
41 void swake_up_all_locked(struct swait_queue_head *q) in swake_up_all_locked()
47 void swake_up_one(struct swait_queue_head *q) in swake_up_one()
61 void swake_up_all(struct swait_queue_head *q) in swake_up_all()
84 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait()
91 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive()
102 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event()
125 void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in __finish_swait()
132 void finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in finish_swait()
Dsched.h3548 extern void swake_up_all_locked(struct swait_queue_head *q);
3549 extern void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait);
/linux-6.12.1/kernel/rcu/
Dtree.h125 struct swait_queue_head nocb_gp_wq[2];
222 struct swait_queue_head nocb_cb_wq; /* For nocb kthreads to sleep on. */
223 struct swait_queue_head nocb_state_wq; /* For offloading state changes */
246 struct swait_queue_head nocb_gp_wq; /* For nocb kthreads to sleep on. */
355 struct swait_queue_head gp_wq; /* Where GP task waits. */
379 struct swait_queue_head expedited_wq; /* Wait for check-ins. */
487 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp);
488 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq);
Dtree_nocb.h177 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq) in rcu_nocb_gp_cleanup()
182 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp) in rcu_nocb_gp_get()
1630 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq) in rcu_nocb_gp_cleanup()
1634 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp) in rcu_nocb_gp_get()
Dtree.c1066 struct swait_queue_head *wqh = arg; in swake_up_one_online_ipi()
1071 static void swake_up_one_online(struct swait_queue_head *wqh) in swake_up_one_online()
2109 struct swait_queue_head *sq; in rcu_gp_cleanup()
/linux-6.12.1/arch/x86/kernel/
Dkvm.c87 struct swait_queue_head wq;
/linux-6.12.1/Documentation/scheduler/
Dcompletion.rst54 struct swait_queue_head wait;