Searched refs:datarec (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/samples/bpf/ |
H 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()
|
H 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 …]
|
H A D | xdp_sample_shared.h | 5 struct datarec { struct
|
H A D | xdp_sample.bpf.h | 23 __type(value, struct datarec);
|
H A D | xdp_router_ipv4.bpf.c | 80 struct datarec *rec; in xdp_router_ipv4_prog()
|