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