Searched refs:datarec (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | xdp_redirect_cpu_user.c | 114 struct datarec { struct 121 struct datarec total; argument 122 struct datarec *cpu; 136 struct datarec values[nr_cpus]; in map_collect_percpu() 165 static struct datarec *alloc_record_per_cpu(void) in alloc_record_per_cpu() 168 struct datarec *array; in alloc_record_per_cpu() 171 size = sizeof(struct datarec) * nr_cpus; in alloc_record_per_cpu() 227 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps() 239 static __u64 calc_drop_pps(struct datarec *r, struct datarec *p, double period_) in calc_drop_pps() 251 static __u64 calc_errs_pps(struct datarec *r, in calc_errs_pps() [all …]
|
D | xdp_monitor_kern.c | 124 struct datarec { struct 135 .value_size = sizeof(struct datarec), argument 142 .value_size = sizeof(struct datarec), 163 struct datarec *rec; in trace_xdp_cpumap_enqueue() 197 struct datarec *rec; in trace_xdp_cpumap_kthread() 216 .value_size = sizeof(struct datarec), 238 struct datarec *rec; in trace_xdp_devmap_xmit()
|
D | xdp_redirect_cpu_kern.c | 29 struct datarec { struct 41 .value_size = sizeof(struct datarec), argument 49 .value_size = sizeof(struct datarec), 58 .value_size = sizeof(struct datarec), 66 .value_size = sizeof(struct datarec), 96 .value_size = sizeof(struct datarec), 205 struct datarec *rec; in xdp_prognum0_no_touch() 236 struct datarec *rec; in xdp_prognum1_touch_data() 279 struct datarec *rec; in xdp_prognum2_round_robin() 328 struct datarec *rec; in xdp_prognum3_proto_separate() [all …]
|
D | xdp_rxq_info_user.c | 168 struct datarec { struct 174 struct datarec total; argument 175 struct datarec *cpu; 182 static struct datarec *alloc_record_per_cpu(void) in alloc_record_per_cpu() 185 struct datarec *array; in alloc_record_per_cpu() 188 size = sizeof(struct datarec) * nr_cpus; in alloc_record_per_cpu() 251 struct datarec values[nr_cpus]; in map_collect_percpu() 301 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps() 313 static __u64 calc_errs_pps(struct datarec *r, in calc_errs_pps() 314 struct datarec *p, double period_) in calc_errs_pps() [all …]
|
D | xdp_monitor_user.c | 116 struct datarec { struct 127 struct datarec total; argument 128 struct datarec *cpu; 152 struct datarec values[nr_cpus]; in map_collect_record() 234 static double calc_pps(struct datarec *r, struct datarec *p, double period) in calc_pps() 258 static double calc_drop(struct datarec *r, struct datarec *p, double period) in calc_drop() 270 static double calc_info(struct datarec *r, struct datarec *p, double period) in calc_info() 282 static double calc_err(struct datarec *r, struct datarec *p, double period) in calc_err() 371 struct datarec *r = &rec->cpu[i]; in stats_print() 372 struct datarec *p = &prev->cpu[i]; in stats_print() [all …]
|
D | xdp_rxq_info_kern.c | 34 struct datarec { struct 42 .value_size = sizeof(struct datarec), argument 52 .value_size = sizeof(struct datarec), 78 struct datarec *rec, *rxq_rec; in xdp_prognum0()
|