/Linux-v4.19/tools/perf/util/ |
D | symbol-minimal.c | 108 fseek(fp, 0, SEEK_SET); in filename__read_build_id() 128 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 152 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 179 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 203 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 300 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
|
D | header.c | 1953 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids() 2607 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info() 2692 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 2729 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 2736 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 2783 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header() 2838 lseek(fd, 0, SEEK_SET); in perf_session__write_header() 2844 lseek(fd, header->data_offset + header->data_size, SEEK_SET); in perf_session__write_header() 2883 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections() 3022 lseek(fd, 0, SEEK_SET); in perf_file_header__read() [all …]
|
/Linux-v4.19/tools/testing/selftests/vm/ |
D | compaction_test.c | 111 lseek(fd, 0, SEEK_SET); in check_compaction() 120 lseek(fd, 0, SEEK_SET); in check_compaction() 142 lseek(fd, 0, SEEK_SET); in check_compaction()
|
/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | elf.c | 81 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get() 142 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load() 185 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
/Linux-v4.19/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 480 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek() 487 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek() 532 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte() 542 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte() 579 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes() 591 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes() 633 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes() 645 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes()
|
/Linux-v4.19/tools/power/acpi/tools/ec/ |
D | ec_access.c | 152 lseek(fd, 0, SEEK_SET); in dump_ec() 181 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 197 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
|
/Linux-v4.19/arch/powerpc/boot/ |
D | mktree.c | 110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main() 141 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
|
/Linux-v4.19/arch/mips/boot/tools/ |
D | relocs.c | 269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_shdrs() 309 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) in read_strtabs() 333 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) in read_symtabs() 377 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) in read_relocs() 418 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0) in remove_relocs() 432 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0) in remove_relocs() 607 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) { in emit_relocs()
|
/Linux-v4.19/scripts/ |
D | extract-sys-certs.pl | 125 die $vmlinux if (!defined(sysseek(FD, $size_off, SEEK_SET))); 147 die $vmlinux if (!defined(sysseek(FD, $foff, SEEK_SET)));
|
D | recordmcount.c | 98 case SEEK_SET: in ulseek() 197 ulseek(fd_map, offset - 1, SEEK_SET); in make_nop_x86() 246 ulseek(fd_map, off, SEEK_SET); in make_nop_arm() 266 ulseek(fd_map, offset, SEEK_SET); in make_nop_arm64()
|
D | recordmcount.h | 206 ulseek(fd_map, sb.st_size, SEEK_SET); in append_func() 211 ulseek(fd_map, t, SEEK_SET); in append_func() 250 ulseek(fd_map, 0, SEEK_SET); in append_func() 399 ulseek(fd_map, (void *)relp - (void *)ehdr, SEEK_SET); in nop_mcount()
|
/Linux-v4.19/arch/sparc/boot/ |
D | piggyback.c | 152 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset() 168 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset()
|
/Linux-v4.19/tools/power/acpi/common/ |
D | cmfsize.c | 54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
|
/Linux-v4.19/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 65 lseek(fd, 0, SEEK_SET); in main()
|
/Linux-v4.19/arch/alpha/boot/tools/ |
D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET); in main() 228 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
|
D | mkbb.c | 142 lseek(dev, 0L, SEEK_SET); in main()
|
/Linux-v4.19/tools/perf/ui/ |
D | browser.c | 113 case SEEK_SET: in ui_browser__list_head_seek() 145 case SEEK_SET: in ui_browser__rb_tree_seek() 260 browser->seek(browser, 0, SEEK_SET); in ui_browser__reset_index() 382 browser->seek(browser, browser->top_idx, SEEK_SET); in ui_browser__update_nr_entries() 610 case SEEK_SET: in ui_browser__argv_seek()
|
/Linux-v4.19/tools/leds/ |
D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
/Linux-v4.19/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 89 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
/Linux-v4.19/tools/perf/tests/ |
D | bpf.c | 46 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop() 47 lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
|
/Linux-v4.19/Documentation/driver-api/ |
D | dma-buf.rst | 60 with offset=0 and whence=SEEK_END|SEEK_SET. SEEK_SET is supported to allow 61 the usual size discover pattern size = SEEK_END(0); SEEK_SET(0). Every other
|
/Linux-v4.19/tools/testing/selftests/x86/ |
D | mpx-dig.c | 195 off_t seek_ret = lseek(fd, table_vaddr, SEEK_SET); in read_bounds_table_into_buf() 368 off_t seek_ret = lseek(proc_pid_mem_fd, seekto, SEEK_SET); in fill_bounds_dir_buf_other()
|
/Linux-v4.19/arch/um/os-Linux/ |
D | mem.c | 160 if (lseek64(fd, len - 1, SEEK_SET) < 0) { in create_tmp_file()
|
/Linux-v4.19/arch/x86/tools/ |
D | relocs.c | 401 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs() 439 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_strtabs() 464 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() 497 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_relocs()
|
/Linux-v4.19/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 409 fseek(file, 0, SEEK_SET); in osl_find_rsdp_via_efi_by_keyword() 1217 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file() 1265 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file()
|