/linux/tools/perf/util/ |
H A D | symbol-minimal.c | 103 if (fread(e_ident, sizeof(e_ident), 1, fp) != 1) in filename__read_build_id() 119 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) in filename__read_build_id() 134 if (fread(buf, buf_size, 1, fp) != 1) in filename__read_build_id() 158 if (fread(buf, buf_size, 1, fp) != 1) in filename__read_build_id() 171 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) in filename__read_build_id() 186 if (fread(buf, buf_size, 1, fp) != 1) in filename__read_build_id() 210 if (fread(buf, buf_size, 1, fp) != 1) in filename__read_build_id()
|
H A D | lzma.c | 66 strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); in lzma_decompress_to_file()
|
H A D | jitdump.c | 163 ret = fread(buf, sizeof(header), 1, jd->in); in jit_open() 229 ret = fread(buf, bs - bsz, 1, jd->in); in jit_open() 277 ret = fread(prefix, sizeof(*prefix), 1, jd->in); in jit_get_next_entry() 307 ret = fread(addr, bs - sizeof(*prefix), 1, jd->in); in jit_get_next_entry()
|
H A D | data.c | 407 if (fread(buf, size, 1, data->file.fptr) == 1) in perf_data__read() 567 if (fread(&magic, 1, 8, file) < 8) in is_perf_data()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_synproxy.c | 103 size = fread(buf, 1, sizeof(buf), ctrl_file); in test_synproxy() 111 size = fread(buf, 1, sizeof(buf), ctrl_file); in test_synproxy() 152 size = fread(buf, 1, sizeof(buf), ctrl_file); in test_synproxy()
|
/linux/tools/wmi/ |
H A D | dell-smbios-example.c | 71 fread(buf, 1, 4096, f); in find_token() 85 fread(buf, 1, 4096, f); in find_token() 150 fread(buffer_size, sizeof(__u64), 1, f); in query_buffer_size()
|
/linux/arch/s390/tools/ |
H A D | relocs.c | 120 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) in read_ehdr() 168 if (fread(&shdr, sizeof(shdr), 1, fp) != 1) in read_ehdr() 197 if (fread(&shdr, sizeof(shdr), 1, fp) != 1) { in read_shdrs() 236 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_relocs() 378 if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) in main()
|
/linux/arch/x86/boot/tools/ |
H A D | build.c | 155 c = fread(buf, 1, sizeof(buf) - 1, file); in parse_zoffset() 194 c = fread(buf, 1, sizeof(buf), file); in main()
|
/linux/arch/mips/boot/tools/ |
H A D | relocs.c | 207 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) in read_ehdr() 276 if (fread(&shdr, sizeof(shdr), 1, fp) != 1) in read_shdrs() 313 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != in read_strtabs() 337 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != in read_symtabs() 381 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != in read_relocs() 422 if (fread(&shdr, sizeof(shdr), 1, fp) != 1) in remove_relocs()
|
H A D | relocs_main.c | 75 if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) in main()
|
/linux/tools/usb/ |
H A D | testusb.c | 142 if (fread(u.buf, 1, 1, fd) != 1) in testdev_ffs_ifnum() 144 if (fread(u.buf + 1, (unsigned char)u.buf[0] - 1, 1, fd) != 1) in testdev_ffs_ifnum() 161 if (fread(&dev, sizeof dev, 1, fd) != 1) in testdev_ifnum()
|
/linux/scripts/mod/ |
H A D | mk_elfconfig.c | 12 if (fread(ei, 1, EI_NIDENT, stdin) != EI_NIDENT) { in main()
|
/linux/tools/testing/selftests/arm64/pauth/ |
H A D | exec_target.c | 16 fread(&val, sizeof(size_t), 1, stdin); in main()
|
/linux/arch/x86/tools/ |
H A D | relocs.c | 373 if (fread(&ehdr, sizeof(ehdr), 1, fp) != 1) in read_ehdr() 422 if (fread(&shdr, sizeof(shdr), 1, fp) != 1) in read_ehdr() 451 if (fread(&shdr, sizeof(shdr), 1, fp) != 1) in read_shdrs() 487 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_strtabs() 509 if (fread(sec->xsymtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs() 525 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs() 563 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_relocs()
|
H A D | relocs_common.c | 71 if (fread(&e_ident, 1, EI_NIDENT, fp) != EI_NIDENT) { in main()
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | dmx_fcalls.rst | 14 dmx-fread
|
/linux/arch/x86/boot/compressed/ |
H A D | mkpiggy.c | 44 if (fread(&olen, sizeof(olen), 1, f) != 1) { in main()
|
/linux/tools/testing/selftests/lsm/ |
H A D | common.c | 61 red = fread(lsms, 1, size, fp); in read_sysfs_lsms()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | proc.c | 91 if (fread(&tmp, 1, 1, fnetstat) != 1 || tmp != ':') in netstat_read_type() 114 if (fread(&tmp, 1, 1, fnetstat) != 1 || tmp != '\n') in netstat_read_type()
|
/linux/arch/mips/tools/ |
H A D | elf-entry.c | 51 nread = fread(&hdr, 1, sizeof(hdr), file); in main()
|
/linux/scripts/ipe/polgen/ |
H A D | polgen.c | 42 read = fread((void *)lbuf, sizeof(*lbuf), fsize, fd); in policy_to_buffer()
|
/linux/tools/power/acpi/tools/acpidump/ |
H A D | apfiles.c | 216 actual = fread(buffer, 1, file_size, file); in ap_get_table_from_file()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_cpuid.c | 33 if (fread(buf, sizeof(*buf), sizeof(buf), f) > 0) { in smt_possible()
|
/linux/tools/usb/usbip/libsrc/ |
H A D | usbip_device_driver.c | 81 ret = fread((char *) &descr, sizeof(descr), 1, fd); in read_usb_vudc_device()
|
/linux/tools/arch/x86/intel_sdsi/ |
H A D | intel_sdsi.c | 244 ret = fread(&s->regs, sizeof(uint8_t), sizeof(s->regs), regs_ptr); in sdsi_update_registers() 376 size = fread(buf, 1, sizeof(buf), cert_ptr); in sdsi_meter_cert_show() 459 size = fread(buf, 1, sizeof(buf), cert_ptr); in sdsi_state_cert_show()
|