Lines Matching defs:fname
51 static int read_fd (int fd, const char *fname, off_t fdlen);
52 static int read_elf (Elf *elf, int fd, const char *fname, off_t fdlen);
189 const char *fname = print_file_name ? argv[remaining] : NULL;
201 result |= read_fd (fd, fname, fdlen);
203 result |= read_elf (elf, fd, fname, fdlen);
312 process_chunk_mb (const char *fname, const unsigned char *buf, off_t to,
346 if (unlikely (fname != NULL))
348 fputs_unlocked (fname, stdout);
389 process_chunk (const char *fname, const unsigned char *buf, off_t to,
396 process_chunk_mb (fname, buf, to, len, unprinted);
414 if (likely (fname != NULL))
416 fputs_unlocked (fname, stdout);
501 read_block_no_mmap (int fd, const char *fname, off_t from, off_t fdlen)
538 process_chunk (fname, buf, from + nb, nb, &unprinted);
563 read_block (int fd, const char *fname, off_t fdlen, off_t from, off_t to)
585 return read_block_no_mmap (fd, fname, from, to - from);
612 process_chunk (fname, elfmap_base + (from - elfmap_off),
667 process_chunk (fname, remap_base - to_keep,
686 read_fd (int fd, const char *fname, off_t fdlen)
688 return read_block (fd, fname, fdlen, 0, fdlen);
693 read_elf (Elf *elf, int fd, const char *fname, off_t fdlen)
703 return read_fd (fd, fname, fdlen);
731 result |= read_block (fd, fname, fdlen, shdr->sh_offset,