Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dswait.h56 struct swait_queue_head { struct
80 struct swait_queue_head name = __SWAIT_QUEUE_HEAD_INITIALIZER(name) argument
82 extern void __init_swait_queue_head(struct swait_queue_head *q, const char *name,
95 struct swait_queue_head name = __SWAIT_QUEUE_HEAD_INIT_ONSTACK(name)
134 static inline int swait_active(struct swait_queue_head *wq) in swait_active()
147 static inline bool swq_has_sleeper(struct swait_queue_head *wq) in swq_has_sleeper()
160 extern void swake_up_one(struct swait_queue_head *q);
161 extern void swake_up_all(struct swait_queue_head *q);
162 extern void swake_up_locked(struct swait_queue_head *q);
164 extern void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int st…
[all …]
Dsrcutiny.h34 struct swait_queue_head srcu_wq;
Dkvm_host.h237 struct swait_queue_head wq;
879 static inline struct swait_queue_head *kvm_arch_vcpu_wq(struct kvm_vcpu *vcpu) in kvm_arch_vcpu_wq()
/Linux-v4.19/kernel/sched/
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) in swake_up_locked()
35 void swake_up_one(struct swait_queue_head *q) in swake_up_one()
49 void swake_up_all(struct swait_queue_head *q) in swake_up_all()
72 static void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait()
79 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive()
90 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event()
113 void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in __finish_swait()
120 void finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in finish_swait()
/Linux-v4.19/kernel/rcu/
Dtree.h156 struct swait_queue_head nocb_gp_wq[2];
240 struct swait_queue_head nocb_wq; /* For nocb kthreads to sleep on. */
327 struct swait_queue_head gp_wq; /* Where GP task waits. */
344 struct swait_queue_head expedited_wq; /* Wait for check-ins. */
470 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp);
471 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq);
Dtree_plugin.h1885 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq) in rcu_nocb_gp_cleanup()
1890 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp) in rcu_nocb_gp_get()
2594 static void rcu_nocb_gp_cleanup(struct swait_queue_head *sq) in rcu_nocb_gp_cleanup()
2598 static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp) in rcu_nocb_gp_get()
Dtree.c2072 struct swait_queue_head *sq; in rcu_gp_cleanup()
/Linux-v4.19/virt/kvm/arm/
Dpsci.c109 struct swait_queue_head *wq; in kvm_psci_vcpu_on()
Darm.c619 struct swait_queue_head *wq = kvm_arch_vcpu_wq(vcpu); in vcpu_req_sleep()
/Linux-v4.19/arch/powerpc/include/asm/
Dkvm_book3s.h92 struct swait_queue_head wq;
Dkvm_host.h723 struct swait_queue_head *wqp;
/Linux-v4.19/arch/x86/kernel/
Dkvm.c85 struct swait_queue_head wq;
/Linux-v4.19/arch/x86/kvm/
Dlapic.c1429 struct swait_queue_head *q = &vcpu->wq; in apic_timer_expired()
/Linux-v4.19/virt/kvm/
Dkvm_main.c2223 struct swait_queue_head *wqp; in kvm_vcpu_wake_up()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv.c215 struct swait_queue_head *wqp; in kvmppc_fast_vcpu_kick_hv()