Home
last modified time | relevance | path

Searched refs:stats_record (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/samples/bpf/
Dxdp_rxq_info_user.c192 struct stats_record { struct
223 static struct stats_record *alloc_stats_record(void) in alloc_stats_record()
226 struct stats_record *rec; in alloc_stats_record()
229 rec = calloc(1, sizeof(struct stats_record)); in alloc_stats_record()
242 static void free_stats_record(struct stats_record *r) in free_stats_record()
284 static void stats_collect(struct stats_record *rec) in stats_collect()
334 static void stats_print(struct stats_record *stats_rec, in stats_print()
335 struct stats_record *stats_prev, in stats_print()
421 static inline void swap(struct stats_record **a, struct stats_record **b) in swap()
423 struct stats_record *tmp; in swap()
[all …]
Dxdp_sample_user.c103 struct stats_record { struct
378 static int map_collect_percpu_devmap(int map_fd, struct stats_record *rec) in map_collect_percpu_devmap()
446 static struct stats_record *alloc_stats_record(void) in alloc_stats_record()
448 struct stats_record *rec; in alloc_stats_record()
545 static void free_stats_record(struct stats_record *r) in free_stats_record()
646 static void stats_get_rx_cnt(struct stats_record *stats_rec, in stats_get_rx_cnt()
647 struct stats_record *stats_prev, in stats_get_rx_cnt()
689 static void stats_get_cpumap_enqueue(struct stats_record *stats_rec, in stats_get_cpumap_enqueue()
690 struct stats_record *stats_prev, in stats_get_cpumap_enqueue()
743 static void stats_get_cpumap_remote(struct stats_record *stats_rec, in stats_get_cpumap_remote()
[all …]