Lines Matching refs:lseek
1039 off_t offset = lseek(fd, 0, SEEK_CUR); in write_pmu_mappings()
1064 lseek(fd, offset, SEEK_SET); in write_pmu_mappings()
1644 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids()
2167 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info()
2212 (*p)->offset = lseek(fd, 0, SEEK_CUR); in do_write_feat()
2219 lseek(fd, (*p)->offset, SEEK_SET); in do_write_feat()
2223 (*p)->size = lseek(fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat()
2250 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write()
2257 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write()
2299 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header()
2302 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
2310 attr_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
2327 header->data_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
2353 lseek(fd, 0, SEEK_SET); in perf_session__write_header()
2359 lseek(fd, header->data_offset + header->data_size, SEEK_SET); in perf_session__write_header()
2398 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections()
2536 lseek(fd, 0, SEEK_SET); in perf_file_header__read()
2607 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__process()
2784 lseek(fd, f_header.attrs.offset, SEEK_SET); in perf_session__read_header()
2796 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header()
2818 lseek(fd, f_attr.ids.offset, SEEK_SET); in perf_session__read_header()
2827 lseek(fd, tmp, SEEK_SET); in perf_session__read_header()
2993 off_t offset = lseek(session->fd, 0, SEEK_CUR); in perf_event__process_tracing_data()
2997 lseek(session->fd, offset + sizeof(struct tracing_data_event), in perf_event__process_tracing_data()