Searched refs:stats_record (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/samples/bpf/ |
D | xdp_rxq_info_user.c | 192 struct stats_record { struct 229 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 232 struct stats_record *rec; in alloc_stats_record() 249 static void free_stats_record(struct stats_record *r) in free_stats_record() 291 static void stats_collect(struct stats_record *rec) in stats_collect() 341 static void stats_print(struct stats_record *stats_rec, in stats_print() 342 struct stats_record *stats_prev, in stats_print() 428 static inline void swap(struct stats_record **a, struct stats_record **b) in swap() 430 struct stats_record *tmp; in swap() 439 struct stats_record *record, *prev; in stats_poll()
|
D | xdp_monitor_user.c | 140 struct stats_record { struct 294 static void stats_print(struct stats_record *stats_rec, in stats_print() 295 struct stats_record *stats_prev, in stats_print() 477 static bool stats_collect(struct stats_record *rec) in stats_collect() 524 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 526 struct stats_record *rec; in alloc_stats_record() 556 static void free_stats_record(struct stats_record *r) in free_stats_record() 576 static inline void swap(struct stats_record **a, struct stats_record **b) in swap() 578 struct stats_record *tmp; in swap() 587 struct stats_record *rec, *prev; in stats_poll()
|
D | xdp_redirect_cpu_user.c | 156 struct stats_record { struct 213 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 215 struct stats_record *rec; in alloc_stats_record() 234 static void free_stats_record(struct stats_record *r) in free_stats_record() 296 static void stats_print(struct stats_record *stats_rec, in stats_print() 297 struct stats_record *stats_prev, in stats_print() 455 static void stats_collect(struct stats_record *rec) in stats_collect() 478 static inline void swap(struct stats_record **a, struct stats_record **b) in swap() 480 struct stats_record *tmp; in swap() 568 struct stats_record *record, *prev; in stats_poll()
|