Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp_rxq_info_user.c187 struct record { struct
193 struct record stats; argument
194 struct record *rxq;
210 static struct record *alloc_record_per_rxq(void) in alloc_record_per_rxq()
213 struct record *array; in alloc_record_per_rxq()
215 array = calloc(nr_rxqs, sizeof(struct record)); in alloc_record_per_rxq()
255 static bool map_collect_percpu(int fd, __u32 key, struct record *rec) in map_collect_percpu()
297 static double calc_period(struct record *r, struct record *p) in calc_period()
341 struct record *rec, *prev; in stats_print()
432 struct stats_record *record, *prev; in stats_poll() local
[all …]
Dxdp_sample_user.c91 struct record { struct
100 struct record val; argument
104 struct record rx_cnt;
105 struct record redir_err[XDP_REDIRECT_ERR_MAX];
106 struct record kthread;
107 struct record exception[XDP_ACTION_MAX];
108 struct record devmap_xmit;
110 struct record enq[];
341 static void map_collect_percpu(struct datarec *values, struct record *rec) in map_collect_percpu()
454 rec = calloc(1, sizeof(*rec) + sample_n_cpus * sizeof(struct record)); in alloc_stats_record()
[all …]
/samples/kfifo/
DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o