/linux-4.4.14/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-4.4.14/tools/power/cpupower/utils/helpers/ |
D | msr.c | 35 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr() 64 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
|
/linux-4.4.14/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-4.4.14/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-4.4.14/tools/perf/util/ |
D | header.c | 747 off_t offset = lseek(fd, 0, SEEK_CUR); in write_pmu_mappings() 772 lseek(fd, offset, SEEK_SET); in write_pmu_mappings() 1357 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids() 1964 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info() 2009 (*p)->offset = lseek(fd, 0, SEEK_CUR); in do_write_feat() 2016 lseek(fd, (*p)->offset, SEEK_SET); in do_write_feat() 2020 (*p)->size = lseek(fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat() 2047 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 2054 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 2096 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header() [all …]
|
D | trace-event-info.c | 64 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file() 549 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
|
D | trace-event-read.c | 180 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
|
D | symbol-minimal.c | 300 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
|
D | session.c | 1165 lseek(fd, file_offset, SEEK_SET); in perf_session__process_user_event() 1177 lseek(fd, file_offset + event->header.size, SEEK_SET); in perf_session__process_user_event() 1235 if (lseek(fd, file_offset, SEEK_SET) == (off_t)-1 || in perf_session__peek_event()
|
D | symbol-elf.c | 1204 if (lseek(to, to_offs, SEEK_SET) != to_offs) in copy_bytes() 1207 if (lseek(from, from_offs, SEEK_SET) != from_offs) in copy_bytes()
|
D | intel-bts.c | 658 data_offset = lseek(fd, 0, SEEK_CUR); in intel_bts_process_auxtrace_event()
|
D | intel-pt.c | 1770 data_offset = lseek(fd, 0, SEEK_CUR); in intel_pt_process_auxtrace_event()
|
/linux-4.4.14/arch/powerpc/boot/ |
D | mktree.c | 109 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main() 140 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()
|
D | addnote.c | 226 lseek(fd, (long) 0, SEEK_SET); in main()
|
/linux-4.4.14/arch/cris/boot/tools/ |
D | build.c | 238 lseek(id, GCC_HEADER, SEEK_SET); in main() 276 if (lseek(1, 497, 0) == 497) { in main() 280 if (lseek(1,500,0) == 500) { in main()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | compaction_test.c | 108 lseek(fd, 0, SEEK_SET); in check_compaction() 117 lseek(fd, 0, SEEK_SET); in check_compaction()
|
/linux-4.4.14/arch/mn10300/boot/tools/ |
D | build.c | 177 if (lseek(1, 497, SEEK_SET) != 497) in main() 182 if (lseek(1, 500, SEEK_SET) != 500) in main()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | cpqphp_sysfs.c | 168 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek() function 193 .llseek = lseek,
|
/linux-4.4.14/arch/alpha/boot/tools/ |
D | objstrip.c | 169 lseek(fd, elf->e_phoff, SEEK_SET); in main() 227 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
|
D | mkbb.c | 141 lseek(dev, 0L, SEEK_SET); in main()
|
/linux-4.4.14/tools/power/cpupower/debug/i386/ |
D | powernow-k8-decode.c | 43 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
D | centrino-decode.c | 48 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 91 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
/linux-4.4.14/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-4.4.14/arch/um/os-Linux/ |
D | user_syms.c | 66 EXPORT_SYMBOL_PROTO(lseek);
|
/linux-4.4.14/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 190 filesize = lseek(fd, 0, SEEK_END); in test_file()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vdso2c.c | 193 tmp_len = lseek(fd, 0, SEEK_END); in map_input()
|
/linux-4.4.14/tools/perf/ |
D | builtin-inject.c | 135 offset = lseek(inject->output.fd, 0, SEEK_CUR); in perf_event__repipe_auxtrace() 624 lseek(fd, output_data_offset, SEEK_SET); in __cmd_inject()
|
D | builtin-record.c | 161 file_offset = lseek(fd, 0, SEEK_CUR); in record__process_auxtrace() 753 file->size = lseek(perf_data_file__fd(file), 0, SEEK_CUR); in __cmd_record()
|
/linux-4.4.14/arch/mips/boot/ |
D | elf2ecoff.c | 72 if (lseek(in, offset, SEEK_SET) < 0) { in copy() 136 if ((off = lseek(file, offset, SEEK_SET)) < 0) { in saveRead()
|
/linux-4.4.14/tools/testing/selftests/exec/ |
D | execveat.c | 246 lseek(fd, 10, SEEK_SET); in run_tests()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 79 ENTRY_COMP(lseek)
|
/linux-4.4.14/Documentation/zh_CN/ |
D | gpio.txt | 596 轮询操作(poll(2))返回之后,既可以通过 lseek(2)操作读取
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 25 COMPAT_SYS_SPU(lseek)
|
/linux-4.4.14/Documentation/mic/mpssd/ |
D | mpssd.c | 997 mic->mic_virtblk.backend_size = lseek(mic->mic_virtblk.backend, 0, in set_backend_size() 1461 ret = lseek(fd, 0, SEEK_SET); in block_till_state_change() 1567 len = lseek(fd, 0, SEEK_END); in set_log_buf_info()
|
/linux-4.4.14/Documentation/gpio/ |
D | sysfs.txt | 81 poll(2) returns, either lseek(2) to the beginning of the sysfs
|
D | gpio-legacy.txt | 701 poll(2) returns, either lseek(2) to the beginning of the sysfs
|
/linux-4.4.14/fs/ |
D | read_write.c | 276 SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence) in SYSCALL_DEFINE3() argument 295 COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned int, whence) in COMPAT_SYSCALL_DEFINE3() argument
|
/linux-4.4.14/scripts/mod/ |
D | sumversion.c | 467 if (lseek(fd, offset, SEEK_SET) == (off_t)-1) { in write_version()
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 17 8 common lseek sys_lseek
|
D | syscall_32.tbl | 28 19 i386 lseek sys_lseek compat_sys_lseek
|
/linux-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 138 API-seq-lseek
|
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 452 if (lseek(elf_fd, ehdr->e_phoff, SEEK_SET) < 0) in map_elf() 498 lseek(fd, 0, SEEK_SET); in load_bzimage() 506 lseek(fd, (boot.hdr.setup_sects+1) * 512, SEEK_SET); in load_bzimage()
|
/linux-4.4.14/Documentation/usb/ |
D | usbmon.txt | 325 be polled with select(2) and poll(2). But lseek(2) does not work.
|
/linux-4.4.14/Documentation/filesystems/ |
D | hpfs.txt | 273 Directory lseek now checks for proper parameters
|
D | porting | 87 ->rmdir(), ->link(), ->lseek(), ->symlink(), ->rename()
|
D | spufs.txt | 58 read(2), pread(2), write(2), pwrite(2), lseek(2)
|
D | proc.txt | 1718 represents the current offset of the opened file in decimal form [see lseek(2)
|
/linux-4.4.14/Documentation/cdrom/ |
D | cdrom-standard.tex | 167 &NULL, & lseek \cr
|