Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 85) sorted by relevance

1234

/linux/arch/sparc/boot/
A Dpiggyback.c141 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset()
161 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset()
218 if (lseek(image, offset, 0) < 0) in main()
239 if (lseek(image, 4, 0) < 0) in main()
253 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) in main()
/linux/tools/testing/selftests/kvm/lib/
A Delf.c80 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get()
140 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load()
181 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
/linux/tools/testing/selftests/vm/
A Dcompaction_test.c112 lseek(fd, 0, SEEK_SET); in check_compaction()
121 lseek(fd, 0, SEEK_SET); in check_compaction()
143 lseek(fd, 0, SEEK_SET); in check_compaction()
/linux/tools/power/cpupower/utils/helpers/
A Dmsr.c35 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr()
64 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
/linux/tools/power/acpi/tools/ec/
A Dec_access.c151 lseek(fd, 0, SEEK_SET); in dump_ec()
180 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val()
196 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
/linux/tools/testing/selftests/arm64/mte/
A Dcheck_user_mem.c38 lseek(fd, 0, 0); in check_usermem_access_fault()
62 lseek(fd, 0, 0); in check_usermem_access_fault()
A Dmte_common_util.c183 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory()
210 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory_tag_range()
/linux/arch/powerpc/boot/
A Dmktree.c110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main()
141 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
A Dhack-coff.c69 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 in main()
/linux/tools/perf/util/
A Dheader.c3434 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat()
3478 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write()
3525 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header()
3536 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__write_header()
3588 lseek(fd, 0, SEEK_SET); in perf_session__write_header()
3633 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections()
3772 lseek(fd, 0, SEEK_SET); in perf_file_header__read()
4070 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header()
4092 lseek(fd, f_attr.ids.offset, SEEK_SET); in perf_session__read_header()
4101 lseek(fd, tmp, SEEK_SET); in perf_session__read_header()
[all …]
A Dtrace-event-info.c47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
562 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
/linux/drivers/pci/hotplug/
A Dcpqphp_sysfs.c154 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek() function
179 .llseek = lseek,
/linux/arch/alpha/boot/tools/
A Dobjstrip.c170 lseek(fd, elf->e_phoff, SEEK_SET); in main()
228 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
A Dmkbb.c142 lseek(dev, 0L, SEEK_SET); in main()
/linux/tools/bootconfig/
A Dmain.c191 if (lseek(fd, -BOOTCONFIG_MAGIC_LEN, SEEK_END) < 0) in load_xbc_from_initrd()
201 if (lseek(fd, -(8 + BOOTCONFIG_MAGIC_LEN), SEEK_END) < 0) in load_xbc_from_initrd()
218 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN), in load_xbc_from_initrd()
/linux/samples/seccomp/
A Duser-trap.c155 if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { in handle_req()
166 if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { in handle_req()
/linux/tools/testing/selftests/proc/
A Dproc-loadavg-001.c64 lseek(fd, 0, SEEK_SET); in main()
A Dread.c49 (void)lseek(fd, 0, SEEK_SET); in f_reg()
/linux/tools/leds/
A Dled_hw_brightness_mon.c73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
/linux/tools/power/cpupower/debug/i386/
A Dpowernow-k8-decode.c42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
A Dcentrino-decode.c47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
/linux/tools/perf/tests/
A Dbpf.c53 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
54 lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
/linux/tools/testing/selftests/powerpc/dscr/
A Ddscr.h86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
/linux/tools/testing/selftests/net/
A Dtcp_fastopen_backup_key.c61 lseek(proc_fd, 0, SEEK_SET); in get_keys()
86 lseek(proc_fd, 0, SEEK_SET); in set_keys()
/linux/arch/um/os-Linux/
A Duser_syms.c67 EXPORT_SYMBOL_PROTO(lseek);

Completed in 31 milliseconds

1234