Lines Matching refs:lseek

2367 			if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1)  in perf_header__read_build_ids()
3416 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info()
3509 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat()
3532 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat()
3536 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat()
3570 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write()
3577 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write()
3625 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__do_write_header()
3628 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__do_write_header()
3636 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__do_write_header()
3662 header->data_offset = lseek(fd, 0, SEEK_CUR); in perf_session__do_write_header()
3688 lseek(fd, 0, SEEK_SET); in perf_session__do_write_header()
3694 lseek(fd, header->data_offset + header->data_size, SEEK_SET); in perf_session__do_write_header()
3762 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections()
3901 lseek(fd, 0, SEEK_SET); in perf_file_header__read()
3979 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__process()
4184 lseek(fd, f_header.attrs.offset, SEEK_SET); in perf_session__read_header()
4199 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header()
4221 lseek(fd, f_attr.ids.offset, SEEK_SET); in perf_session__read_header()
4230 lseek(fd, tmp, SEEK_SET); in perf_session__read_header()
4430 off_t offset = lseek(fd, 0, SEEK_CUR); in perf_event__process_tracing_data()
4433 lseek(fd, offset + sizeof(struct perf_record_header_tracing_data), in perf_event__process_tracing_data()