Lines Matching refs:_p
50 #define BSDSTAT_DECL_METHODS(_p) \ argument
52 void (*setfmt)(_p, const char *); \
54 void (*collect_cur)(_p); \
56 void (*collect_tot)(_p); \
58 void (*update_tot)(_p); \
60 int (*get_curstat)(_p, int, char [], size_t); \
62 int (*get_totstat)(_p, int, char [], size_t); \
64 void (*print_header)(_p, FILE *); \
66 void (*print_current)(_p, FILE *); \
68 void (*print_total)(_p, FILE *); \
70 void (*print_verbose)(_p, FILE *); \
72 void (*print_fields)(_p, FILE *)
115 #define BSDSTAT_BOUNCE(_p, _t) do { \ argument
116 _p->base.setfmt = _t##_setfmt; \
117 _p->base.collect_cur = _t##_collect_cur; \
118 _p->base.collect_tot = _t##_collect_tot; \
119 _p->base.update_tot = _t##_update_tot; \
120 _p->base.get_curstat = _t##_get_curstat; \
121 _p->base.get_totstat = _t##_get_totstat; \
122 _p->base.print_header = _t##_print_header; \
123 _p->base.print_current = _t##_print_current; \
124 _p->base.print_total = _t##_print_total; \
125 _p->base.print_verbose = _t##_print_verbose; \
126 _p->base.print_fields = _t##_print_fields; \