Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_monitor_user.c175 struct stats_record { struct
329 static void stats_print(struct stats_record *stats_rec, in stats_print()
330 struct stats_record *stats_prev, in stats_print()
512 static bool stats_collect(struct stats_record *rec) in stats_collect()
556 static struct stats_record *alloc_stats_record(void) in alloc_stats_record()
558 struct stats_record *rec; in alloc_stats_record()
587 static void free_stats_record(struct stats_record *r) in free_stats_record()
607 static inline void swap(struct stats_record **a, struct stats_record **b) in swap()
609 struct stats_record *tmp; in swap()
618 struct stats_record *rec, *prev; in stats_poll()
Dxdp_redirect_cpu_user.c190 struct stats_record { struct
256 static struct stats_record *alloc_stats_record(void) in alloc_stats_record()
258 struct stats_record *rec; in alloc_stats_record()
278 static void free_stats_record(struct stats_record *r) in free_stats_record()
352 static void stats_print(struct stats_record *stats_rec, in stats_print()
353 struct stats_record *stats_prev, in stats_print()
543 static void stats_collect(struct stats_record *rec) in stats_collect()
566 static inline void swap(struct stats_record **a, struct stats_record **b) in swap()
568 struct stats_record *tmp; in swap()
660 struct stats_record *record, *prev; in stats_poll()