Searched refs:elfmap_size (Results 1 – 1 of 1) sorted by relevance
/external/elfutils/src/src/ |
D | strings.c | 136 static size_t elfmap_size; variable 212 munmap (elfmap, elfmap_size); in main() 582 elfmap_base = elfmap = map_file (fd, elfmap_off, fdlen, &elfmap_size); in read_block() 603 if (to < (off64_t) elfmap_off || from > (off64_t) (elfmap_off + elfmap_size)) in read_block() 610 if (mmap64 (elfmap, elfmap_size, PROT_READ, in read_block() 622 && from < (off64_t) (elfmap_off + elfmap_size)) in read_block() 626 MIN (to, (off64_t) (elfmap_off + elfmap_size)), in read_block() 627 MIN (to, (off64_t) (elfmap_off + elfmap_size)) - from, in read_block() 630 if (to > (off64_t) (elfmap_off + elfmap_size)) in read_block() 633 size_t read_now = elfmap_size - (elfmap_base - elfmap); in read_block() [all …]
|