Lines Matching refs:record
187 struct record { struct
193 struct record stats; argument
194 struct record *rxq;
210 static struct record *alloc_record_per_rxq(void) in alloc_record_per_rxq()
213 struct record *array; in alloc_record_per_rxq()
215 array = calloc(nr_rxqs, sizeof(struct record)); in alloc_record_per_rxq()
255 static bool map_collect_percpu(int fd, __u32 key, struct record *rec) in map_collect_percpu()
297 static double calc_period(struct record *r, struct record *p) in calc_period()
341 struct record *rec, *prev; in stats_print()
432 struct stats_record *record, *prev; in stats_poll() local
434 record = alloc_stats_record(); in stats_poll()
436 stats_collect(record); in stats_poll()
439 swap(&prev, &record); in stats_poll()
440 stats_collect(record); in stats_poll()
441 stats_print(record, prev, action, cfg_opt); in stats_poll()
445 free_stats_record(record); in stats_poll()