Home
last modified time | relevance | path

Searched refs:wq (Results 1 – 13 of 13) sorted by relevance

/arch/x86/kernel/
Dkvm.c94 struct swait_queue_head wq; member
151 init_swait_queue_head(&n.wq); in kvm_async_pf_task_wait()
157 prepare_to_swait(&n.wq, &wait, TASK_UNINTERRUPTIBLE); in kvm_async_pf_task_wait()
178 finish_swait(&n.wq, &wait); in kvm_async_pf_task_wait()
190 else if (swq_has_sleeper(&n->wq)) in apf_task_wake_one()
191 swake_up(&n->wq); in apf_task_wake_one()
243 init_swait_queue_head(&n->wq); in kvm_async_pf_task_wake()
/arch/cris/mm/
Dfault.c225 DECLARE_WAIT_QUEUE_HEAD(wq); in do_page_fault()
237 wait_event_interruptible(wq, 0 == 1); in do_page_fault()
/arch/powerpc/platforms/cell/spufs/
Dspufs.h319 #define spufs_wait(wq, condition) \ argument
324 prepare_to_wait(&(wq), &__wait, TASK_INTERRUPTIBLE); \
337 finish_wait(&(wq), &__wait); \
/arch/arm/common/
DbL_switcher.c264 wait_queue_head_t wq; member
287 wait_event_interruptible(t->wq, in bL_switcher_thread()
373 wake_up(&t->wq); in bL_switch_request_cb()
585 init_waitqueue_head(&t->wq); in bL_switcher_enable()
/arch/powerpc/include/asm/
Dpnv-pci.h71 struct workqueue_struct *wq; member
Dkvm_book3s.h92 struct swait_queue_head wq; member
/arch/mips/kvm/
Dmips.c514 if (swq_has_sleeper(&dvcpu->wq)) in kvm_vcpu_ioctl_interrupt()
515 swake_up(&dvcpu->wq); in kvm_vcpu_ioctl_interrupt()
1182 if (swq_has_sleeper(&vcpu->wq)) in kvm_mips_comparecount_func()
1183 swake_up(&vcpu->wq); in kvm_mips_comparecount_func()
/arch/s390/include/asm/
Dkvm_host.h523 struct swait_queue_head *wq; member
/arch/powerpc/kvm/
Dbook3s_hv.c1768 init_swait_queue_head(&vcore->wq); in kvmppc_vcore_create()
3035 prepare_to_swait(&vc->wq, &wait, TASK_INTERRUPTIBLE); in kvmppc_vcore_blocked()
3038 finish_swait(&vc->wq, &wait); in kvmppc_vcore_blocked()
3052 finish_swait(&vc->wq, &wait); in kvmppc_vcore_blocked()
3148 swake_up(&vc->wq); in kvmppc_run_vcpu()
3297 vcpu->arch.wqp = &vcpu->arch.vcore->wq; in kvmppc_vcpu_run_hv()
Dpowerpc.c714 vcpu->arch.wqp = &vcpu->wq; in kvm_arch_vcpu_create()
/arch/x86/kvm/
Dlapic.c1345 struct swait_queue_head *q = &vcpu->wq; in apic_timer_expired()
1615 WARN_ON(swait_active(&vcpu->wq)); in kvm_lapic_expired_hv_timer()
/arch/s390/kvm/
Dinterrupt.c1090 if (swait_active(&vcpu->wq)) { in kvm_s390_vcpu_wakeup()
1096 swake_up(&vcpu->wq); in kvm_s390_vcpu_wakeup()
Dkvm-s390.c2552 vcpu->arch.local_int.wq = &vcpu->wq; in kvm_arch_vcpu_create()