Lines Matching refs:_t
93 #define BSDSTAT_DEFINE_BOUNCE(_t) \
94 static void _t##_setfmt(struct _t *wf, const char *fmt0) \
96 static void _t##_collect_cur(struct _t *wf) \
98 static void _t##_collect_tot(struct _t *wf) \
100 static void _t##_update_tot(struct _t *wf) \
102 static int _t##_get_curstat(struct _t *wf, int s, char b[], size_t bs) \
104 static int _t##_get_totstat(struct _t *wf, int s, char b[], size_t bs) \
106 static void _t##_print_header(struct _t *wf, FILE *fd) \
108 static void _t##_print_current(struct _t *wf, FILE *fd) \
110 static void _t##_print_total(struct _t *wf, FILE *fd) \
112 static void _t##_print_verbose(struct _t *wf, FILE *fd) \
114 static void _t##_print_fields(struct _t *wf, FILE *fd) \
117 #define BSDSTAT_BOUNCE(_p, _t) do { \
118 _p->base.setfmt = _t##_setfmt; \
119 _p->base.collect_cur = _t##_collect_cur; \
120 _p->base.collect_tot = _t##_collect_tot; \
121 _p->base.update_tot = _t##_update_tot; \
122 _p->base.get_curstat = _t##_get_curstat; \
123 _p->base.get_totstat = _t##_get_totstat; \
124 _p->base.print_header = _t##_print_header; \
125 _p->base.print_current = _t##_print_current; \
126 _p->base.print_total = _t##_print_total; \
127 _p->base.print_verbose = _t##_print_verbose; \
128 _p->base.print_fields = _t##_print_fields; \