Searched refs:replay_file (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/replay/ |
H A D | replay-internal.c | 31 FILE *replay_file; variable 49 if (replay_file) { in replay_put_byte() 50 if (putc(byte, replay_file) == EOF) { in replay_put_byte() 83 if (replay_file) { in replay_put_array() 85 if (fwrite(buf, 1, size, replay_file) != size) { in replay_put_array() 94 if (replay_file) { in replay_get_byte() 95 int r = getc(replay_file); in replay_get_byte() 107 if (replay_file) { in replay_get_word() 118 if (replay_file) { in replay_get_dword() 129 if (replay_file) { in replay_get_qword() [all …]
|
H A D | replay.c | 342 assert(!replay_file); in replay_enable() 358 replay_file = fopen(fname, fmode); in replay_enable() 359 if (replay_file == NULL) { in replay_enable() 376 fseek(replay_file, HEADER_SIZE, SEEK_SET); in replay_enable() 384 fseek(replay_file, HEADER_SIZE, SEEK_SET); in replay_enable() 463 if (replay_file) { in replay_finish() 474 fseek(replay_file, 0, SEEK_SET); in replay_finish() 478 fclose(replay_file); in replay_finish() 479 replay_file = NULL; in replay_finish()
|
H A D | replay-time.c | 20 g_assert(replay_file); in replay_save_clock() 51 g_assert(replay_file && replay_mutex_locked()); in replay_read_clock()
|
H A D | replay-snapshot.c | 25 state->file_offset = ftell(replay_file); in replay_pre_save() 34 fseek(replay_file, state->file_offset, SEEK_SET); in replay_post_load()
|
H A D | replay-internal.h | 103 extern FILE *replay_file;
|
H A D | replay-events.c | 102 if (!replay_file || replay_mode == REPLAY_MODE_NONE in replay_add_event()
|