Lines Matching refs:gebase
286 void *gebase, *p, *handler, *refill_start, *refill_end; in kvm_arch_vcpu_create() local
312 gebase = kzalloc(ALIGN(size, PAGE_SIZE), GFP_KERNEL); in kvm_arch_vcpu_create()
314 if (!gebase) { in kvm_arch_vcpu_create()
319 ALIGN(size, PAGE_SIZE), gebase); in kvm_arch_vcpu_create()
326 if (!cpu_has_ebase_wg && virt_to_phys(gebase) >= 0x20000000) { in kvm_arch_vcpu_create()
328 gebase); in kvm_arch_vcpu_create()
334 vcpu->arch.guest_ebase = gebase; in kvm_arch_vcpu_create()
337 handler = gebase + 0x2000; in kvm_arch_vcpu_create()
340 refill_start = gebase; in kvm_arch_vcpu_create()
346 kvm_mips_build_exception(gebase + 0x180, handler); in kvm_arch_vcpu_create()
351 gebase + 0x200 + (i * VECTORSPACING)); in kvm_arch_vcpu_create()
352 kvm_mips_build_exception(gebase + 0x200 + i * VECTORSPACING, in kvm_arch_vcpu_create()
370 dump_handler("kvm_gen_exc", gebase + 0x180, gebase + 0x200); in kvm_arch_vcpu_create()
371 dump_handler("kvm_exit", gebase + 0x2000, vcpu->arch.vcpu_run); in kvm_arch_vcpu_create()
374 flush_icache_range((unsigned long)gebase, in kvm_arch_vcpu_create()
375 (unsigned long)gebase + ALIGN(size, PAGE_SIZE)); in kvm_arch_vcpu_create()
398 kfree(gebase); in kvm_arch_vcpu_create()