Home
last modified time | relevance | path

Searched refs:stats_record (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
H A 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 **
[all...]
H A 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()
562 /* Alloc main stats_record structure */ 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 **
[all...]
H A 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 *tm in swap()
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_sample_user.c102 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_re
[all...]

Completed in 6 milliseconds