Searched refs:stats_record (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/samples/bpf/ |
| D | xdp_sample_user.c | 102 struct stats_record { struct 380 static int map_collect_percpu_devmap(int map_fd, struct stats_record *rec) in map_collect_percpu_devmap() 448 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 450 struct stats_record *rec; in alloc_stats_record() 547 static void free_stats_record(struct stats_record *r) in free_stats_record() 648 static void stats_get_rx_cnt(struct stats_record *stats_rec, in stats_get_rx_cnt() 649 struct stats_record *stats_prev, in stats_get_rx_cnt() 691 static void stats_get_cpumap_enqueue(struct stats_record *stats_rec, in stats_get_cpumap_enqueue() 692 struct stats_record *stats_prev, in stats_get_cpumap_enqueue() 745 static void stats_get_cpumap_remote(struct stats_record *stats_rec, in stats_get_cpumap_remote() [all …]
|
| D | xdp_rxq_info_user.c | 201 struct stats_record { struct 232 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 235 struct stats_record *rec; in alloc_stats_record() 238 rec = calloc(1, sizeof(struct stats_record)); in alloc_stats_record() 251 static void free_stats_record(struct stats_record *r) in free_stats_record() 293 static void stats_collect(struct stats_record *rec) in stats_collect() 343 static void stats_print(struct stats_record *stats_rec, in stats_print() 344 struct stats_record *stats_prev, in stats_print() 430 static inline void swap(struct stats_record **a, struct stats_record **b) in swap() 432 struct stats_record *tmp; in swap() [all …]
|