| /linux/tools/perf/util/ |
| A 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()
|
| A D | header.c | 3434 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 3471 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 3478 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 3525 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header() 3588 lseek(fd, 0, SEEK_SET); in perf_session__write_header() 3633 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections() 3772 lseek(fd, 0, SEEK_SET); in perf_file_header__read() 4055 lseek(fd, f_header.attrs.offset, SEEK_SET); in perf_session__read_header() 4092 lseek(fd, f_attr.ids.offset, SEEK_SET); in perf_session__read_header() 4101 lseek(fd, tmp, SEEK_SET); in perf_session__read_header() [all …]
|
| /linux/tools/testing/selftests/sparc64/drivers/ |
| A 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/tools/testing/selftests/kvm/lib/ |
| A 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() 181 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
| /linux/tools/testing/selftests/vm/ |
| A 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/tools/power/acpi/tools/ec/ |
| A 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/arch/mips/boot/tools/ |
| A 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/arch/powerpc/boot/ |
| A 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/scripts/ |
| A 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)));
|
| A 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()
|
| A 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/arch/sparc/boot/ |
| A 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/tools/perf/ui/ |
| A 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/arch/alpha/boot/tools/ |
| A D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET); in main() 228 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
|
| A D | mkbb.c | 142 lseek(dev, 0L, SEEK_SET); in main()
|
| /linux/arch/x86/tools/ |
| A D | relocs.c | 418 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) in read_ehdr() 445 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs() 483 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_strtabs() 510 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() 530 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_symtabs() 570 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { in read_relocs()
|
| /linux/tools/power/acpi/common/ |
| A D | cmfsize.c | 54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
|
| /linux/samples/seccomp/ |
| A 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/tools/testing/selftests/proc/ |
| A D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET); in main()
|
| A D | read.c | 49 (void)lseek(fd, 0, SEEK_SET); in f_reg()
|
| /linux/tools/leds/ |
| A D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
| /linux/tools/perf/tests/ |
| A 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/tools/testing/selftests/powerpc/dscr/ |
| A D | dscr.h | 86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
| /linux/tools/testing/selftests/arm64/mte/ |
| A 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/tools/testing/selftests/net/ |
| A 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()
|