Home
last modified time | relevance | path

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

12

/linux-3.4.99/arch/sparc/boot/
Dpiggyback.c152 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-3.4.99/arch/mips/include/asm/
Dpmon.h19 off_t (*lseek) (int, off_t, int); member
37 #define pmon_lseek(fd, off, whence) debug_vectors->lseek(fd, off, whence)
/linux-3.4.99/tools/power/cpupower/utils/helpers/
Dmsr.c35 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr()
64 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
/linux-3.4.99/tools/perf/util/
Dheader.c1466 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids()
1548 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info()
1593 (*p)->offset = lseek(fd, 0, SEEK_CUR); in do_write_feat()
1600 lseek(fd, (*p)->offset, SEEK_SET); in do_write_feat()
1604 (*p)->size = lseek(fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat()
1631 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write()
1638 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write()
1679 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header()
1685 attr->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
1701 header->attr_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
[all …]
Dtrace-event-read.c319 save_seek = lseek(input_fd, 0, SEEK_CUR); in get_next_page()
321 ret = lseek(input_fd, cpu_data[cpu].offset, SEEK_SET); in get_next_page()
329 lseek(input_fd, save_seek, SEEK_SET); in get_next_page()
Dtrace-event-info.c166 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
509 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
/linux-3.4.99/arch/powerpc/boot/
Dmktree.c109 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main()
140 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
Dhack-coff.c73 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 in main()
Daddnote.c184 lseek(fd, (long) 0, SEEK_SET); in main()
/linux-3.4.99/arch/cris/boot/tools/
Dbuild.c238 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-3.4.99/arch/mn10300/boot/tools/
Dbuild.c177 if (lseek(1, 497, SEEK_SET) != 497) in main()
182 if (lseek(1, 500, SEEK_SET) != 500) in main()
/linux-3.4.99/arch/alpha/boot/tools/
Dobjstrip.c166 lseek(fd, elf->e_phoff, SEEK_SET); in main()
224 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
Dmkbb.c141 lseek(dev, 0L, SEEK_SET); in main()
/linux-3.4.99/tools/power/cpupower/debug/i386/
Dcentrino-decode.c48 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
Dpowernow-k8-decode.c43 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
/linux-3.4.99/drivers/pci/hotplug/
Dcpqphp_sysfs.c168 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek() function
211 .llseek = lseek,
/linux-3.4.99/arch/um/os-Linux/
Duser_syms.c66 EXPORT_SYMBOL_PROTO(lseek);
/linux-3.4.99/arch/mips/boot/
Delf2ecoff.c71 if (lseek(in, offset, SEEK_SET) < 0) { in copy()
135 if ((off = lseek(file, offset, SEEK_SET)) < 0) { in saveRead()
/linux-3.4.99/scripts/
Drecordmcount.c82 off_t const w = lseek(fd, offset, whence); in ulseek()
/linux-3.4.99/tools/perf/
Dbuiltin-record.c314 u64 size = lseek(rec->output, 0, SEEK_CUR); in process_buildids()
518 rec->post_processing_offset = lseek(output, 0, SEEK_CUR); in __cmd_record()
/linux-3.4.99/tools/lguest/
Dlguest.c395 if (lseek(elf_fd, ehdr->e_phoff, SEEK_SET) < 0) in map_elf()
441 lseek(fd, 0, SEEK_SET); in load_bzimage()
449 lseek(fd, (boot.hdr.setup_sects+1) * 512, SEEK_SET); in load_bzimage()
/linux-3.4.99/arch/parisc/kernel/
Dsyscall_table.S79 ENTRY_DIFF(lseek)
/linux-3.4.99/arch/x86/syscalls/
Dsyscall_64.tbl17 8 common lseek sys_lseek
Dsyscall_32.tbl28 19 i386 lseek sys_lseek sys32_lseek
/linux-3.4.99/scripts/mod/
Dsumversion.c467 if (lseek(fd, offset, SEEK_SET) == (off_t)-1) { in write_version()

12