Lines Matching refs:map
223 static void parse_config_file(char *map, size_t len)
225 int *end = (int *) (map + len);
226 /* start at +1, so that p can never be < map */
227 int *m = (int *) map + 1;
237 if (p > map + len - 7)
241 for (q = p + 7; q < map + len; q++) {
272 void *map;
285 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
286 if ((long) map == -1) {
292 parse_config_file(map, st.st_size);
294 munmap(map, st.st_size);
299 static void parse_dep_file(void *map, size_t len)
301 char *m = map;
343 void *map;
357 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
358 if ((long) map == -1) {
364 parse_dep_file(map, st.st_size);
366 munmap(map, st.st_size);