Searched refs:host_mem (Results 1 – 7 of 7) sorted by relevance
/external/syzkaller/executor/ |
D | common_kvm_amd64.h | 176 static void setup_32bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem) in setup_32bit_idt() argument 180 uint64* idt = (uint64*)(host_mem + sregs->idt.base); in setup_32bit_idt() 229 static void setup_64bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem) in setup_64bit_idt() argument 233 uint64* idt = (uint64*)(host_mem + sregs->idt.base); in setup_64bit_idt() 276 char* const host_mem = (char*)a2; in syz_kvm_setup_cpu() local 305 memreg.userspace_addr = (uintptr_t)host_mem + i * page_size; in syz_kvm_setup_cpu() 314 memreg.userspace_addr = (uintptr_t)host_mem; in syz_kvm_setup_cpu() 328 uint64* gdt = (uint64*)(host_mem + sregs.gdt.base); in syz_kvm_setup_cpu() 342 uint64* ldt = (uint64*)(host_mem + sregs.ldt.base); in syz_kvm_setup_cpu() 495 char* host_text = host_mem + ADDR_TEXT; in syz_kvm_setup_cpu() [all …]
|
D | common_kvm_arm64.h | 24 char* const host_mem = (char*)a2; in syz_kvm_setup_cpu() local 70 memreg.userspace_addr = (uintptr_t)host_mem + i * page_size; in syz_kvm_setup_cpu() 81 NONFAILING(memcpy(host_mem, text, text_size)); in syz_kvm_setup_cpu()
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 1688 static void setup_32bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem) 1692 uint64* idt = (uint64*)(host_mem + sregs->idt.base); 1735 static void setup_64bit_idt(struct kvm_sregs* sregs, char* host_mem, uintptr_t guest_mem) 1739 uint64* idt = (uint64*)(host_mem + sregs->idt.base); 1780 char* const host_mem = (char*)a2; 1809 memreg.userspace_addr = (uintptr_t)host_mem + i * page_size; 1817 memreg.userspace_addr = (uintptr_t)host_mem; 1831 uint64* gdt = (uint64*)(host_mem + sregs.gdt.base); 1845 uint64* ldt = (uint64*)(host_mem + sregs.ldt.base); 1998 char* host_text = host_mem + ADDR_TEXT; [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 585 region->host_mem = align(region->mmap_start, in vm_userspace_mem_region_add() 590 ret = madvise(region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add() 596 region->host_mem, npages * vm->page_size, src_type); in vm_userspace_mem_region_add() 606 region->region.userspace_addr = (uintptr_t) region->host_mem; in vm_userspace_mem_region_add() 968 return (void *) ((uintptr_t) region->host_mem in addr_gpa2hva() 998 if ((hva >= region->host_mem) in addr_hva2gpa() 999 && (hva <= (region->host_mem in addr_hva2gpa() 1003 + (hva - (uintptr_t) region->host_mem)); in addr_hva2gpa() 1334 region->host_mem); in vm_dump()
|
D | kvm_util_internal.h | 33 void *host_mem; member
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_driver.cc | 701 void* host_mem = nullptr; in HostAllocate() local 704 tensorflow::wrap::hipHostMalloc(&host_mem, bytes, hipHostMallocPortable); in HostAllocate() 709 return host_mem; in HostAllocate()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_driver.cc | 893 void* host_mem = nullptr; in HostAllocate() local 895 CUresult res = cuMemHostAlloc(&host_mem, bytes, CU_MEMHOSTALLOC_PORTABLE); in HostAllocate() 900 return host_mem; in HostAllocate()
|