Lines Matching refs:trace_fd
287 static int record__aio_write(struct aiocb *cblock, int trace_fd, in record__aio_write() argument
292 cblock->aio_fildes = trace_fd; in record__aio_write()
451 int trace_fd = rec->session->data->file.fd; in record__aio_push() local
466 ret = record__aio_write(&(map->aio.cblocks[idx]), trace_fd, aio.data, aio.size, *off); in record__aio_push()
485 static off_t record__aio_get_pos(int trace_fd) in record__aio_get_pos() argument
487 return lseek(trace_fd, 0, SEEK_CUR); in record__aio_get_pos()
490 static void record__aio_set_pos(int trace_fd, off_t pos) in record__aio_set_pos() argument
492 lseek(trace_fd, pos, SEEK_SET); in record__aio_set_pos()
541 static off_t record__aio_get_pos(int trace_fd __maybe_unused) in record__aio_get_pos()
546 static void record__aio_set_pos(int trace_fd __maybe_unused, off_t pos __maybe_unused) in record__aio_set_pos()
1582 int trace_fd = rec->data.file.fd; in record__mmap_read_evlist() local
1598 off = record__aio_get_pos(trace_fd); in record__mmap_read_evlist()
1619 record__aio_set_pos(trace_fd, off); in record__mmap_read_evlist()
1639 record__aio_set_pos(trace_fd, off); in record__mmap_read_evlist()