Lines Matching full:ams
255 * 'ams' until after using the results as m_new may contain pointers to it.
258 modstat_compute(struct modstats *mp, fmd_adm_stats_t *ams) in modstat_compute() argument
277 for (nsp = ams->ams_buf; nsp < ams->ams_buf + ams->ams_len; nsp++) { in modstat_compute()
383 fmd_adm_stats_t ams; in stat_one_xprt() local
386 if (fmd_adm_xprt_stats(g_adm, id, &ams) != 0) { in stat_one_xprt()
398 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt()
402 modstat_compute(mp, &ams); in stat_one_xprt()
418 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt()
436 fmd_adm_stats_t ams; in stat_one_xprt_auth() local
439 if (fmd_adm_xprt_stats(g_adm, id, &ams) != 0) { in stat_one_xprt_auth()
451 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt_auth()
455 modstat_compute(mp, &ams); in stat_one_xprt_auth()
466 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_xprt_auth()
484 fmd_adm_stats_t ams; in stat_one_fmd() local
487 if (fmd_adm_module_stats(g_adm, ami->ami_name, &ams) != 0) { in stat_one_fmd()
499 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_fmd()
503 modstat_compute(mp, &ams); in stat_one_fmd()
519 (void) fmd_adm_stats_free(g_adm, &ams); in stat_one_fmd()
537 fmd_adm_stats_t ams; in stat_mod() local
541 if (fmd_adm_stats_read(g_adm, name, &ams) != 0) { in stat_mod()
548 for (sp = ams.ams_buf; sp < ams.ams_buf + ams.ams_len; sp++) { in stat_mod()
614 (void) fmd_adm_stats_free(g_adm, &ams); in stat_mod()