Lines Matching refs:mm1
67 char *mm1 = NULL, *mm2 = NULL; variable
92 mm1 = mmap(0, 64, PROT_READ, MAP_PRIVATE, f1, 0); in main()
95 if ((mm1 == (void *)-1) || (mm2 == (void *)-1)) in main()
98 save_mm1 = mm1; in main()
101 if (strncmp(str1, mm1, strlen(str1))) in main()
107 munmap(mm1, 64); in main()
110 mm1 = mmap(save_mm2, 64, PROT_READ, MAP_PRIVATE, f1, 0); in main()
113 if ((mm1 == (void *)-1) || (mm2 == (void *)-1)) in main()
116 if (mm1 != save_mm2) { in main()
126 if (strncmp(str1, mm1, strlen(str1))) in main()
132 munmap(mm1, 64); in main()
161 if (mm1) in cleanup()
162 munmap(mm1, 64); in cleanup()