Searched refs:err (Results 1 – 6 of 6) sorted by relevance
/virt/kvm/arm/ |
D | arm.c | 258 int err; in kvm_arch_vcpu_create() local 262 err = -EBUSY; in kvm_arch_vcpu_create() 267 err = -EINVAL; in kvm_arch_vcpu_create() 273 err = -ENOMEM; in kvm_arch_vcpu_create() 277 err = kvm_vcpu_init(vcpu, kvm, id); in kvm_arch_vcpu_create() 278 if (err) in kvm_arch_vcpu_create() 281 err = create_hyp_mappings(vcpu, vcpu + 1, PAGE_HYP); in kvm_arch_vcpu_create() 282 if (err) in kvm_arch_vcpu_create() 291 return ERR_PTR(err); in kvm_arch_vcpu_create() 1337 int err; in kvm_arch_vm_ioctl() local [all …]
|
D | arch_timer.c | 899 int err; in kvm_timer_hyp_init() local 926 err = request_percpu_irq(host_vtimer_irq, kvm_arch_timer_handler, in kvm_timer_hyp_init() 928 if (err) { in kvm_timer_hyp_init() 930 host_vtimer_irq, err); in kvm_timer_hyp_init() 931 return err; in kvm_timer_hyp_init() 935 err = irq_set_vcpu_affinity(host_vtimer_irq, in kvm_timer_hyp_init() 937 if (err) { in kvm_timer_hyp_init() 959 err = request_percpu_irq(host_ptimer_irq, kvm_arch_timer_handler, in kvm_timer_hyp_init() 961 if (err) { in kvm_timer_hyp_init() 963 host_ptimer_irq, err); in kvm_timer_hyp_init() [all …]
|
D | mmu.c | 705 int err = 0; in __create_hyp_mappings() local 717 err = -ENOMEM; in __create_hyp_mappings() 725 err = create_hyp_pud_mappings(pgd, addr, next, pfn, prot); in __create_hyp_mappings() 726 if (err) in __create_hyp_mappings() 732 return err; in __create_hyp_mappings() 770 int err; in create_hyp_mappings() local 773 err = __create_hyp_mappings(hyp_pgd, PTRS_PER_PGD, in create_hyp_mappings() 777 if (err) in create_hyp_mappings() 778 return err; in create_hyp_mappings() 2190 int err; in kvm_map_idmap_text() local [all …]
|
/virt/kvm/arm/vgic/ |
D | vgic-v4.c | 206 int err; in vgic_v4_flush_hwstate() local 217 err = irq_set_affinity(irq, cpumask_of(smp_processor_id())); in vgic_v4_flush_hwstate() 218 if (err) in vgic_v4_flush_hwstate() 219 return err; in vgic_v4_flush_hwstate() 221 err = its_schedule_vpe(&vcpu->arch.vgic_cpu.vgic_v3.its_vpe, true); in vgic_v4_flush_hwstate() 222 if (err) in vgic_v4_flush_hwstate() 223 return err; in vgic_v4_flush_hwstate() 229 err = irq_set_irqchip_state(irq, IRQCHIP_STATE_PENDING, false); in vgic_v4_flush_hwstate() 231 return err; in vgic_v4_flush_hwstate()
|
D | vgic-its.c | 739 int err; in vgic_its_trigger_msi() local 741 err = vgic_its_resolve_lpi(kvm, its, devid, eventid, &irq); in vgic_its_trigger_msi() 742 if (err) in vgic_its_trigger_msi() 743 return err; in vgic_its_trigger_msi()
|
/virt/kvm/ |
D | kvm_main.c | 4620 int err; member 4633 int err; in kvm_vm_worker_thread() local 4635 err = kthread_park(current); in kvm_vm_worker_thread() 4637 WARN_ON(err != 0); in kvm_vm_worker_thread() 4638 if (err) in kvm_vm_worker_thread() 4641 err = cgroup_attach_task_all(init_context->parent, current); in kvm_vm_worker_thread() 4642 if (err) { in kvm_vm_worker_thread() 4644 __func__, err); in kvm_vm_worker_thread() 4651 init_context->err = err; in kvm_vm_worker_thread() 4655 if (err) in kvm_vm_worker_thread() [all …]
|