Lines Matching refs:gebase
281 void *gebase, *p, *handler, *refill_start, *refill_end; in kvm_arch_vcpu_create() local
304 gebase = kzalloc(ALIGN(size, PAGE_SIZE), GFP_KERNEL); in kvm_arch_vcpu_create()
306 if (!gebase) { in kvm_arch_vcpu_create()
311 ALIGN(size, PAGE_SIZE), gebase); in kvm_arch_vcpu_create()
318 if (!cpu_has_ebase_wg && virt_to_phys(gebase) >= 0x20000000) { in kvm_arch_vcpu_create()
320 gebase); in kvm_arch_vcpu_create()
326 vcpu->arch.guest_ebase = gebase; in kvm_arch_vcpu_create()
329 handler = gebase + 0x2000; in kvm_arch_vcpu_create()
332 refill_start = gebase; in kvm_arch_vcpu_create()
338 kvm_mips_build_exception(gebase + 0x180, handler); in kvm_arch_vcpu_create()
343 gebase + 0x200 + (i * VECTORSPACING)); in kvm_arch_vcpu_create()
344 kvm_mips_build_exception(gebase + 0x200 + i * VECTORSPACING, in kvm_arch_vcpu_create()
362 dump_handler("kvm_gen_exc", gebase + 0x180, gebase + 0x200); in kvm_arch_vcpu_create()
363 dump_handler("kvm_exit", gebase + 0x2000, vcpu->arch.vcpu_run); in kvm_arch_vcpu_create()
366 flush_icache_range((unsigned long)gebase, in kvm_arch_vcpu_create()
367 (unsigned long)gebase + ALIGN(size, PAGE_SIZE)); in kvm_arch_vcpu_create()
381 kfree(gebase); in kvm_arch_vcpu_create()