Lines Matching refs:trace_fd
182 static int record__aio_write(struct aiocb *cblock, int trace_fd, in record__aio_write() argument
187 cblock->aio_fildes = trace_fd; in record__aio_write()
342 int trace_fd = rec->session->data->file.fd; in record__aio_push() local
357 ret = record__aio_write(&(map->aio.cblocks[idx]), trace_fd, aio.data, aio.size, *off); in record__aio_push()
376 static off_t record__aio_get_pos(int trace_fd) in record__aio_get_pos() argument
378 return lseek(trace_fd, 0, SEEK_CUR); in record__aio_get_pos()
381 static void record__aio_set_pos(int trace_fd, off_t pos) in record__aio_set_pos() argument
383 lseek(trace_fd, pos, SEEK_SET); in record__aio_set_pos()
432 static off_t record__aio_get_pos(int trace_fd __maybe_unused) in record__aio_get_pos()
437 static void record__aio_set_pos(int trace_fd __maybe_unused, off_t pos __maybe_unused) in record__aio_set_pos()
1117 int trace_fd = rec->data.file.fd; in record__mmap_read_evlist() local
1131 off = record__aio_get_pos(trace_fd); in record__mmap_read_evlist()
1152 record__aio_set_pos(trace_fd, off); in record__mmap_read_evlist()
1172 record__aio_set_pos(trace_fd, off); in record__mmap_read_evlist()