Searched refs:statsblobv1 (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/sys/ |
H A D | stats.h | 624 struct statsblobv1; 715 int stats_v1_blob_init(struct statsblobv1 *sb, uint32_t tpl_id, uint32_t flags); 716 struct statsblobv1 * stats_v1_blob_alloc(uint32_t tpl_id, uint32_t flags); 717 int stats_v1_blob_clone(struct statsblobv1 **dst, size_t dstmaxsz, 718 struct statsblobv1 *src, uint32_t flags); 719 void stats_v1_blob_destroy(struct statsblobv1 *sb); 724 int stats_v1_blob_snapshot(struct statsblobv1 **dst, size_t dstmaxsz, 725 struct statsblobv1 *src, uint32_t flags); 728 int stats_v1_blob_tostr(struct statsblobv1 *sb, struct sbuf *buf, 730 int stats_v1_blob_visit(struct statsblobv1 *sb, stats_blob_visitcb_t func, [all …]
|
/freebsd/sys/kern/ |
H A D | subr_stats.c | 107 struct statsblobv1 { struct 121 _Static_assert(offsetof(struct statsblobv1, cursz) + argument 122 SIZEOF_MEMBER(struct statsblobv1, cursz) == 128 struct statsblobv1 *sb; 152 typedef int (*stats_v1_blob_itercb_t)(struct statsblobv1 *sb, struct voi *v, 207 #define NVOIS(sb) ((int32_t)((((struct statsblobv1 *)(sb))->stats_off - \ 208 sizeof(struct statsblobv1)) >> 3)) 332 static int stats_v1_blob_init_locked(struct statsblobv1 *sb, uint32_t tpl_id, 334 static int stats_v1_blob_expand(struct statsblobv1 **sbpp, int newvoibytes, 336 static void stats_v1_blob_iter(struct statsblobv1 *sb, [all …]
|