Lines Matching refs:tpl_mb
1157 struct metablob *tpl_mb; local
1167 tpl_mb = stats_realloc(NULL, 0, sizeof(struct metablob), M_ZERO);
1170 if (tpl_mb != NULL && name != NULL)
1171 tpl_mb->tplname = stats_strdup(name, 0);
1173 if (tpl == NULL || tpl_sb == NULL || tpl_mb == NULL ||
1174 tpl_mb->tplname == NULL) {
1177 if (tpl_mb != NULL) {
1178 stats_free(tpl_mb->tplname);
1179 stats_free(tpl_mb);
1184 tpl->mb = tpl_mb;
1210 if (tpl_mb != NULL) {
1211 stats_free(tpl_mb->tplname);
1212 stats_free(tpl_mb);
1229 struct metablob *tpl_mb; local
1262 tpl_mb = tpllist[tpl_id]->mb;
1288 struct voi_meta *voi_meta = tpl_mb->voi_meta;
1298 tpl_mb->voi_meta = voi_meta;
1308 tpl_mb->voi_meta[voi_id].name = stats_strdup(voi_name,
1310 if (tpl_mb->voi_meta[voi_id].name == NULL)
2040 struct metablob *tpl_mb; local
2047 tpl_mb = sctx->tpl ? sctx->tpl->mb : NULL;
2067 sbuf_printf(buf, ", name=\"%s\"", (tpl_mb == NULL) ? "" :
2068 tpl_mb->voi_meta[v->id].name);
2101 struct metablob *tpl_mb; local
2109 tpl_mb = sctx->tpl ? sctx->tpl->mb : NULL;
2124 if (tpl_mb == NULL)
2129 sbuf_printf(buf, fmtstr, tpl_mb ? tpl_mb->tplname : "null",
2142 if (tpl_mb == NULL)
2151 sbuf_printf(buf, fmtstr, tpl_mb ?
2152 tpl_mb->voi_meta[v->id].name : "null", v->flags,
2156 if (tpl_mb == NULL) {
2160 tpl_mb->voi_meta[v->id].name);
2178 if (tpl_mb == NULL)