Home
last modified time | relevance | path

Searched refs:mmap_start (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h33 void *mmap_start; member
Dkvm_util.c466 ret = munmap(region->mmap_start, region->mmap_size); in kvm_vm_free()
647 region->mmap_start = mmap(NULL, region->mmap_size, in vm_userspace_mem_region_add()
652 TEST_ASSERT(region->mmap_start != MAP_FAILED, in vm_userspace_mem_region_add()
654 region->mmap_start, errno); in vm_userspace_mem_region_add()
657 region->host_mem = align(region->mmap_start, alignment); in vm_userspace_mem_region_add()
/external/igt-gpu-tools/benchmarks/
Dgem_wsim.c1117 unsigned long mmap_start, mmap_len; in terminate_bb() local
1133 mmap_start = rounddown(batch_start, PAGE_SIZE); in terminate_bb()
1134 mmap_len = ALIGN(w->bb_sz - mmap_start, PAGE_SIZE); in terminate_bb()
1139 ptr = gem_mmap__wc(fd, w->bb_handle, mmap_start, mmap_len, PROT_WRITE); in terminate_bb()
1140 cs = (uint32_t *)((char *)ptr + batch_start - mmap_start); in terminate_bb()