Lines Matching refs:map
226 void parse_config_file(char *map, size_t len) in parse_config_file() argument
229 unsigned char *end_3 = (unsigned char *)map + len - 3; /* 3 == length of "IF_" */ in parse_config_file()
230 unsigned char *end_7 = (unsigned char *)map + len - 7; in parse_config_file()
231 unsigned char *p = (unsigned char *)map; in parse_config_file()
287 void *map; in do_config_file() local
300 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in do_config_file()
301 if ((long) map == -1) { in do_config_file()
307 parse_config_file(map, st.st_size); in do_config_file()
309 munmap(map, st.st_size); in do_config_file()
314 void parse_dep_file(void *map, size_t len) in parse_dep_file() argument
316 char *m = map; in parse_dep_file()
358 void *map; in print_deps() local
372 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_deps()
373 if ((long) map == -1) { in print_deps()
379 parse_dep_file(map, st.st_size); in print_deps()
381 munmap(map, st.st_size); in print_deps()