/linux-master/tools/power/acpi/common/ |
H A D | cmfsize.c | 54 status = fseek(file, current_offset, SEEK_SET);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | subprogs.c | 19 lseek(ctx->fd, SEEK_SET, 0); 21 lseek(ctx->fd, 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/tools/testing/selftests/proc/ |
H A D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET);
|
H A D | read.c | 49 (void)lseek(fd, 0, SEEK_SET);
|
/linux-master/tools/testing/selftests/thermal/intel/power_floor/ |
H A D | power_floor_test.c | 74 if ((lseek(fd, 0L, SEEK_SET)) < 0) { 95 if ((lseek(fd, 0L, SEEK_SET)) < 0) {
|
/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/testing/selftests/mm/ |
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); local 75 lseek(fd, pfn * sizeof(pageflags), SEEK_SET);
|
H A D | mkdirty.c | 110 lseek(mem_fd, (uintptr_t) mem, SEEK_SET); 140 lseek(mem_fd, (uintptr_t) mem, SEEK_SET);
|
/linux-master/tools/perf/util/ |
H A D | symbol-minimal.c | 113 fseek(fp, 0, SEEK_SET); 133 fseek(fp, ehdr.e_phoff, SEEK_SET); 157 fseek(fp, offset, SEEK_SET); 185 fseek(fp, ehdr.e_phoff, SEEK_SET); 209 fseek(fp, offset, SEEK_SET); 307 if (lseek(fd, 0, SEEK_SET))
|
/linux-master/arch/powerpc/boot/ |
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/scripts/ |
H A D | extract-sys-certs.pl | 7 use Fcntl "SEEK_SET"; 125 die $vmlinux if (!defined(sysseek(FD, $size_off, SEEK_SET))); 147 die $vmlinux if (!defined(sysseek(FD, $foff, SEEK_SET)));
|
H A D | recordmcount.h | 290 if (ulseek(sb.st_size, SEEK_SET) < 0) 298 if (ulseek(t, SEEK_SET) < 0) 343 if (ulseek(0, SEEK_SET) < 0) 496 if (ulseek((void *)relp - (void *)ehdr, SEEK_SET) < 0)
|
/linux-master/tools/testing/selftests/filelock/ |
H A D | ofdlocks.c | 16 fl->l_whence = SEEK_SET; 28 fl->l_whence = SEEK_SET;
|
/linux-master/tools/testing/selftests/thermal/intel/workload_hint/ |
H A D | workload_hint_test.c | 117 if ((lseek(fd, 0L, SEEK_SET)) < 0) { 138 if ((lseek(fd, 0L, SEEK_SET)) < 0) {
|
/linux-master/tools/leds/ |
H A D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET);
|
/linux-master/arch/sparc/boot/ |
H A D | piggyback.c | 141 if (lseek(kernelfd, 0, SEEK_SET) < 0) 161 if (lseek(kernelfd, offset, SEEK_SET) < 0)
|
/linux-master/tools/testing/selftests/sparc64/drivers/ |
H A D | adi-test.c | 476 offset_out = seek_adi(fd, offset_in, SEEK_SET); 483 offset_out = seek_adi(fd, offset_in, SEEK_SET); 528 oret = seek_adi(fd, offset, SEEK_SET); 538 oret = seek_adi(fd, offset, SEEK_SET); 575 oret = seek_adi(fd, offset, SEEK_SET); 587 oret = seek_adi(fd, offset, SEEK_SET); 629 oret = seek_adi(fd, offset, SEEK_SET); 641 oret = seek_adi(fd, offset, SEEK_SET);
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 309 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) 333 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) 377 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) 418 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0) 432 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0) 607 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) {
|
/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) {
|
/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/arch/s390/tools/ |
H A D | relocs.c | 165 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 191 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) 233 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
|
/linux-master/drivers/char/ |
H A D | adi.c | 193 case SEEK_SET:
|