Searched refs:datarec (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/samples/bpf/ |
A D | xdp_rxq_info_user.c | 192 struct datarec { struct 198 struct datarec total; argument 199 struct datarec *cpu; 209 struct datarec *array; in alloc_record_per_cpu() 268 struct datarec values[nr_cpus]; in map_collect_percpu() 318 static __u64 calc_pps(struct datarec *r, struct datarec *p, double period_) in calc_pps() 331 struct datarec *p, double period_) in calc_errs_pps() 372 struct datarec *r = &rec->cpu[i]; in stats_print() 373 struct datarec *p = &prev->cpu[i]; in stats_print() 406 struct datarec *r = &rec->cpu[i]; in stats_print() [all …]
|
A D | xdp_sample.bpf.c | 20 __type(value, struct datarec); 70 struct datarec *rec; in xdp_redirect_collect_stat() 132 struct datarec *rec; in BPF_PROG() 159 struct datarec *rec; in BPF_PROG() 185 struct datarec *rec; in BPF_PROG() 209 struct datarec *rec; in BPF_PROG() 240 struct datarec empty = {}; in BPF_PROG() 241 struct datarec *rec; in BPF_PROG()
|
A D | xdp_sample_user.c | 92 struct datarec total; 93 struct datarec *cpu; 150 struct datarec *sample_mmap[NUM_MAP]; 318 struct datarec *array; in alloc_record_per_cpu() 384 struct datarec *values; 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() [all …]
|
A D | xdp_rxq_info_kern.c | 35 struct datarec { struct 43 __type(value, struct datarec); argument 53 __type(value, struct datarec); 79 struct datarec *rec, *rxq_rec; in xdp_prognum0()
|
A D | xdp_redirect_cpu.bpf.c | 144 struct datarec *rec; in xdp_prognum0_no_touch() 174 struct datarec *rec; in xdp_prognum1_touch_data() 215 struct datarec *rec; in xdp_prognum2_round_robin() 262 struct datarec *rec; in xdp_prognum3_proto_separate() 328 struct datarec *rec; in xdp_prognum4_ddos_filter_pktgen() 444 struct datarec *rec; in xdp_prognum5_lb_hash_ip_pairs()
|
A D | xdp_sample_shared.h | 5 struct datarec { struct
|
A D | xdp_redirect.bpf.c | 26 struct datarec *rec; in xdp_redirect_prog()
|
A D | xdp_redirect_map_multi.bpf.c | 33 struct datarec *rec; in xdp_redirect_map()
|
A D | xdp_redirect_map.bpf.c | 44 struct datarec *rec; in xdp_redirect_map()
|
A D | xdp_sample.bpf.h | 23 __type(value, struct datarec);
|
A D | xdp_router_ipv4.bpf.c | 80 struct datarec *rec; in xdp_router_ipv4_prog()
|
Completed in 13 milliseconds