Lines Matching refs:datarec
92 struct datarec total;
93 struct datarec *cpu;
150 struct datarec *sample_mmap[NUM_MAP];
315 static struct datarec *alloc_record_per_cpu(void) in alloc_record_per_cpu()
318 struct datarec *array; in alloc_record_per_cpu()
340 static void map_collect_percpu(struct datarec *values, struct record *rec) in map_collect_percpu()
384 struct datarec *values; in map_collect_percpu_devmap()
392 values = calloc(count * nr_cpus, sizeof(struct datarec)); in map_collect_percpu_devmap()
412 struct datarec *arr; in map_collect_percpu_devmap()
589 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps()
601 static __u64 calc_drop_pps(struct datarec *r, struct datarec *p, double period_) in calc_drop_pps()
613 static __u64 calc_errs_pps(struct datarec *r, struct datarec *p, double period_) in calc_errs_pps()
625 static __u64 calc_info_pps(struct datarec *r, struct datarec *p, double period_) in calc_info_pps()
637 static void calc_xdp_pps(struct datarec *r, struct datarec *p, double *xdp_pass, in calc_xdp_pps()
661 struct datarec *r = &rec->cpu[i]; in stats_get_rx_cnt()
662 struct datarec *p = &prev->cpu[i]; in stats_get_rx_cnt()
724 struct datarec *r = &rec->cpu[i]; in stats_get_cpumap_enqueue()
725 struct datarec *p = &prev->cpu[i]; in stats_get_cpumap_enqueue()
768 struct datarec *r = &rec->cpu[i]; in stats_get_cpumap_remote()
769 struct datarec *p = &prev->cpu[i]; in stats_get_cpumap_remote()
805 struct datarec *r = &rec->cpu[i]; in stats_get_cpumap_kthread()
806 struct datarec *p = &prev->cpu[i]; in stats_get_cpumap_kthread()
835 struct datarec *r = &rec->cpu[i]; in stats_get_redirect_cnt()
836 struct datarec *p = &prev->cpu[i]; in stats_get_redirect_cnt()
881 struct datarec *r = &rec->cpu[i]; in stats_get_redirect_err_cnt()
882 struct datarec *p = &prev->cpu[i]; in stats_get_redirect_err_cnt()
926 struct datarec *r = &rec->cpu[i]; in stats_get_exception_cnt()
927 struct datarec *p = &prev->cpu[i]; in stats_get_exception_cnt()
962 struct datarec *r = &rec->cpu[i]; in stats_get_devmap_xmit()
963 struct datarec *p = &prev->cpu[i]; in stats_get_devmap_xmit()
1077 struct datarec *rc = &r->cpu[i]; in stats_get_devmap_xmit_multi()
1078 struct datarec *pc, p_beg = {}; in stats_get_devmap_xmit_multi()
1230 size_t size = sample_map_count[i] * sizeof(struct datarec); in sample_setup_maps_mappings()