Lines Matching refs:ams
254 modstat_compute(struct modstats *mp, fmd_adm_stats_t *ams) in modstat_compute() argument
273 for (nsp = ams->ams_buf; nsp < ams->ams_buf + ams->ams_len; nsp++) { in modstat_compute()
379 fmd_adm_stats_t ams; in stat_one_xprt() local
382 if (fmd_adm_xprt_stats(g_adm, id, &ams) != 0) { in stat_one_xprt()
394 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt()
398 modstat_compute(mp, &ams); in stat_one_xprt()
414 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt()
433 fmd_adm_stats_t ams; in stat_one_xprt_auth() local
436 if (fmd_adm_xprt_stats(g_adm, id, &ams) != 0) { in stat_one_xprt_auth()
448 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt_auth()
452 modstat_compute(mp, &ams); in stat_one_xprt_auth()
463 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt_auth()
482 fmd_adm_stats_t ams; in stat_one_fmd() local
485 if (fmd_adm_module_stats(g_adm, ami->ami_name, &ams) != 0) { in stat_one_fmd()
497 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_fmd()
501 modstat_compute(mp, &ams); in stat_one_fmd()
517 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_fmd()
535 fmd_adm_stats_t ams; in stat_mod() local
539 if (fmd_adm_stats_read(g_adm, name, &ams) != 0) { in stat_mod()
546 for (sp = ams.ams_buf; sp < ams.ams_buf + ams.ams_len; sp++) { in stat_mod()
612 (void) fmd_adm_stats_free(g_adm, &ams); in stat_mod()