/linux-4.4.14/arch/sparc/boot/ |
H A D | piggyback.c | 152 if (lseek(kernelfd, 0, SEEK_SET) < 0) get_hdrs_offset() 153 die("lseek"); get_hdrs_offset() 168 if (lseek(kernelfd, offset, SEEK_SET) < 0) get_hdrs_offset() 169 die("lseek"); get_hdrs_offset() 225 if (lseek(image, offset, 0) < 0) main() 226 die("lseek"); main() 246 if (lseek(image, 4, 0) < 0) main() 247 die("lseek"); main() 260 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) main() 261 die("lseek"); main()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | pmon.h | 19 off_t (*lseek) (int, off_t, int); member in struct:callvectors 37 #define pmon_lseek(fd, off, whence) debug_vectors->lseek(fd, off, whence)
|
/linux-4.4.14/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 35 if (lseek(fd, idx, SEEK_CUR) == -1) read_msr() 64 if (lseek(fd, idx, SEEK_CUR) == -1) write_msr()
|
/linux-4.4.14/arch/alpha/boot/tools/ |
H A D | objstrip.c | 169 lseek(fd, elf->e_phoff, SEEK_SET); main() 227 if (lseek(fd, offset, SEEK_SET) != offset) { main() 228 perror("lseek"); main()
|
H A D | mkbb.c | 141 lseek(dev, 0L, SEEK_SET); main()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | linux32.c | 106 /* From the Single Unix Spec: pread & pwrite act like lseek to pos + op + 107 lseek back to original location. They fail just like lseek does on
|
/linux-4.4.14/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 152 lseek(fd, 0, SEEK_SET); dump_ec() 181 error = lseek(fd, byte_offset, SEEK_SET); read_ec_val() 197 error = lseek(fd, byte_offset, SEEK_SET); write_ec_val()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | io_edgeport.h | 52 * This interface uses read/write/lseek interface to talk to the edgeport driver 62 /* The parameters to the lseek() for the read is: */
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | mktree.c | 109 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { main() 140 if (lseek(out_fd, 0, SEEK_SET) < 0) { main()
|
H A D | hack-coff.c | 73 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 main()
|
H A D | addnote.c | 226 lseek(fd, (long) 0, SEEK_SET); main()
|
/linux-4.4.14/tools/power/cpupower/debug/i386/ |
H A D | powernow-k8-decode.c | 43 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); get_fidvid()
|
H A D | centrino-decode.c | 48 if (lseek(fd, msr, SEEK_CUR) == -1) rdmsr()
|
/linux-4.4.14/tools/perf/util/ |
H A D | header.c | 747 off_t offset = lseek(fd, 0, SEEK_CUR); write_pmu_mappings() 772 lseek(fd, offset, SEEK_SET); write_pmu_mappings() 1357 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) perf_header__read_build_ids() 1964 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { perf_file_section__fprintf_info() 1965 pr_debug("Failed to lseek to %" PRIu64 " offset for feature " perf_file_section__fprintf_info() 2009 (*p)->offset = lseek(fd, 0, SEEK_CUR); do_write_feat() 2016 lseek(fd, (*p)->offset, SEEK_SET); do_write_feat() 2020 (*p)->size = lseek(fd, 0, SEEK_CUR) - (*p)->offset; do_write_feat() 2047 lseek(fd, sec_start + sec_size, SEEK_SET); perf_header__adds_write() 2054 lseek(fd, sec_start, SEEK_SET); perf_header__adds_write() 2096 lseek(fd, sizeof(f_header), SEEK_SET); perf_session__write_header() 2099 evsel->id_offset = lseek(fd, 0, SEEK_CUR); perf_session__write_header() 2107 attr_offset = lseek(fd, 0, SEEK_CUR); perf_session__write_header() 2125 header->data_offset = lseek(fd, 0, SEEK_CUR); 2151 lseek(fd, 0, SEEK_SET); 2157 lseek(fd, header->data_offset + header->data_size, SEEK_SET); 2196 lseek(fd, header->feat_offset, SEEK_SET); perf_header__process_sections() 2335 lseek(fd, 0, SEEK_SET); perf_file_header__read() 2406 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { perf_file_section__process() 2407 pr_debug("Failed to lseek to %" PRIu64 " offset for feature " perf_file_section__process() 2587 lseek(fd, f_header.attrs.offset, SEEK_SET); perf_session__read_header() 2602 tmp = lseek(fd, 0, SEEK_CUR); perf_session__read_header() 2624 lseek(fd, f_attr.ids.offset, SEEK_SET); perf_session__read_header() 2633 lseek(fd, tmp, SEEK_SET); perf_session__read_header() 2800 off_t offset = lseek(fd, 0, SEEK_CUR); perf_event__process_tracing_data() 2804 lseek(fd, offset + sizeof(struct tracing_data_event), perf_event__process_tracing_data()
|
H A D | trace-event-info.c | 64 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); record_file() 549 tdata->size = lseek(output_fd, 0, SEEK_CUR); tracing_data_get()
|
H A D | symbol-minimal.c | 300 if (lseek(fd, 0, SEEK_SET)) fd__is_64_bit()
|
H A D | trace-event-read.c | 180 lseek(input_fd, size, SEEK_CUR); read_proc_kallsyms()
|
H A D | session.c | 1165 lseek(fd, file_offset, SEEK_SET); perf_session__process_user_event() 1177 lseek(fd, file_offset + event->header.size, SEEK_SET); perf_session__process_user_event() 1235 if (lseek(fd, file_offset, SEEK_SET) == (off_t)-1 || perf_session__peek_event()
|
H A D | intel-bts.c | 658 data_offset = lseek(fd, 0, SEEK_CUR); intel_bts_process_auxtrace_event()
|
H A D | symbol-elf.c | 1204 if (lseek(to, to_offs, SEEK_SET) != to_offs) copy_bytes() 1207 if (lseek(from, from_offs, SEEK_SET) != from_offs) copy_bytes()
|
H A D | intel-pt.c | 1770 data_offset = lseek(fd, 0, SEEK_CUR); intel_pt_process_auxtrace_event()
|
/linux-4.4.14/arch/mn10300/boot/tools/ |
H A D | build.c | 177 if (lseek(1, 497, SEEK_SET) != 497) main() 182 if (lseek(1, 500, SEEK_SET) != 500) main()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
H A D | compaction_test.c | 108 lseek(fd, 0, SEEK_SET); check_compaction() 117 lseek(fd, 0, SEEK_SET); check_compaction()
|
/linux-4.4.14/arch/um/os-Linux/ |
H A D | user_syms.c | 66 EXPORT_SYMBOL_PROTO(lseek); variable
|
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr.h | 91 lseek(fd, 0, SEEK_SET); get_default_dscr()
|
/linux-4.4.14/arch/cris/boot/tools/ |
H A D | build.c | 238 lseek(id, GCC_HEADER, SEEK_SET); main() 276 if (lseek(1, 497, 0) == 497) { main() 280 if (lseek(1,500,0) == 500) { main()
|
/linux-4.4.14/drivers/pci/hotplug/ |
H A D | cpqphp_sysfs.c | 168 static loff_t lseek(struct file *file, loff_t off, int whence) lseek() function 193 .llseek = lseek,
|
/linux-4.4.14/arch/x86/entry/vdso/ |
H A D | vdso2c.c | 193 tmp_len = lseek(fd, 0, SEEK_END); map_input() 195 err(1, "lseek"); map_input()
|
/linux-4.4.14/fs/hpfs/ |
H A D | dir.c | 39 /*pr_info("dir lseek\n");*/ hpfs_dir_lseek() 54 /*pr_warn("illegal lseek: %016llx\n", new_off);*/ hpfs_dir_lseek()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | cpuid.c | 16 * This device is accessed by lseek() to the appropriate CPUID level
|
H A D | msr.c | 17 * This device is accessed by lseek() to the appropriate register number
|
/linux-4.4.14/tools/testing/selftests/powerpc/mm/ |
H A D | subpage_prot.c | 190 filesize = lseek(fd, 0, SEEK_END); test_file()
|
/linux-4.4.14/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 9 * device by calling hmcdrv_dev_init(). After open() a lseek(fd, 0, 157 * lseek()
|
/linux-4.4.14/fs/ |
H A D | read_write.c | 42 * vfs_setpos - update the file offset for lseek 94 * Here we special-case the lseek(fd, 0, SEEK_CUR) generic_file_llseek_size() 97 * write() or lseek() might have altered it generic_file_llseek_size() 276 SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence) SYSCALL_DEFINE3() 295 COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned int, whence) COMPAT_SYSCALL_DEFINE3()
|
H A D | seq_file.c | 87 * seq_files support lseek() and pread(). They do not implement seq_open()
|
/linux-4.4.14/arch/mips/boot/ |
H A D | elf2ecoff.c | 72 if (lseek(in, offset, SEEK_SET) < 0) { copy() 73 perror("copy: lseek"); copy() 136 if ((off = lseek(file, offset, SEEK_SET)) < 0) { saveRead()
|
/linux-4.4.14/arch/um/drivers/ |
H A D | cow_user.c | 205 cow_printf("write_cow_header - lseek failed, err = %d\n", -err); write_cow_header() 422 cow_printf("cow bitmap lseek failed : err = %d\n", -err); init_cow_file()
|
H A D | ubd_kern.c | 1382 printk("do_io - bitmap lseek failed : err = %d\n", -n); update_bitmap() 1433 printk("do_io - lseek failed : err = %d\n", -err); do_io()
|
/linux-4.4.14/scripts/ |
H A D | recordmcount.c | 116 fprintf(stderr, "lseek: seek before file\n"); ulseek() 227 * malloc+lseek+read+free of many pieces. If successful, then mmap
|
H A D | sortextable.c | 85 * malloc+lseek+read+free of many pieces. If successful, then mmap
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | systbl.h | 25 COMPAT_SYS_SPU(lseek)
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-inject.c | 135 offset = lseek(inject->output.fd, 0, SEEK_CUR); perf_event__repipe_auxtrace() 624 lseek(fd, output_data_offset, SEEK_SET); __cmd_inject()
|
H A D | builtin-record.c | 161 file_offset = lseek(fd, 0, SEEK_CUR); record__process_auxtrace() 753 file->size = lseek(perf_data_file__fd(file), 0, SEEK_CUR); __cmd_record()
|
H A D | builtin-trace.c | 1127 { .name = "lseek", .errmsg = true,
|
/linux-4.4.14/scripts/mod/ |
H A D | sumversion.c | 467 if (lseek(fd, offset, SEEK_SET) == (off_t)-1) { write_version()
|
/linux-4.4.14/Documentation/mic/mpssd/ |
H A D | mpssd.c | 997 mic->mic_virtblk.backend_size = lseek(mic->mic_virtblk.backend, 0, set_backend_size() 1461 ret = lseek(fd, 0, SEEK_SET); block_till_state_change() 1567 len = lseek(fd, 0, SEEK_END); set_log_buf_info()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-vbi.c | 440 Non-4-byte alignment happens when an lseek is done on the input ivtv_process_vbi_data()
|
/linux-4.4.14/fs/sysfs/ |
H A D | file.c | 59 * Invoke show(). Control may reach here via seq file lseek even sysfs_kf_seq_show()
|
/linux-4.4.14/arch/microblaze/include/uapi/asm/ |
H A D | unistd.h | 154 #define __NR__llseek 140 /* remove only lseek */
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | syscall_table.S | 79 ENTRY_COMP(lseek)
|
/linux-4.4.14/tools/testing/selftests/exec/ |
H A D | execveat.c | 246 lseek(fd, 10, SEEK_SET); run_tests()
|
/linux-4.4.14/fs/ceph/ |
H A D | file.c | 1181 * Here we special-case the lseek(fd, 0, SEEK_CUR) ceph_llseek() 1184 * write() or lseek() might have altered it ceph_llseek()
|
/linux-4.4.14/drivers/scsi/fnic/ |
H A D | fnic_debugfs.c | 287 * This routine is the entry point for the debugfs lseek file operation.
|
/linux-4.4.14/drivers/char/ |
H A D | mem.c | 671 * Special lseek() function for /dev/null and /dev/zero. Most notably, you
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | unistd.h | 9 * should be added, e.g. we don't use lseek when llseek
|
/linux-4.4.14/fs/ext4/ |
H A D | extents_status.c | 28 * lseek SEEK_DATA/SEEK_HOLE support. That is why it is still called
|
/linux-4.4.14/arch/powerpc/xmon/ |
H A D | spu-insns.h | 347 52 rt[0] = lseek(ra0, ra1, ra2)
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | fsys.S | 568 data8 0 // lseek // 1040
|
/linux-4.4.14/fs/proc/ |
H A D | task_mmu.c | 150 /* See m_cache_vma(). Zero at the start or after lseek. */ m_start()
|
H A D | base.c | 3346 * return. lseek aka telldir automagically resets f_version to 0. proc_task_readdir()
|
/linux-4.4.14/tools/lguest/ |
H A D | lguest.c | 452 if (lseek(elf_fd, ehdr->e_phoff, SEEK_SET) < 0) map_elf() 498 lseek(fd, 0, SEEK_SET); load_bzimage() 506 lseek(fd, (boot.hdr.setup_sects+1) * 512, SEEK_SET); load_bzimage()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-tape.c | 1487 * versions of tar incorrectly call lseek on tapes and bail out if that idetape_chrdev_open()
|
/linux-4.4.14/fs/ocfs2/ |
H A D | aops.c | 1427 /* treat the write as new if the a hole/lseek spanned across ocfs2_prepare_page_for_write()
|
/linux-4.4.14/kernel/trace/ |
H A D | ftrace.c | 3173 * If an lseek was done, then reset and start from beginning. t_start() 3336 * tracing_lseek() should be used as the lseek routine, and
|
/linux-4.4.14/Documentation/cdrom/ |
H A D | cdrom-standard.tex | 167 &NULL, & lseek \cr
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 1155 * This routine is the entry point for the debugfs lseek file operation. The
|
/linux-4.4.14/drivers/scsi/ |
H A D | st.c | 1261 * versions of tar incorrectly call lseek on tapes and bail out if that st_open()
|
H A D | osst.c | 4459 * versions of tar incorrectly call lseek on tapes and bail out if that __os_scsi_tape_open()
|