Lines Matching refs:mm2
67 char *mm1 = NULL, *mm2 = NULL; variable
93 mm2 = mmap(0, 64, PROT_READ, MAP_PRIVATE, f2, 0); in main()
95 if ((mm1 == (void *)-1) || (mm2 == (void *)-1)) in main()
99 save_mm2 = mm2; in main()
104 if (strncmp(str2, mm2, strlen(str2))) in main()
108 munmap(mm2, 64); in main()
111 mm2 = mmap(save_mm1, 64, PROT_READ, MAP_PRIVATE, f2, 0); in main()
113 if ((mm1 == (void *)-1) || (mm2 == (void *)-1)) in main()
121 if (mm2 != save_mm1) { in main()
129 if (strncmp(str2, mm2, strlen(str2))) in main()
133 munmap(mm2, 64); in main()
163 if (mm2) in cleanup()
164 munmap(mm2, 64); in cleanup()