Lines Matching refs:map
22 char *map;
54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
55 if (map == (char *)-1)
59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
60 if (map == (char *)-1)
66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0);
67 if (map == (char *)-1)
69 //printf("trap 3 = %p-%p\n", map, map+stepsize*2);
72 map = mmap(0, 256*1024, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
73 if (map == (char *)-1)
76 munmap(map, 256*1024);
77 VALGRIND_MAKE_MEM_DEFINED(map, 256*1024); /* great big fat lie */