/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 35 if (lseek(fd, idx, SEEK_CUR) == -1) 64 if (lseek(fd, idx, SEEK_CUR) == -1)
|
/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/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/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 | 17 // 1) read and lseek on every file in /proc 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); 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/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) {
|
H A D | hack-coff.c | 69 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1
|
/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); 75 printf("lseek failed (%d)\n", ret);
|
/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/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/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/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/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/testing/selftests/arm64/mte/ |
H A D | check_user_mem.c | 54 lseek(fd, 0, 0); 84 lseek(fd, 0, 0);
|
/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/powerpc/mm/ |
H A D | subpage_prot.c | 204 filesize = lseek(fd, 0, SEEK_END);
|