Home
last modified time | relevance | path

Searched refs:datarec (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/samples/bpf/
A Dxdp_rxq_info_user.c192 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 Dxdp_sample.bpf.c20 __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 Dxdp_sample_user.c92 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 Dxdp_rxq_info_kern.c35 struct datarec { struct
43 __type(value, struct datarec); argument
53 __type(value, struct datarec);
79 struct datarec *rec, *rxq_rec; in xdp_prognum0()
A Dxdp_redirect_cpu.bpf.c144 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 Dxdp_sample_shared.h5 struct datarec { struct
A Dxdp_redirect.bpf.c26 struct datarec *rec; in xdp_redirect_prog()
A Dxdp_redirect_map_multi.bpf.c33 struct datarec *rec; in xdp_redirect_map()
A Dxdp_redirect_map.bpf.c44 struct datarec *rec; in xdp_redirect_map()
A Dxdp_sample.bpf.h23 __type(value, struct datarec);
A Dxdp_router_ipv4.bpf.c80 struct datarec *rec; in xdp_router_ipv4_prog()

Completed in 13 milliseconds