Lines Matching refs:mremap
35 np = mremap(p, 1024*1024, 256*1024, 0); /* shrink, fixed */
37 perror("mremap(shrink, fixed)");
45 np = mremap(p, 1024*1024, 256*1024, MREMAP_MAYMOVE); /* shrink, maymove */
47 perror("mremap(shrink, maymove)");
55 np = mremap(p, 1024*1024, 2048*1024, 0); /* grow, fixed */
57 perror("mremap(grow, fixed)");
65 np = mremap(p, 1024*1024, 2048*1024, MREMAP_MAYMOVE); /* grow, maymove */
67 perror("mremap(grow, maymove)");
76 np = mremap(p, 512*1024, 1024*1024, 0); /* grow, nomove, constrained */
78 perror("mremap(grow, nomove, constrained)");
88 np = mremap(p, 512*1024, 1024*1024, MREMAP_MAYMOVE); /* grow, maymove, constrained */
90 perror("mremap(grow, maymove, constrained)");