/Linux-v6.1/tools/perf/util/ |
D | symbol-minimal.c | 113 fseek(fp, 0, SEEK_SET); in filename__read_build_id() 133 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 157 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 184 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 208 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 305 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | compaction_test.c | 112 lseek(fd, 0, SEEK_SET); in check_compaction() 121 lseek(fd, 0, SEEK_SET); in check_compaction() 143 lseek(fd, 0, SEEK_SET); in check_compaction()
|
D | hugepage-vmemmap.c | 63 lseek(fd, (unsigned long)addr / PAGE_SIZE * sizeof(pagemap), SEEK_SET); in virt_to_pfn() 79 lseek(fd, pfn * sizeof(pageflags), SEEK_SET); in check_page_flags()
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/ |
D | elf.c | 79 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get() 139 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load() 180 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
/Linux-v6.1/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 476 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek() 483 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek() 528 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte() 538 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte() 575 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes() 587 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes() 629 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes() 641 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes()
|
/Linux-v6.1/tools/power/acpi/tools/ec/ |
D | ec_access.c | 151 lseek(fd, 0, SEEK_SET); in dump_ec() 180 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 196 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | subprogs.c | 19 lseek(ctx->fd, SEEK_SET, 0); in toggle_jit_harden() 21 lseek(ctx->fd, SEEK_SET, 0); in toggle_jit_harden()
|
/Linux-v6.1/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-v6.1/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-v6.1/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 | 84 case SEEK_SET: in ulseek() 237 if (ulseek(offset - 1, SEEK_SET) < 0) in make_nop_x86() 288 if (ulseek(off, SEEK_SET) < 0) in make_nop_arm() 310 if (ulseek(offset, SEEK_SET) < 0) in make_nop_arm64()
|
D | recordmcount.h | 290 if (ulseek(sb.st_size, SEEK_SET) < 0) in append_func() 298 if (ulseek(t, SEEK_SET) < 0) in append_func() 343 if (ulseek(0, SEEK_SET) < 0) in append_func() 496 if (ulseek((void *)relp - (void *)ehdr, SEEK_SET) < 0) in nop_mcount()
|
/Linux-v6.1/arch/sparc/boot/ |
D | piggyback.c | 141 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset() 161 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset()
|
/Linux-v6.1/tools/power/acpi/common/ |
D | cmfsize.c | 54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
|
/Linux-v6.1/tools/perf/ui/ |
D | browser.c | 112 case SEEK_SET: in ui_browser__list_head_seek() 144 case SEEK_SET: in ui_browser__rb_tree_seek() 259 browser->seek(browser, 0, SEEK_SET); in ui_browser__reset_index() 383 browser->seek(browser, browser->top_idx, SEEK_SET); in ui_browser__update_nr_entries() 611 case SEEK_SET: in ui_browser__argv_seek()
|
/Linux-v6.1/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-v6.1/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET); in main()
|
/Linux-v6.1/tools/leds/ |
D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
/Linux-v6.1/samples/seccomp/ |
D | user-trap.c | 155 if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { in handle_req() 166 if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { in handle_req()
|
/Linux-v6.1/arch/x86/tools/ |
D | relocs.c | 419 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_ehdr() 446 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs() 484 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_strtabs() 511 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() 531 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() 571 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_relocs()
|
/Linux-v6.1/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
/Linux-v6.1/tools/perf/tests/ |
D | bpf.c | 53 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop() 54 lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
|
/Linux-v6.1/tools/testing/selftests/arm64/mte/ |
D | mte_common_util.c | 190 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory() 217 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory_tag_range()
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.c | 59 lseek(proc_fd, 0, SEEK_SET); in get_keys() 84 lseek(proc_fd, 0, SEEK_SET); in set_keys()
|