Lines Matching refs:mmap
27 * it into two segments (i.e. |---brk---|-mmap-|--more brk--|). Next it
35 * for a huge mmap which is refused.
143 /* Ask for a ridiculously large mmap region at a high address */
144 if (mmap((void*) (((uintptr_t)1) << ((sizeof(void*)<<3) - 1)) - pagesize,
149 ERROR("really large mmap didn't fail");
153 ERROR("really large mmap didn't set errno = ENOMEM nor EINVAL");
167 if (mmap((void*) ((long)brk_max - 3 * pagesize), (2 * pagesize),
171 ERROR("mmap failed");
174 /* extend mmap */
175 if (mmap((void*) ((long)brk_max - 2 * pagesize), (2 * pagesize),
179 ERROR("mmap failed");