lseek 142 arch/alpha/boot/tools/mkbb.c lseek(dev, 0L, SEEK_SET); lseek 170 arch/alpha/boot/tools/objstrip.c lseek(fd, elf->e_phoff, SEEK_SET); lseek 228 arch/alpha/boot/tools/objstrip.c if (lseek(fd, offset, SEEK_SET) != offset) { lseek 74 arch/mips/boot/elf2ecoff.c if (lseek(in, offset, SEEK_SET) < 0) { lseek 138 arch/mips/boot/elf2ecoff.c if ((off = lseek(file, offset, SEEK_SET)) < 0) { lseek 19 arch/mips/include/asm/pmon.h off_t (*lseek) (int, off_t, int); lseek 37 arch/mips/include/asm/pmon.h #define pmon_lseek(fd, off, whence) debug_vectors->lseek(fd, off, whence) lseek 222 arch/powerpc/boot/addnote.c i = lseek(fd, (long) 0, SEEK_SET); lseek 69 arch/powerpc/boot/hack-coff.c if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 lseek 110 arch/powerpc/boot/mktree.c if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { lseek 141 arch/powerpc/boot/mktree.c if (lseek(out_fd, 0, SEEK_SET) < 0) { lseek 141 arch/sparc/boot/piggyback.c if (lseek(kernelfd, 0, SEEK_SET) < 0) lseek 157 arch/sparc/boot/piggyback.c if (lseek(kernelfd, offset, SEEK_SET) < 0) lseek 214 arch/sparc/boot/piggyback.c if (lseek(image, offset, 0) < 0) lseek 235 arch/sparc/boot/piggyback.c if (lseek(image, 4, 0) < 0) lseek 249 arch/sparc/boot/piggyback.c if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) lseek 168 arch/sparc/vdso/vdso2c.c tmp_len = lseek(fd, 0, SEEK_END); lseek 67 arch/um/os-Linux/user_syms.c EXPORT_SYMBOL_PROTO(lseek); lseek 189 arch/x86/entry/vdso/vdso2c.c tmp_len = lseek(fd, 0, SEEK_END); lseek 179 drivers/pci/hotplug/cpqphp_sysfs.c .llseek = lseek, lseek 322 fs/read_write.c SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence) lseek 328 fs/read_write.c COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned int, whence) lseek 986 samples/mic/mpssd/mpssd.c mic->mic_virtblk.backend_size = lseek(mic->mic_virtblk.backend, 0, lseek 1450 samples/mic/mpssd/mpssd.c ret = lseek(fd, 0, SEEK_SET); lseek 1556 samples/mic/mpssd/mpssd.c len = lseek(fd, 0, SEEK_END); lseek 155 samples/seccomp/user-trap.c if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { lseek 166 samples/seccomp/user-trap.c if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { lseek 445 scripts/mod/sumversion.c if (lseek(fd, offset, SEEK_SET) == (off_t)-1) { lseek 73 tools/leds/led_hw_brightness_mon.c ret = lseek(pollfd.fd, 0, SEEK_SET); lseek 151 tools/perf/builtin-inject.c offset = lseek(inject->output.file.fd, 0, SEEK_CUR); lseek 694 tools/perf/builtin-inject.c lseek(fd, output_data_offset, SEEK_SET); lseek 343 tools/perf/builtin-record.c return lseek(trace_fd, 0, SEEK_CUR); lseek 348 tools/perf/builtin-record.c lseek(trace_fd, pos, SEEK_SET); lseek 545 tools/perf/builtin-record.c file_offset = lseek(fd, 0, SEEK_CUR); lseek 1073 tools/perf/builtin-record.c data->file.size = lseek(perf_data__fd(data), 0, SEEK_CUR); lseek 51 tools/perf/tests/bpf.c lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); lseek 52 tools/perf/tests/bpf.c lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); lseek 117 tools/perf/util/arm-spe.c data_offset = lseek(fd, 0, SEEK_CUR); lseek 2312 tools/perf/util/cs-etm.c data_offset = lseek(fd, 0, SEEK_CUR); lseek 392 tools/perf/util/data.c if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) { lseek 2027 tools/perf/util/header.c if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) lseek 2883 tools/perf/util/header.c if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { lseek 2963 tools/perf/util/header.c (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); lseek 2970 tools/perf/util/header.c lseek(ff->fd, (*p)->offset, SEEK_SET); lseek 2974 tools/perf/util/header.c (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; lseek 3007 tools/perf/util/header.c lseek(fd, sec_start + sec_size, SEEK_SET); lseek 3014 tools/perf/util/header.c lseek(fd, sec_start, SEEK_SET); lseek 3061 tools/perf/util/header.c lseek(fd, sizeof(f_header), SEEK_SET); lseek 3064 tools/perf/util/header.c evsel->id_offset = lseek(fd, 0, SEEK_CUR); lseek 3072 tools/perf/util/header.c attr_offset = lseek(ff.fd, 0, SEEK_CUR); lseek 3090 tools/perf/util/header.c header->data_offset = lseek(fd, 0, SEEK_CUR); lseek 3116 tools/perf/util/header.c lseek(fd, 0, SEEK_SET); lseek 3122 tools/perf/util/header.c lseek(fd, header->data_offset + header->data_size, SEEK_SET); lseek 3161 tools/perf/util/header.c lseek(fd, header->feat_offset, SEEK_SET); lseek 3300 tools/perf/util/header.c lseek(fd, 0, SEEK_SET); lseek 3378 tools/perf/util/header.c if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { lseek 3572 tools/perf/util/header.c lseek(fd, f_header.attrs.offset, SEEK_SET); lseek 3587 tools/perf/util/header.c tmp = lseek(fd, 0, SEEK_CUR); lseek 3609 tools/perf/util/header.c lseek(fd, f_attr.ids.offset, SEEK_SET); lseek 3618 tools/perf/util/header.c lseek(fd, tmp, SEEK_SET); lseek 3808 tools/perf/util/header.c off_t offset = lseek(fd, 0, SEEK_CUR); lseek 3812 tools/perf/util/header.c lseek(fd, offset + sizeof(struct perf_record_header_tracing_data), lseek 654 tools/perf/util/intel-bts.c data_offset = lseek(fd, 0, SEEK_CUR); lseek 2656 tools/perf/util/intel-pt.c data_offset = lseek(fd, 0, SEEK_CUR); lseek 918 tools/perf/util/probe-file.c ret = lseek(pcache->fd, 0, SEEK_SET); lseek 979 tools/perf/util/s390-cpumsf.c data_offset = lseek(fd, 0, SEEK_CUR); lseek 1531 tools/perf/util/session.c lseek(fd, file_offset, SEEK_SET); lseek 1543 tools/perf/util/session.c lseek(fd, file_offset + event->header.size, SEEK_SET); lseek 1621 tools/perf/util/session.c if (lseek(fd, file_offset, SEEK_SET) == (off_t)-1 || lseek 1267 tools/perf/util/symbol-elf.c if (lseek(to, to_offs, SEEK_SET) != to_offs) lseek 1270 tools/perf/util/symbol-elf.c if (lseek(from, from_offs, SEEK_SET) != from_offs) lseek 303 tools/perf/util/symbol-minimal.c if (lseek(fd, 0, SEEK_SET)) lseek 47 tools/perf/util/trace-event-info.c off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); lseek 562 tools/perf/util/trace-event-info.c tdata->size = lseek(output_fd, 0, SEEK_CUR); lseek 161 tools/perf/util/trace-event-read.c lseek(input_fd, size, SEEK_CUR); lseek 151 tools/power/acpi/tools/ec/ec_access.c lseek(fd, 0, SEEK_SET); lseek 180 tools/power/acpi/tools/ec/ec_access.c error = lseek(fd, byte_offset, SEEK_SET); lseek 196 tools/power/acpi/tools/ec/ec_access.c error = lseek(fd, byte_offset, SEEK_SET); lseek 47 tools/power/cpupower/debug/i386/centrino-decode.c if (lseek(fd, msr, SEEK_CUR) == -1) lseek 42 tools/power/cpupower/debug/i386/powernow-k8-decode.c lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); lseek 36 tools/power/cpupower/utils/helpers/msr.c if (lseek(fd, idx, SEEK_CUR) == -1) lseek 65 tools/power/cpupower/utils/helpers/msr.c if (lseek(fd, idx, SEEK_CUR) == -1) lseek 1491 tools/testing/selftests/bpf/test_sysctl.c if (test->seek && lseek(fd, test->seek, SEEK_SET) == -1) { lseek 258 tools/testing/selftests/exec/execveat.c lseek(fd, 10, SEEK_SET); lseek 80 tools/testing/selftests/kvm/lib/elf.c offset_rv = lseek(fd, 0, SEEK_SET); lseek 141 tools/testing/selftests/kvm/lib/elf.c offset_rv = lseek(fd, offset, SEEK_SET); lseek 184 tools/testing/selftests/kvm/lib/elf.c offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); lseek 61 tools/testing/selftests/net/tcp_fastopen_backup_key.c lseek(proc_fd, 0, SEEK_SET); lseek 86 tools/testing/selftests/net/tcp_fastopen_backup_key.c lseek(proc_fd, 0, SEEK_SET); lseek 993 tools/testing/selftests/net/tls.c ASSERT_EQ(lseek(fd, 0, SEEK_SET), 0); lseek 86 tools/testing/selftests/powerpc/dscr/dscr.h lseek(fd, 0, SEEK_SET); lseek 204 tools/testing/selftests/powerpc/mm/subpage_prot.c filesize = lseek(fd, 0, SEEK_END); lseek 65 tools/testing/selftests/proc/proc-loadavg-001.c lseek(fd, 0, SEEK_SET); lseek 303 tools/testing/selftests/sparc64/drivers/adi-test.c ret = lseek(fd, offset, whence); lseek 313 tools/testing/selftests/sparc64/drivers/adi-test.c (void)lseek(fd, 0, SEEK_END); lseek 111 tools/testing/selftests/vm/compaction_test.c lseek(fd, 0, SEEK_SET); lseek 120 tools/testing/selftests/vm/compaction_test.c lseek(fd, 0, SEEK_SET); lseek 142 tools/testing/selftests/vm/compaction_test.c lseek(fd, 0, SEEK_SET);