Searched refs:mmap_addr (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/vma/ |
D | vma04.c | 62 static void *mmap_addr; variable 134 mmap_addr = addr + pagesize; in init() 135 memset(mmap_addr, 0, pagesize * 6); in init() 142 addr = mmap_addr - pagesize; in fin() 150 if (mbind(mmap_addr + pagesize * index, pagesize * len, in mem_bind() 163 if (mbind(mmap_addr + pagesize * index, pagesize * len, in mem_interleave() 176 if (mbind(mmap_addr + pagesize * index, pagesize * len, in mem_unbind() 236 get_vmas(retbuf, mmap_addr, mmap_addr + pagesize * 6); in case4() 253 get_vmas(retbuf, mmap_addr, mmap_addr + pagesize * 6); in case5() 270 get_vmas(retbuf, mmap_addr, mmap_addr + pagesize * 6); in case6() [all …]
|
/external/libtextclassifier/utils/memory/ |
D | mmap.cc | 92 void *mmap_addr = mmap( in MmapFile() local 112 if (mmap_addr == MAP_FAILED) { in MmapFile() 118 return MmapHandle(static_cast<char *>(mmap_addr) + alignment_shift, in MmapFile() 119 segment_size, /*unmap_addr=*/mmap_addr); in MmapFile()
|
/external/libtextclassifier/lang_id/common/file/ |
D | mmap.cc | 87 void *mmap_addr = mmap( in MmapFile() local 110 if (mmap_addr == MAP_FAILED) { in MmapFile() 116 return MmapHandle(mmap_addr, file_size_in_bytes); in MmapFile()
|
/external/strace/ |
D | kvm.c | 45 long mmap_addr; member 148 map_info = mmap_cache_search(tcp, vcpu_info->mmap_addr); in vcpu_get_info() 185 vcpu_info->mmap_addr = map_info->start_addr; in vcpu_get_info() 347 if (umove(tcp, info->mmap_addr, &vcpu_run_struct) < 0) in kvm_ioctl_run_attach_auxstr()
|