/linux-master/tools/perf/util/ |
H A D | hisi-ptt.c | 110 data_offset = lseek(fd, 0, SEEK_CUR);
|
H A D | header.c | 748 * Do a first pass to count number of pmu to avoid lseek so this 2415 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) 3482 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { 3483 pr_debug("Failed to lseek to %" PRIu64 " offset for feature " 3575 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); 3598 lseek(ff->fd, (*p)->offset, SEEK_SET); 3602 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; 3634 lseek(fd, sec_start + sec_size, SEEK_SET); 3641 lseek(fd, sec_start, SEEK_SET); 3691 lseek(f [all...] |
H A D | trace-event-info.c | 47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); 663 tdata->size = lseek(output_fd, 0, SEEK_CUR);
|
H A D | trace-event-read.c | 163 lseek(input_fd, size, SEEK_CUR);
|
H A D | symbol-minimal.c | 307 if (lseek(fd, 0, SEEK_SET))
|
H A D | data.c | 452 if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) { 454 pr_debug("Failed to lseek to %zu: %s",
|
H A D | probe-file.c | 1014 ret = lseek(pcache->fd, 0, SEEK_SET);
|
/linux-master/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 59 lseek(proc_fd, 0, SEEK_SET); 84 lseek(proc_fd, 0, SEEK_SET);
|
/linux-master/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.c | 190 lseek(fd, 0, SEEK_SET); 217 lseek(fd, 0, SEEK_SET);
|
/linux-master/tools/testing/selftests/x86/ |
H A D | test_shadow_stack.c | 297 lseek(fd, (unsigned long)ptr, SEEK_SET); 308 lseek(fd, (unsigned long)ptr, SEEK_SET);
|
/linux-master/arch/powerpc/boot/ |
H A D | addnote.c | 222 i = lseek(fd, (long) 0, SEEK_SET); 224 perror("lseek");
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso2c.c | 194 tmp_len = lseek(fd, 0, SEEK_END); 196 err(1, "lseek");
|
/linux-master/arch/sparc/vdso/ |
H A D | vdso2c.c | 168 tmp_len = lseek(fd, 0, SEEK_END); 170 err(1, "lseek");
|
/linux-master/tools/lib/bpf/ |
H A D | zip.c | 209 size = lseek(fd, 0, SEEK_END);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hugetlb-read-hwpoison.c | 81 if (lseek(fd, offset, SEEK_SET) < 0) {
|
H A D | ksm_functional_tests.c | 577 lseek(mem_fd, (uintptr_t) map + i, SEEK_SET);
|
/linux-master/tools/testing/selftests/sparc64/drivers/ |
H A D | adi-test.c | 299 ret = lseek(fd, offset, whence); 309 (void)lseek(fd, 0, SEEK_END);
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 74 if (lseek(in, offset, SEEK_SET) < 0) { 75 perror("copy: lseek"); 138 if ((off = lseek(file, offset, SEEK_SET)) < 0) {
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | migrate_reuseport.c | 167 err = lseek(fd, 0, SEEK_SET); 168 if (!ASSERT_OK(err, "lseek"))
|
/linux-master/usr/ |
H A D | gen_init_cpio.c | 317 if (lseek(fd, 0, SEEK_SET) < 0)
|
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 276 lseek(fd, 10, SEEK_SET);
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 945 CASE_TEST(lseek_m1); EXPECT_SYSER(1, lseek(-1, 0, SEEK_SET), -1, EBADF); break; 946 CASE_TEST(lseek_0); EXPECT_SYSER(1, lseek(0, 0, SEEK_SET), -1, ESPIPE); break; 1103 lseek(fd, 0, SEEK_SET);
|
/linux-master/tools/perf/ |
H A D | builtin-record.c | 477 return lseek(trace_fd, 0, SEEK_CUR); 482 lseek(trace_fd, pos, SEEK_SET); 722 file_offset = lseek(fd, 0, SEEK_CUR); 1783 data->file.size = lseek(perf_data__fd(data), 0, SEEK_CUR); 1786 data->dir.files[i].size = lseek(data->dir.files[i].fd, 0, SEEK_CUR);
|
H A D | builtin-inject.c | 250 offset = lseek(inject->output.file.fd, 0, SEEK_CUR); 1292 if (lseek(gs->tmp_fd, 0, SEEK_SET)) 2092 lseek(fd, output_data_offset, SEEK_SET);
|
/linux-master/fs/ |
H A D | read_write.c | 43 * vfs_setpos - update the file offset for lseek 95 * Here we special-case the lseek(fd, 0, SEEK_CUR) 98 * write() or lseek() might have altered it 311 SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence) 317 COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned int, whence)
|