Home
last modified time | relevance | path

Searched refs:tpl_id (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_stats.c332 static int stats_v1_blob_init_locked(struct statsblobv1 *sb, uint32_t tpl_id,
965 stats_tpl_fetch(int tpl_id, struct statsblob_tpl **tpl) argument
972 if (tpl_id < 0 || tpl_id >= (int)ntpl) {
975 *tpl = tpllist[tpl_id];
986 int i, tpl_id; local
988 tpl_id = -ESRCH;
997 tpl_id = i;
1001 tpl_id = i;
1007 return (tpl_id);
1011 stats_tpl_id2name(uint32_t tpl_id, char *buf, size_t len) argument
[all …]
/freebsd/sys/sys/
H A Dstats.h712 int stats_v1_tpl_add_voistats(uint32_t tpl_id, int32_t voi_id,
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);
752 int stats_tpl_fetch(int tpl_id, struct statsblob_tpl **tpl);
754 int stats_tpl_id2name(uint32_t tpl_id, char *buf, size_t len);
781 stats_tpl_add_voistats(uint32_t tpl_id, int32_t voi_id, const char *voi_name, in stats_tpl_add_voistats() argument
788 ret = stats_v1_tpl_add_voistats(tpl_id, voi_id, voi_name, in stats_tpl_add_voistats()
797 stats_blob_init(struct statsblob *sb, uint32_t tpl_id, uint32_t flags) in stats_blob_init() argument
800 return (stats_v1_blob_init((struct statsblobv1 *)sb, tpl_id, flags)); in stats_blob_init()
804 stats_blob_alloc(uint32_t tpl_id, uint32_t flags) in stats_blob_alloc() argument
[all …]