Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsubr_stats.c712 vss->iv = stats_realloc(NULL, 0, vss->vsdsz, M_ZERO);
713 if (vss->iv == NULL)
847 vss->iv = stats_realloc(NULL, 0, vss->vsdsz, M_ZERO);
848 if (vss->iv == NULL)
948 if (vss[i].hlpr && (ret = vss[i].hlpr(voi_dtype, &vss[i],
962 if (vss[i].hlpr) {
964 vss[i].iv = NULL;
1237 if (vss[i].stype == 0 || vss[i].stype >= VS_NUM_STYPES ||
1238 vss[i].vs_dtype == 0 || vss[i].vs_dtype >= VSD_NUM_DTYPES ||
1239 vss[i].iv == NULL || vss[i].vsdsz == 0)
[all …]
/f-stack/freebsd/sys/
H A Dstats.h716 struct voistatspec *vss, uint32_t flags);
746 struct voistatspec *vss);
747 void stats_vss_hlpr_cleanup(uint32_t nvss, struct voistatspec *vss);
748 int stats_vss_hist_hlpr(enum vsd_dtype voi_dtype, struct voistatspec *vss,
750 int stats_vss_numeric_hlpr(enum vsd_dtype voi_dtype, struct voistatspec *vss,
752 int stats_vss_tdgst_hlpr(enum vsd_dtype voi_dtype, struct voistatspec *vss,
784 enum vsd_dtype voi_dtype, uint32_t nvss, struct voistatspec *vss, in stats_tpl_add_voistats() argument
789 if ((ret = stats_vss_hlpr_init(voi_dtype, nvss, vss)) == 0) { in stats_tpl_add_voistats()
791 voi_dtype, nvss, vss, flags); in stats_tpl_add_voistats()
793 stats_vss_hlpr_cleanup(nvss, vss); in stats_tpl_add_voistats()