Lines Matching full:map1
58 static char *map1; variable
107 * map1 + (i * RIM_CHUNK_SIZE)
119 chunk_start = (char *)((unsigned long)map1 + in compute_chunk_start_addr()
185 * address == map1 +
578 mprotect(map1, size, PROT_READ); in mem_snapshot_fn()
581 * Load from the working alias (map1). Loading from map2 in mem_snapshot_fn()
584 memcpy(tmp, map1, size); in mem_snapshot_fn()
598 mprotect(map1, size, PROT_READ|PROT_WRITE); in mem_snapshot_fn()
659 map1 = shmat(shmid, NULL, 0); in main()
660 if (map1 == (void *) -1) { in main()
677 …printf("Allocated address:0x%016lx + secondary map:0x%016lx\n", (unsigned long)map1, (unsigned lon… in main()
715 pthread_create(&mem_snapshot_thread, &attr, mem_snapshot_fn, map1); in main()