Searched refs:map_fd (Results 1 – 3 of 3) sorted by relevance
192 int map_fd; in build_so_list_from_mapfile() local197 map_fd = open (map_pathname, O_RDONLY); in build_so_list_from_mapfile()199 if (map_fd < 0) in build_so_list_from_mapfile()209 lseek (map_fd, 0, SEEK_SET); in build_so_list_from_mapfile()212 mapbuf_size = read (map_fd, mapbuf, mapbuf_allocation_size); in build_so_list_from_mapfile()221 close (map_fd); in build_so_list_from_mapfile()
5409 int map_fd; in iterate_over_mappings() local5420 if ((map_fd = open (pathname, O_RDONLY)) < 0) in iterate_over_mappings()5424 make_cleanup_close (map_fd); in iterate_over_mappings()5428 if (fstat (map_fd, &sbuf) != 0) in iterate_over_mappings()5433 if (read (map_fd, (char *) prmaps, nmap * sizeof (*prmaps)) in iterate_over_mappings()
1993 map_fd instead of a single fd. Non-sysv4.2mp procfs models