Home
last modified time | relevance | path

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

/linux-3.4.99/arch/s390/kvm/
Dinterrupt.c79 set_bit(vcpu->vcpu_id, vcpu->arch.local_int.float_int->idle_mask); in __set_cpu_idle()
86 clear_bit(vcpu->vcpu_id, vcpu->arch.local_int.float_int->idle_mask); in __unset_cpu_idle()
321 struct kvm_s390_local_interrupt *li = &vcpu->arch.local_int; in kvm_cpu_has_interrupt()
322 struct kvm_s390_float_interrupt *fi = vcpu->arch.local_int.float_int; in kvm_cpu_has_interrupt()
371 spin_lock_bh(&vcpu->arch.local_int.lock); in kvm_s390_handle_wait()
372 vcpu->arch.local_int.timer_due = 0; in kvm_s390_handle_wait()
373 spin_unlock_bh(&vcpu->arch.local_int.lock); in kvm_s390_handle_wait()
398 spin_lock(&vcpu->arch.local_int.float_int->lock); in kvm_s390_handle_wait()
399 spin_lock_bh(&vcpu->arch.local_int.lock); in kvm_s390_handle_wait()
400 add_wait_queue(&vcpu->arch.local_int.wq, &wait); in kvm_s390_handle_wait()
[all …]
Dintercept.c135 spin_lock_bh(&vcpu->arch.local_int.lock); in handle_stop()
137 if (vcpu->arch.local_int.action_bits & ACTION_RELOADVCPU_ON_STOP) { in handle_stop()
138 vcpu->arch.local_int.action_bits &= ~ACTION_RELOADVCPU_ON_STOP; in handle_stop()
143 if (vcpu->arch.local_int.action_bits & ACTION_STOP_ON_STOP) { in handle_stop()
146 vcpu->arch.local_int.action_bits &= ~ACTION_STOP_ON_STOP; in handle_stop()
151 if (vcpu->arch.local_int.action_bits & ACTION_STORE_ON_STOP) { in handle_stop()
152 vcpu->arch.local_int.action_bits &= ~ACTION_STORE_ON_STOP; in handle_stop()
156 spin_unlock_bh(&vcpu->arch.local_int.lock); in handle_stop()
162 spin_unlock_bh(&vcpu->arch.local_int.lock); in handle_stop()
Dsigp.c60 if (fi->local_int[cpu_addr] == NULL) in __sigp_sense()
62 else if (!(atomic_read(fi->local_int[cpu_addr]->cpuflags) in __sigp_sense()
95 li = fi->local_int[cpu_addr]; in __sigp_emergency()
133 li = fi->local_int[cpu_addr]; in __sigp_external_call()
187 li = fi->local_int[cpu_addr]; in __sigp_stop()
203 struct kvm_s390_local_interrupt *li = &vcpu->arch.local_int; in kvm_s390_inject_sigp_stop()
248 li = fi->local_int[cpu_addr]; in __sigp_set_prefix()
293 if (fi->local_int[cpu_addr] == NULL) in __sigp_sense_running()
296 if (atomic_read(fi->local_int[cpu_addr]->cpuflags) in __sigp_sense_running()
325 li = fi->local_int[cpu_addr]; in __sigp_restart()
Dkvm-s390.c395 spin_lock_init(&vcpu->arch.local_int.lock); in kvm_arch_vcpu_create()
396 INIT_LIST_HEAD(&vcpu->arch.local_int.list); in kvm_arch_vcpu_create()
397 vcpu->arch.local_int.float_int = &kvm->arch.float_int; in kvm_arch_vcpu_create()
399 kvm->arch.float_int.local_int[id] = &vcpu->arch.local_int; in kvm_arch_vcpu_create()
400 init_waitqueue_head(&vcpu->arch.local_int.wq); in kvm_arch_vcpu_create()
401 vcpu->arch.local_int.cpuflags = &vcpu->arch.sie_block->cpuflags; in kvm_arch_vcpu_create()
567 BUG_ON(vcpu->kvm->arch.float_int.local_int[vcpu->vcpu_id] == NULL); in kvm_arch_vcpu_ioctl_run()
Dpriv.c209 if (fi->local_int[n]) in handle_stsi_3_2_2()
/linux-3.4.99/arch/s390/include/asm/
Dkvm_host.h225 struct kvm_s390_local_interrupt *local_int[KVM_MAX_VCPUS]; member
234 struct kvm_s390_local_interrupt local_int; member