/linux-master/arch/alpha/boot/tools/ |
H A D | mkbb.c | 142 lseek(dev, 0L, SEEK_SET);
|
H A D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET); 228 if (lseek(fd, offset, SEEK_SET) != offset) { 229 perror("lseek");
|
/linux-master/arch/powerpc/boot/ |
H A D | addnote.c | 222 i = lseek(fd, (long) 0, SEEK_SET); 224 perror("lseek");
|
H A D | hack-coff.c | 69 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1
|
H A D | mktree.c | 110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { 141 if (lseek(out_fd, 0, SEEK_SET) < 0) {
|
/linux-master/drivers/pci/hotplug/ |
H A D | cpqphp_sysfs.c | 154 static loff_t lseek(struct file *file, loff_t off, int whence) function 179 .llseek = lseek,
|
/linux-master/tools/leds/ |
H A D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); 75 printf("lseek failed (%d)\n", ret);
|
/linux-master/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 151 lseek(fd, 0, SEEK_SET); 180 error = lseek(fd, byte_offset, SEEK_SET); 196 error = lseek(fd, byte_offset, SEEK_SET);
|
/linux-master/tools/power/cpupower/debug/i386/ |
H A D | centrino-decode.c | 47 if (lseek(fd, msr, SEEK_CUR) == -1)
|
H A D | powernow-k8-decode.c | 42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR);
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 204 filesize = 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/arch/sparc/boot/ |
H A D | piggyback.c | 141 if (lseek(kernelfd, 0, SEEK_SET) < 0) 142 die("lseek"); 161 if (lseek(kernelfd, offset, SEEK_SET) < 0) 162 die("lseek"); 218 if (lseek(image, offset, 0) < 0) 219 die("lseek"); 239 if (lseek(image, 4, 0) < 0) 240 die("lseek"); 253 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) 254 die("lseek"); [all...] |
/linux-master/arch/sparc/vdso/ |
H A D | vdso2c.c | 168 tmp_len = lseek(fd, 0, SEEK_END); 170 err(1, "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/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)
|
/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/bootconfig/ |
H A D | main.c | 191 if (lseek(fd, -BOOTCONFIG_MAGIC_LEN, SEEK_END) < 0) 192 return pr_errno("Failed to lseek for magic", -errno); 201 if (lseek(fd, -(8 + BOOTCONFIG_MAGIC_LEN), SEEK_END) < 0) 202 return pr_errno("Failed to lseek for size", -errno); 218 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN), 220 return pr_errno("Failed to lseek", -errno);
|
/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/tools/lib/bpf/ |
H A D | zip.c | 209 size = lseek(fd, 0, SEEK_END);
|
/linux-master/tools/perf/ |
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);
|
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);
|
/linux-master/tools/perf/util/ |
H A D | arm-spe.c | 964 data_offset = lseek(fd, 0, SEEK_CUR);
|
H A D | cs-etm.c | 2826 data_offset = lseek(fd, 0, SEEK_CUR);
|
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",
|