/Linux-v4.19/arch/sparc/boot/ |
D | piggyback.c | 152 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset() 168 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset() 225 if (lseek(image, offset, 0) < 0) in main() 246 if (lseek(image, 4, 0) < 0) in main() 260 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) in main()
|
/Linux-v4.19/tools/testing/selftests/vm/ |
D | compaction_test.c | 111 lseek(fd, 0, SEEK_SET); in check_compaction() 120 lseek(fd, 0, SEEK_SET); in check_compaction() 142 lseek(fd, 0, SEEK_SET); in check_compaction()
|
/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | elf.c | 81 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get() 142 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load() 185 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
/Linux-v4.19/tools/power/cpupower/utils/helpers/ |
D | msr.c | 36 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr() 65 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | pmon.h | 19 off_t (*lseek) (int, off_t, int); member 37 #define pmon_lseek(fd, off, whence) debug_vectors->lseek(fd, off, whence)
|
/Linux-v4.19/tools/power/acpi/tools/ec/ |
D | ec_access.c | 152 lseek(fd, 0, SEEK_SET); in dump_ec() 181 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 197 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
|
/Linux-v4.19/arch/powerpc/boot/ |
D | mktree.c | 110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main() 141 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
|
D | hack-coff.c | 73 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 in main()
|
/Linux-v4.19/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 65 lseek(fd, 0, SEEK_SET); in main()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | cpqphp_sysfs.c | 154 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek() function 179 .llseek = lseek,
|
/Linux-v4.19/arch/alpha/boot/tools/ |
D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET); in main() 228 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
|
D | mkbb.c | 142 lseek(dev, 0L, SEEK_SET); in main()
|
/Linux-v4.19/tools/leds/ |
D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
/Linux-v4.19/tools/perf/util/ |
D | header.c | 1953 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids() 2607 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info() 2685 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat() 2692 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 2696 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat() 2729 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 2736 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 2783 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header() 2786 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header() 2794 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__write_header() [all …]
|
D | trace-event-info.c | 63 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file() 576 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
|
D | data.c | 178 if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) { in perf_data__switch()
|
/Linux-v4.19/tools/power/cpupower/debug/i386/ |
D | centrino-decode.c | 48 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
D | powernow-k8-decode.c | 43 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
/Linux-v4.19/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 89 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
/Linux-v4.19/tools/perf/tests/ |
D | bpf.c | 46 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop() 47 lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
|
/Linux-v4.19/Documentation/fmc/ |
D | fmc-chardev.txt | 15 Currently the driver only supports read and write: you can lseek to the 46 is not specific to FMC at all, it just uses lseek, read and write.
|
/Linux-v4.19/arch/um/os-Linux/ |
D | user_syms.c | 67 EXPORT_SYMBOL_PROTO(lseek);
|
/Linux-v4.19/tools/testing/selftests/x86/ |
D | mpx-dig.c | 195 off_t seek_ret = lseek(fd, table_vaddr, SEEK_SET); in read_bounds_table_into_buf() 368 off_t seek_ret = lseek(proc_pid_mem_fd, seekto, SEEK_SET); in fill_bounds_dir_buf_other()
|
/Linux-v4.19/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 204 filesize = lseek(fd, 0, SEEK_END); in test_file()
|
/Linux-v4.19/arch/sparc/vdso/ |
D | vdso2c.c | 174 tmp_len = lseek(fd, 0, SEEK_END); in map_input()
|