Lines Matching refs:fname
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);
188 const char *fname = print_file_name ? argv[remaining] : NULL;
200 result |= read_fd (fd, fname, fdlen);
202 result |= read_elf (elf, fd, fname, fdlen);
326 process_chunk_mb (const char *fname, const unsigned char *buf, off64_t to,
360 if (unlikely (fname != NULL))
362 fputs_unlocked (fname, stdout);
400 process_chunk (const char *fname, const unsigned char *buf, off64_t to,
407 process_chunk_mb (fname, buf, to, len, unprinted);
425 if (likely (fname != NULL))
427 fputs_unlocked (fname, stdout);
517 read_block_no_mmap (int fd, const char *fname, off64_t from, off64_t fdlen)
554 process_chunk (fname, buf, from + nb, nb, &unprinted);
579 read_block (int fd, const char *fname, off64_t fdlen, off64_t from, off64_t to)
603 return read_block_no_mmap (fd, fname, from, to - from);
628 process_chunk (fname, elfmap_base + (from - elfmap_off),
683 process_chunk (fname, remap_base - to_keep,
702 read_fd (int fd, const char *fname, off64_t fdlen)
704 return read_block (fd, fname, fdlen, 0, fdlen);
709 read_elf (Elf *elf, int fd, const char *fname, off64_t fdlen)
719 return read_fd (fd, fname, fdlen);
731 result |= read_block (fd, fname, fdlen, shdr->sh_offset,