Home
last modified time | relevance | path

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

/external/vboot_reference/futility/
Dmisc.c237 void *mmap_ptr; in futil_map_file() local
259 mmap_ptr = mmap(0, sb.st_size, in futil_map_file()
262 mmap_ptr = mmap(0, sb.st_size, in futil_map_file()
265 if (mmap_ptr == (void *)-1) { in futil_map_file()
272 *buf = (uint8_t *)mmap_ptr; in futil_map_file()
280 void *mmap_ptr = buf; in futil_unmap_file() local
284 (0 != msync(mmap_ptr, len, MS_SYNC|MS_INVALIDATE))) { in futil_unmap_file()
289 if (0 != munmap(mmap_ptr, len)) { in futil_unmap_file()
/external/syzkaller/executor/
Dexecutor_bsd.h70 char* mmap_ptr = (char*)mmap(NULL, mmap_alloc_size, in cover_open() local
73 if (mmap_ptr == NULL) in cover_open()
75 cov->data = mmap_ptr; in cover_open()
76 cov->data_end = mmap_ptr + mmap_alloc_size; in cover_open()
/external/autotest/client/deps/glbench/src/
Dutils.cc53 char* mmap_ptr = in MmapFile() local
58 if (mmap_ptr) in MmapFile()
61 return mmap_ptr; in MmapFile()