Lines Matching refs:mapped
68 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0);
69 if (mapped == MAP_FAILED && errno == ENOMEM)
74 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE,
78 if (mapped != MAP_FAILED)
84 *resp = crc32 (crc, mapped, st.st_size);
85 munmap (mapped, mapsize);
88 crc = crc32 (crc, mapped, mapsize);
91 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE,
92 fd, off) == mapped);
93 munmap (mapped, mapsize);