/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | private_mem_conversions_test.c | 30 #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 D | smaller_maxphyaddr_emulation_test.c | 52 uint64_t gpa; in main() local
|
/linux/virt/kvm/ |
H A D | pfncache.c | 60 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 D | gaccess.c | 433 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 D | gaccess.h | 152 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 D | page_track.h | 41 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 D | max_guest_memory_test.c | 21 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 D | memslot_perf_test.c | 188 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 D | pre_fault_memory_test.c | 33 static void pre_fault_memory(struct kvm_vcpu *vcpu, u64 gpa, u64 size, in pre_fault_memory()
|
/linux/arch/x86/kvm/ |
H A D | cpuid.h | 45 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 D | memstress.h | 23 uint64_t gpa; member 35 uint64_t gpa; member
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-its.c | 832 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 D | kvm_mmu.h | 273 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 D | tlb.c | 24 void kvm_flush_tlb_gpa(struct kvm_vcpu *vcpu, unsigned long gpa) in kvm_flush_tlb_gpa()
|
/linux/drivers/misc/sgi-gru/ |
H A D | grufault.c | 253 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 D | kvm_types.h | 54 gpa_t gpa; member 62 gpa_t gpa; member
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 893 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 D | uv_hub.h | 461 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 D | sev.h | 85 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 D | jz4740.dtsi | 125 gpa: gpio@0 { label
|
H A D | x1830.dtsi | 157 gpa: gpio@0 { label
|
H A D | jz4725b.dtsi | 134 gpa: gpio@0 { label
|
H A D | x1000.dtsi | 162 gpa: gpio@0 { label
|
/linux/drivers/misc/sgi-xp/ |
H A D | xp_uv.c | 38 xp_socket_pa_uv(unsigned long gpa) in xp_socket_pa_uv()
|
/linux/arch/x86/virt/svm/ |
H A D | sev.c | 44 gpa : 39, member 541 int rmp_make_private(u64 pfn, u64 gpa, enum pg_level level, u32 asid, bool immutable) in rmp_make_private()
|