/linux-master/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 48 size = lseek(fd, 0, SEEK_END); 101 FAIL_IF(consumed != lseek(fd, 0, SEEK_END)); 195 const off_t size = lseek(fd, 0, SEEK_END); 280 size = lseek(fd, 0, SEEK_END);
|
/linux-master/tools/testing/selftests/net/ |
H A D | tls.c | 1415 ASSERT_EQ(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/mm/ |
H A D | ksm_functional_tests.c | 577 lseek(mem_fd, (uintptr_t) map + i, SEEK_SET);
|
H A D | compaction_test.c | 117 lseek(fd, 0, SEEK_SET); 127 lseek(fd, 0, SEEK_SET); 139 lseek(fd, 0, SEEK_SET);
|
H A D | hugepage-vmemmap.c | 59 lseek(fd, (unsigned long)addr / pagesize * sizeof(pagemap), SEEK_SET); 75 lseek(fd, pfn * sizeof(pageflags), SEEK_SET);
|
/linux-master/tools/perf/util/ |
H A D | symbol-elf.c | 1956 if (lseek(to, to_offs, SEEK_SET) != to_offs) 1959 if (lseek(from, from_offs, SEEK_SET) != from_offs)
|
H A D | session.c | 1703 lseek(fd, file_offset, SEEK_SET); 1720 lseek(fd, file_offset + event->header.size, SEEK_SET); 1800 if (lseek(fd, file_offset, SEEK_SET) == (off_t)-1 ||
|
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 | symbol-minimal.c | 307 if (lseek(fd, 0, SEEK_SET))
|
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 | hisi-ptt.c | 110 data_offset = lseek(fd, 0, SEEK_CUR);
|
H A D | cs-etm.c | 2826 data_offset = lseek(fd, 0, SEEK_CUR);
|
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 | intel-pt.c | 3615 data_offset = lseek(fd, 0, SEEK_CUR);
|
/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/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 862 ASSERT_LE(0, lseek(reg_fd, 0, SEEK_SET));
|
/linux-master/samples/seccomp/ |
H A D | user-trap.c | 159 if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { 170 if (lseek(mem, req->data.args[1], SEEK_SET) < 0) {
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 79 offset_rv = lseek(fd, 0, SEEK_SET); 140 offset_rv = lseek(fd, offset, SEEK_SET); 182 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET);
|
/linux-master/usr/ |
H A D | gen_init_cpio.c | 317 if (lseek(fd, 0, SEEK_SET) < 0)
|
/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/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/include/nolibc/ |
H A D | sys.h | 589 * off_t lseek(int fd, off_t offset, int whence); 603 off_t lseek(int fd, off_t offset, int whence) function
|
/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)
|