Home
last modified time | relevance | path

Searched refs:cur_log (Results 1 – 4 of 4) sorted by relevance

/external/fio/
Diolog.c680 struct io_logs *cur_log; in free_log() local
682 cur_log = flist_first_entry(&log->io_logs, struct io_logs, list); in free_log()
683 flist_del_init(&cur_log->list); in free_log()
684 free(cur_log->log); in free_log()
685 sfree(cur_log); in free_log()
1085 struct io_logs *cur_log; in flush_log() local
1087 cur_log = flist_first_entry(&log->io_logs, struct io_logs, list); in flush_log()
1088 flist_del_init(&cur_log->list); in flush_log()
1091 flush_hist_samples(f, log->hist_coarseness, cur_log->log, in flush_log()
1092 log_sample_sz(log, cur_log)); in flush_log()
[all …]
Dstat.c1981 struct io_logs *cur_log; in get_new_log() local
1997 cur_log = smalloc(sizeof(*cur_log)); in get_new_log()
1998 if (cur_log) { in get_new_log()
1999 INIT_FLIST_HEAD(&cur_log->list); in get_new_log()
2000 cur_log->log = malloc(new_size); in get_new_log()
2001 if (cur_log->log) { in get_new_log()
2002 cur_log->nr_samples = 0; in get_new_log()
2003 cur_log->max_samples = new_samples; in get_new_log()
2004 flist_add_tail(&cur_log->list, &iolog->io_logs); in get_new_log()
2006 return cur_log; in get_new_log()
[all …]
Diolog.h162 static inline size_t log_sample_sz(struct io_log *log, struct io_logs *cur_log) in log_sample_sz() argument
164 return cur_log->nr_samples * log_entry_sz(log); in log_sample_sz()
179 struct io_logs *cur_log, in get_sample() argument
182 return __get_sample(cur_log->log, iolog->log_offset, sample); in get_sample()
Dserver.c1728 struct io_logs *cur_log, z_stream *stream) in __fio_append_iolog_gz_hist() argument
1739 for (i = 0; i < cur_log->nr_samples; i++) { in __fio_append_iolog_gz_hist()
1744 s = get_sample(log, cur_log, i); in __fio_append_iolog_gz_hist()
1777 struct io_logs *cur_log, z_stream *stream) in __fio_append_iolog_gz() argument
1784 return __fio_append_iolog_gz_hist(first, log, cur_log, stream); in __fio_append_iolog_gz()
1786 stream->next_in = (void *) cur_log->log; in __fio_append_iolog_gz()
1787 stream->avail_in = cur_log->nr_samples * log_entry_sz(log); in __fio_append_iolog_gz()
1832 struct io_logs *cur_log; in fio_append_iolog_gz() local
1834 cur_log = flist_first_entry(&log->io_logs, struct io_logs, list); in fio_append_iolog_gz()
1835 flist_del_init(&cur_log->list); in fio_append_iolog_gz()
[all …]