Searched refs:wq (Results 1 – 13 of 13) sorted by relevance
/arch/x86/kernel/ |
D | kvm.c | 94 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/ |
D | fault.c | 225 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/ |
D | spufs.h | 319 #define spufs_wait(wq, condition) \ argument 324 prepare_to_wait(&(wq), &__wait, TASK_INTERRUPTIBLE); \ 337 finish_wait(&(wq), &__wait); \
|
/arch/arm/common/ |
D | bL_switcher.c | 264 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/ |
D | pnv-pci.h | 71 struct workqueue_struct *wq; member
|
D | kvm_book3s.h | 92 struct swait_queue_head wq; member
|
/arch/mips/kvm/ |
D | mips.c | 514 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/ |
D | kvm_host.h | 523 struct swait_queue_head *wq; member
|
/arch/powerpc/kvm/ |
D | book3s_hv.c | 1768 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()
|
D | powerpc.c | 714 vcpu->arch.wqp = &vcpu->wq; in kvm_arch_vcpu_create()
|
/arch/x86/kvm/ |
D | lapic.c | 1345 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/ |
D | interrupt.c | 1090 if (swait_active(&vcpu->wq)) { in kvm_s390_vcpu_wakeup() 1096 swake_up(&vcpu->wq); in kvm_s390_vcpu_wakeup()
|
D | kvm-s390.c | 2552 vcpu->arch.local_int.wq = &vcpu->wq; in kvm_arch_vcpu_create()
|