• Home
  • Raw
  • Download

Lines Matching refs:off64_t

56 static int read_fd (int fd, const char *fname, off64_t fdlen);
57 static int read_elf (Elf *elf, int fd, const char *fname, off64_t fdlen);
138 static off64_t elfmap_off;
190 off64_t fdlen = (fstat_fail in main()
192 if (fdlen > (off64_t) min_len_bytes) in main()
326 process_chunk_mb (const char *fname, const unsigned char *buf, off64_t to, in process_chunk_mb()
400 process_chunk (const char *fname, const unsigned char *buf, off64_t to, in process_chunk()
461 map_file (int fd, off64_t start_off, off64_t fdlen, size_t *map_sizep) in map_file()
481 size_t map_size = MIN ((off64_t) mmap_max, fdlen); in map_file()
517 read_block_no_mmap (int fd, const char *fname, off64_t from, off64_t fdlen) in read_block_no_mmap()
579 read_block (int fd, const char *fname, off64_t fdlen, off64_t from, off64_t to) in read_block()
581 assert ((off64_t) min_len_bytes < fdlen); in read_block()
606 if (to < (off64_t) elfmap_off || from > (off64_t) (elfmap_off + elfmap_size)) in read_block()
624 if (from >= (off64_t) elfmap_off in read_block()
625 && from < (off64_t) (elfmap_off + elfmap_size)) in read_block()
629 MIN (to, (off64_t) (elfmap_off + elfmap_size)), in read_block()
630 MIN (to, (off64_t) (elfmap_off + elfmap_size)) - from, in read_block()
633 if (to > (off64_t) (elfmap_off + elfmap_size)) in read_block()
638 assert (from >= (off64_t) elfmap_off in read_block()
639 && from < (off64_t) (elfmap_off + elfmap_size)); in read_block()
640 off64_t handled_to = elfmap_off + elfmap_size; in read_block()
702 read_fd (int fd, const char *fname, off64_t fdlen) in read_fd()
709 read_elf (Elf *elf, int fd, const char *fname, off64_t fdlen) in read_elf()