fread 207 arch/mips/boot/tools/relocs.c if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) fread 276 arch/mips/boot/tools/relocs.c if (fread(&shdr, sizeof(shdr), 1, fp) != 1) fread 313 arch/mips/boot/tools/relocs.c if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != fread 337 arch/mips/boot/tools/relocs.c if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != fread 381 arch/mips/boot/tools/relocs.c if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != fread 422 arch/mips/boot/tools/relocs.c if (fread(&shdr, sizeof(shdr), 1, fp) != 1) fread 75 arch/mips/boot/tools/relocs_main.c if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) fread 51 arch/mips/tools/elf-entry.c nread = fread(&hdr, 1, sizeof(hdr), file); fread 44 arch/x86/boot/compressed/mkpiggy.c if (fread(&olen, sizeof(olen), 1, f) != 1) { fread 312 arch/x86/boot/tools/build.c c = fread(buf, 1, sizeof(buf) - 1, file); fread 357 arch/x86/boot/tools/build.c c = fread(buf, 1, sizeof(buf), file); fread 340 arch/x86/tools/relocs.c if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) { fread 394 arch/x86/tools/relocs.c if (fread(&shdr, sizeof(shdr), 1, fp) != 1) fread 424 arch/x86/tools/relocs.c if (fread(&shdr, sizeof(shdr), 1, fp) != 1) fread 460 arch/x86/tools/relocs.c if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) fread 485 arch/x86/tools/relocs.c if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) fread 518 arch/x86/tools/relocs.c if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) fread 71 arch/x86/tools/relocs_common.c if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) { fread 646 drivers/net/wireless/marvell/libertas/debugfs.c #define FOPS(fread, fwrite) { \ fread 649 drivers/net/wireless/marvell/libertas/debugfs.c .read = (fread), \ fread 93 scripts/dtc/data.c ret = fread(d.val + d.len, 1, chunksize, f); fread 148 scripts/dtc/dtc.c if (fread(&magic, 4, 1, f) != 1) { fread 815 scripts/dtc/flattree.c rc = fread(&magic_buf, sizeof(magic_buf), 1, f); fread 830 scripts/dtc/flattree.c rc = fread(&totalsize_buf, sizeof(totalsize_buf), 1, f); fread 858 scripts/dtc/flattree.c rc = fread(p, 1, sizeleft, f); fread 157 scripts/kconfig/preprocess.c nread = fread(buf, 1, sizeof(buf), p); fread 13 scripts/mod/mk_elfconfig.c if (fread(ei, 1, EI_NIDENT, stdin) != EI_NIDENT) { fread 2409 scripts/mod/modpost.c if (fread(tmp, 1, b->pos, file) != b->pos) fread 795 tools/bpf/bpftool/prog.c while ((nb_read += fread(*data_ptr + nb_read, 1, block_size, f))) { fread 975 tools/firewire/nosy-dump.c if (fread(&length, sizeof length, 1, input) != 1) fread 977 tools/firewire/nosy-dump.c fread(buf, 1, length, input); fread 195 tools/hv/hv_kvp_daemon.c records_read += fread(readp, sizeof(struct kvp_record), fread 2845 tools/lib/bpf/libbpf.c read_cnt = fread(data, 1, st.st_size, f); fread 2307 tools/perf/ui/browsers/hists.c if (fread(&magic, 1, 8, file) < 8) fread 156 tools/perf/util/jitdump.c ret = fread(buf, sizeof(header), 1, jd->in); fread 222 tools/perf/util/jitdump.c ret = fread(buf, bs - bsz, 1, jd->in); fread 268 tools/perf/util/jitdump.c ret = fread(prefix, sizeof(*prefix), 1, jd->in); fread 298 tools/perf/util/jitdump.c ret = fread(addr, bs - sizeof(*prefix), 1, jd->in); fread 147 tools/perf/util/llvm-utils.c read_sz += fread(buf + read_sz, 1, READ_SIZE, file); fread 68 tools/perf/util/lzma.c strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); fread 393 tools/perf/util/pmu.c ret = fread(buf, 1, sizeof(buf), file); fread 101 tools/perf/util/symbol-minimal.c if (fread(e_ident, sizeof(e_ident), 1, fp) != 1) fread 117 tools/perf/util/symbol-minimal.c if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) fread 132 tools/perf/util/symbol-minimal.c if (fread(buf, buf_size, 1, fp) != 1) fread 156 tools/perf/util/symbol-minimal.c if (fread(buf, buf_size, 1, fp) != 1) fread 168 tools/perf/util/symbol-minimal.c if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) fread 183 tools/perf/util/symbol-minimal.c if (fread(buf, buf_size, 1, fp) != 1) fread 207 tools/perf/util/symbol-minimal.c if (fread(buf, buf_size, 1, fp) != 1) fread 167 tools/perf/util/vdso.c count = fread(buf, 1, sizeof(buf), f); fread 1221 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c count = fread(&header, 1, sizeof(struct acpi_table_header), table_file); fread 1267 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c count = fread(local_table, 1, table_length, table_file); fread 216 tools/power/acpi/tools/acpidump/apfiles.c actual = fread(buffer, 1, file_size, file); fread 1648 tools/testing/selftests/kvm/lib/kvm_util.c count = fread(&val, sizeof(char), 1, f); fread 37 tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c if (fread(buf, sizeof(*buf), sizeof(buf), f) > 0) { fread 386 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = fread(core_pattern, 1, PATH_MAX, f); fread 519 tools/usb/ffs-test.c return fread(buf, 1, nbytes, stdin); fread 136 tools/usb/testusb.c if (fread(u.buf, 1, 1, fd) != 1) fread 138 tools/usb/testusb.c if (fread(u.buf + 1, (unsigned char)u.buf[0] - 1, 1, fd) != 1) fread 155 tools/usb/testusb.c if (fread(&dev, sizeof dev, 1, fd) != 1) fread 81 tools/usb/usbip/libsrc/usbip_device_driver.c ret = fread((char *) &descr, sizeof(descr), 1, fd); fread 229 tools/vm/slabinfo.c l = fread(buffer, 1, sizeof(buffer), f); fread 71 tools/wmi/dell-smbios-example.c fread(buf, 1, 4096, f); fread 85 tools/wmi/dell-smbios-example.c fread(buf, 1, 4096, f); fread 150 tools/wmi/dell-smbios-example.c fread(buffer_size, sizeof(__u64), 1, f);