Searched refs:elfmap_size (Results 1 – 1 of 1) sorted by relevance
/external/elfutils/src/ |
D | strings.c | 139 static size_t elfmap_size; variable 215 munmap (elfmap, elfmap_size); in main() 571 elfmap_base = elfmap = map_file (fd, elfmap_off, fdlen, &elfmap_size); in read_block() 592 if (to < (off_t) elfmap_off || from > (off_t) (elfmap_off + elfmap_size)) in read_block() 599 if (mmap (elfmap, elfmap_size, PROT_READ, in read_block() 611 && from < (off_t) (elfmap_off + elfmap_size)) in read_block() 615 MIN (to, (off_t) (elfmap_off + elfmap_size)), in read_block() 616 MIN (to, (off_t) (elfmap_off + elfmap_size)) - from, in read_block() 619 if (to > (off_t) (elfmap_off + elfmap_size)) in read_block() 622 size_t read_now = elfmap_size - (elfmap_base - elfmap); in read_block() [all …]
|