| /Linux-v5.15/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-v5.15/tools/testing/selftests/kvm/lib/ |
| D | elf.c | 80 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get() 140 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load() 182 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
| /Linux-v5.15/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()
|
| /Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/tools/power/acpi/common/ |
| D | cmfsize.c | 54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
|
| /Linux-v5.15/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-v5.15/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-v5.15/tools/testing/selftests/proc/ |
| D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET); in main()
|
| D | read.c | 49 (void)lseek(fd, 0, SEEK_SET); in f_reg()
|
| /Linux-v5.15/tools/leds/ |
| D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
| /Linux-v5.15/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-v5.15/tools/testing/selftests/powerpc/dscr/ |
| D | dscr.h | 86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
| /Linux-v5.15/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-v5.15/tools/testing/selftests/net/ |
| D | tcp_fastopen_backup_key.c | 61 lseek(proc_fd, 0, SEEK_SET); in get_keys() 86 lseek(proc_fd, 0, SEEK_SET); in set_keys()
|
| /Linux-v5.15/tools/testing/selftests/arm64/mte/ |
| D | mte_common_util.c | 183 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory() 210 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory_tag_range()
|
| /Linux-v5.15/arch/x86/tools/ |
| D | relocs.c | 394 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_ehdr() 421 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs() 459 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_strtabs() 484 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() 517 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_relocs()
|
| /Linux-v5.15/arch/um/os-Linux/ |
| D | mem.c | 160 if (lseek64(fd, len - 1, SEEK_SET) < 0) { in create_tmp_file()
|