Lines Matching refs:stats_hdr
66 struct stats_hdr { struct
75 struct stats_hdr *s_next; argument
103 struct stats_hdr s_hdr;
189 ((sizeof(group__)) - sizeof(struct stats_hdr)) / (size__)
209 (sizeof(group__) - sizeof(struct stats_hdr)) / (size__), \
230 void stats_init(struct stats_hdr *shdr, uint8_t size, uint16_t cnt,
245 int stats_register(const char *name, struct stats_hdr *shdr);
271 int stats_init_and_reg(struct stats_hdr *hdr, uint8_t size, uint16_t cnt,
280 void stats_reset(struct stats_hdr *shdr);
294 typedef int stats_walk_fn(struct stats_hdr *hdr, void *arg,
307 int stats_walk(struct stats_hdr *hdr, stats_walk_fn *walk_cb, void *arg);
318 typedef int stats_group_walk_fn(struct stats_hdr *hdr, void *arg);
340 struct stats_hdr *stats_group_get_next(const struct stats_hdr *cur);
350 struct stats_hdr *stats_group_find(const char *name);