Searched refs:stats_record (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | xdp_rxq_info_user.c | 177 struct stats_record { struct 214 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 217 struct stats_record *rec; in alloc_stats_record() 234 static void free_stats_record(struct stats_record *r) in free_stats_record() 276 static void stats_collect(struct stats_record *rec) in stats_collect() 326 static void stats_print(struct stats_record *stats_rec, in stats_print() 327 struct stats_record *stats_prev, in stats_print() 413 static inline void swap(struct stats_record **a, struct stats_record **b) in swap() 415 struct stats_record *tmp; in swap() 424 struct stats_record *record, *prev; in stats_poll()
|
D | xdp_redirect_cpu_user.c | 124 struct stats_record { struct 181 static struct stats_record *alloc_stats_record(void) in alloc_stats_record() 183 struct stats_record *rec; in alloc_stats_record() 202 static void free_stats_record(struct stats_record *r) in free_stats_record() 264 static void stats_print(struct stats_record *stats_rec, in stats_print() 265 struct stats_record *stats_prev, in stats_print() 423 static void stats_collect(struct stats_record *rec) in stats_collect() 446 static inline void swap(struct stats_record **a, struct stats_record **b) in swap() 448 struct stats_record *tmp; in swap() 537 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()
|