Lines Matching refs:mmap_mem
801 char *mem, *mmap_mem, *tmp, *mremap_mem = MAP_FAILED;
807 mmap_mem = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE,
809 if (mmap_mem == MAP_FAILED) {
815 mem = (char *)(((uintptr_t)mmap_mem + thpsize) & ~(thpsize - 1));
937 munmap(mmap_mem, mmap_size);
1503 char *mem, *smem, *mmap_mem, *mmap_smem, tmp;
1516 mmap_mem = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE,
1518 if (mmap_mem == MAP_FAILED) {
1530 mem = (char *)(((uintptr_t)mmap_mem + pmdsize) & ~(pmdsize - 1));
1555 munmap(mmap_mem, mmap_size);