Lines Matching defs:num_entries
78 void populate_events(spdk_trace_history *history, int num_entries, bool overflowed);
102 return history == NULL ? 0 : history->num_entries;
114 static_cast<void *>(&history->entries[history->num_entries - 1]))) {
227 spdk_trace_parser::populate_events(spdk_trace_history *history, int num_entries, bool overflowed)
236 num_entries_filled = num_entries;
241 if (num_entries == num_entries_filled) {
243 for (i = 1; i < num_entries; i++) {
348 if (history == NULL || history->num_entries == 0 || history->entries[0].tsc == 0) {
351 entry_num = history->num_entries - 1;
367 if (history == NULL || history->num_entries == 0 || history->entries[0].tsc == 0) {
370 populate_events(history, history->num_entries, overflowed);
379 if (history->num_entries > 0 && history->entries[0].tsc != 0) {
380 populate_events(history, history->num_entries, false);