Searched refs:mmap_ptr (Results 1 – 3 of 3) sorted by relevance
237 void *mmap_ptr; in futil_map_file() local259 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() local284 (0 != msync(mmap_ptr, len, MS_SYNC|MS_INVALIDATE))) { in futil_unmap_file()289 if (0 != munmap(mmap_ptr, len)) { in futil_unmap_file()
70 char* mmap_ptr = (char*)mmap(NULL, mmap_alloc_size, in cover_open() local73 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()
53 char* mmap_ptr = in MmapFile() local58 if (mmap_ptr) in MmapFile()61 return mmap_ptr; in MmapFile()