Lines Matching refs:gebase
312 void *gebase, *p, *handler, *refill_start, *refill_end; in kvm_arch_vcpu_create() local
335 gebase = kzalloc(ALIGN(size, PAGE_SIZE), GFP_KERNEL); in kvm_arch_vcpu_create()
337 if (!gebase) { in kvm_arch_vcpu_create()
342 ALIGN(size, PAGE_SIZE), gebase); in kvm_arch_vcpu_create()
349 if (!cpu_has_ebase_wg && virt_to_phys(gebase) >= 0x20000000) { in kvm_arch_vcpu_create()
351 gebase); in kvm_arch_vcpu_create()
357 vcpu->arch.guest_ebase = gebase; in kvm_arch_vcpu_create()
360 handler = gebase + 0x2000; in kvm_arch_vcpu_create()
363 refill_start = gebase; in kvm_arch_vcpu_create()
369 kvm_mips_build_exception(gebase + 0x180, handler); in kvm_arch_vcpu_create()
374 gebase + 0x200 + (i * VECTORSPACING)); in kvm_arch_vcpu_create()
375 kvm_mips_build_exception(gebase + 0x200 + i * VECTORSPACING, in kvm_arch_vcpu_create()
393 dump_handler("kvm_gen_exc", gebase + 0x180, gebase + 0x200); in kvm_arch_vcpu_create()
394 dump_handler("kvm_exit", gebase + 0x2000, vcpu->arch.vcpu_run); in kvm_arch_vcpu_create()
397 flush_icache_range((unsigned long)gebase, in kvm_arch_vcpu_create()
398 (unsigned long)gebase + ALIGN(size, PAGE_SIZE)); in kvm_arch_vcpu_create()
428 kfree(gebase); in kvm_arch_vcpu_create()