Home
last modified time | relevance | path

Searched defs:gpa (Results 1 – 25 of 69) sorted by relevance

123

/linux/tools/testing/selftests/kvm/x86_64/
H A Dprivate_mem_conversions_test.c30 #define memcmp_g(gpa, pattern, size) \ argument
41 static void memcmp_h(uint8_t *mem, uint64_t gpa, uint8_t pattern, size_t size) in memcmp_h()
73 static void guest_sync_shared(uint64_t gpa, uint64_t size, in guest_sync_shared()
79 static void guest_sync_private(uint64_t gpa, uint64_t size, uint8_t pattern) in guest_sync_private()
89 static void guest_map_mem(uint64_t gpa, uint64_t size, bool map_shared, in guest_map_mem()
101 static void guest_map_shared(uint64_t gpa, uint64_t size, bool do_fallocate) in guest_map_shared()
106 static void guest_map_private(uint64_t gpa, uint64_t size, bool do_fallocate) in guest_map_private()
137 uint64_t gpa = base_gpa + test_ranges[i].offset; in guest_test_explicit_conversion() local
217 static void guest_punch_hole(uint64_t gpa, uint64_t size) in guest_punch_hole()
242 uint64_t gpa = base_gpa + test_ranges[i].offset; in guest_test_punch_hole() local
[all …]
H A Dsmaller_maxphyaddr_emulation_test.c52 uint64_t gpa; in main() local
/linux/virt/kvm/
H A Dpfncache.c60 static bool kvm_gpc_is_valid_len(gpa_t gpa, unsigned long uhva, in kvm_gpc_is_valid_len() argument
248 __kvm_gpc_refresh(struct gfn_to_pfn_cache * gpc,gpa_t gpa,unsigned long uhva) __kvm_gpc_refresh() argument
389 __kvm_gpc_activate(struct gfn_to_pfn_cache * gpc,gpa_t gpa,unsigned long uhva,unsigned long len) __kvm_gpc_activate() argument
419 kvm_gpc_activate(struct gfn_to_pfn_cache * gpc,gpa_t gpa,unsigned long len) kvm_gpc_activate() argument
[all...]
/linux/arch/s390/kvm/
H A Dgaccess.c433 static int deref_table(struct kvm *kvm, unsigned long gpa, unsigned long *val) in deref_table()
460 unsigned long *gpa, const union asce asce, in guest_translate()
643 enum gacc_mode mode, gpa_t gpa) in vm_check_access_key()
706 enum gacc_mode mode, union asce asce, gpa_t gpa, in vcpu_check_access_key()
789 unsigned long gpa; in guest_range_to_gpas() local
824 static int access_guest_page(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa, in access_guest_page()
841 access_guest_page_with_key(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa, in access_guest_page_with_key()
874 int access_guest_abs_with_key(struct kvm *kvm, gpa_t gpa, void *data, in access_guest_abs_with_key()
979 unsigned long gpa; in access_guest_real() local
1019 int cmpxchg_guest_abs_with_key(struct kvm *kvm, gpa_t gpa, int len, in cmpxchg_guest_abs_with_key()
[all …]
H A Dgaccess.h152 unsigned long gpa = gra + kvm_s390_get_prefix(vcpu); in write_guest_lc() local
178 unsigned long gpa = gra + kvm_s390_get_prefix(vcpu); in read_guest_lc() local
371 int write_guest_abs(struct kvm_vcpu *vcpu, unsigned long gpa, void *data, in write_guest_abs()
394 int read_guest_abs(struct kvm_vcpu *vcpu, unsigned long gpa, void *data, in read_guest_abs()
/linux/arch/x86/kvm/mmu/
H A Dpage_track.h41 static inline void __kvm_page_track_write(struct kvm *kvm, gpa_t gpa, in __kvm_page_track_write()
50 static inline void kvm_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, in kvm_page_track_write()
/linux/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c21 uint64_t gpa; in guest_code() local
91 uint64_t gpa, nr_bytes; in spawn_workers() local
165 uint64_t max_gpa, gpa, slot_size, max_mem, i; in main() local
H A Dmemslot_perf_test.c188 static void *vm_gpa2hva(struct vm_data *data, uint64_t gpa, uint64_t *rempages) in vm_gpa2hva()
334 uint64_t gpa; in prepare_vm() local
640 uint64_t gpa, ctr; in test_memslot_do_unmap() local
665 uint64_t gpa; in test_memslot_map_unmap_check() local
H A Dpre_fault_memory_test.c33 static void pre_fault_memory(struct kvm_vcpu *vcpu, u64 gpa, u64 size, in pre_fault_memory()
/linux/arch/x86/kvm/
H A Dcpuid.h45 static inline bool kvm_vcpu_is_legal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_legal_gpa()
51 gpa_t gpa, gpa_t alignment) in kvm_vcpu_is_legal_aligned_gpa()
56 static inline bool page_address_valid(struct kvm_vcpu *vcpu, gpa_t gpa) in page_address_valid()
/linux/tools/testing/selftests/kvm/include/
H A Dmemstress.h23 uint64_t gpa; member
35 uint64_t gpa; member
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c832 gpa_t gpa = device->itt_addr + ite->event_id * ite_esz; in vgic_its_cmd_handle_discard() local
881 static bool __is_visible_gfn_locked(struct vgic_its *its, gpa_t gpa) in __is_visible_gfn_locked()
976 gpa_t gpa; in vgic_its_check_event_id() local
1192 gpa_t gpa; in vgic_its_cmd_handle_mapd() local
2104 gpa_t gpa = base; in scan_its_table() local
2137 struct its_ite *ite, gpa_t gpa) in vgic_its_save_ite()
2237 gpa_t gpa = base + ite->event_id * ite_esz; in vgic_its_save_itt() local
2424 gpa_t gpa; in handle_l1_dte() local
2479 gpa_t gpa) in vgic_its_save_cte()
2496 static int vgic_its_restore_cte(struct vgic_its *its, gpa_t gpa) in vgic_its_restore_cte()
[all …]
/linux/arch/arm64/include/asm/
H A Dkvm_mmu.h273 gpa_t gpa, void *data, unsigned long len) in kvm_read_guest_lock()
283 static inline int kvm_write_guest_lock(struct kvm *kvm, gpa_t gpa, in kvm_write_guest_lock()
/linux/arch/loongarch/kvm/
H A Dtlb.c24 void kvm_flush_tlb_gpa(struct kvm_vcpu *vcpu, unsigned long gpa) in kvm_flush_tlb_gpa()
/linux/drivers/misc/sgi-gru/
H A Dgrufault.c253 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop()
316 unsigned long vaddr = 0, gpa; in gru_preload_tlb() local
363 unsigned long gpa = 0, vaddr = 0; in gru_try_dropin() local
/linux/include/linux/
H A Dkvm_types.h54 gpa_t gpa; member
62 gpa_t gpa; member
/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c893 int ret = __vm_set_user_memory_region2(vm, slot, flags, gpa, size, hva, in vm_set_user_memory_region2() argument
847 __vm_set_user_memory_region(struct kvm_vm * vm,uint32_t slot,uint32_t flags,uint64_t gpa,uint64_t size,void * hva) __vm_set_user_memory_region() argument
861 vm_set_user_memory_region(struct kvm_vm * vm,uint32_t slot,uint32_t flags,uint64_t gpa,uint64_t size,void * hva) vm_set_user_memory_region() argument
874 __vm_set_user_memory_region2(struct kvm_vm * vm,uint32_t slot,uint32_t flags,uint64_t gpa,uint64_t size,void * hva,uint32_t guest_memfd,uint64_t guest_memfd_offset) __vm_set_user_memory_region2() argument
1209 uint64_t gpa, len; vm_guest_mem_fallocate() local
1541 addr_gpa2hva(struct kvm_vm * vm,vm_paddr_t gpa) addr_gpa2hva() argument
1617 addr_gpa2alias(struct kvm_vm * vm,vm_paddr_t gpa) addr_gpa2alias() argument
[all...]
/linux/arch/x86/include/asm/uv/
H A Duv_hub.h461 uv_gpa_in_mmr_space(unsigned long gpa) in uv_gpa_in_mmr_space()
467 static inline unsigned long uv_gpa_to_soc_phys_ram(unsigned long gpa) in uv_gpa_to_soc_phys_ram()
485 static inline unsigned long uv_gpa_to_gnode(unsigned long gpa) in uv_gpa_to_gnode()
496 static inline int uv_gpa_to_pnode(unsigned long gpa) in uv_gpa_to_pnode()
502 static inline unsigned long uv_gpa_to_offset(unsigned long gpa) in uv_gpa_to_offset()
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dsev.h85 static inline void sev_launch_update_data(struct kvm_vm *vm, vm_paddr_t gpa, in sev_launch_update_data()
/linux/arch/mips/boot/dts/ingenic/
H A Djz4740.dtsi125 gpa: gpio@0 { label
H A Dx1830.dtsi157 gpa: gpio@0 { label
H A Djz4725b.dtsi134 gpa: gpio@0 { label
H A Dx1000.dtsi162 gpa: gpio@0 { label
/linux/drivers/misc/sgi-xp/
H A Dxp_uv.c38 xp_socket_pa_uv(unsigned long gpa) in xp_socket_pa_uv()
/linux/arch/x86/virt/svm/
H A Dsev.c44 gpa : 39, member
541 int rmp_make_private(u64 pfn, u64 gpa, enum pg_level level, u32 asid, bool immutable) in rmp_make_private()

123