Lines Matching defs:ams
251 * 'ams' until after using the results as m_new may contain pointers to it.
254 modstat_compute(struct modstats *mp, fmd_adm_stats_t *ams)
273 for (nsp = ams->ams_buf; nsp < ams->ams_buf + ams->ams_len; nsp++) {
379 fmd_adm_stats_t ams;
382 if (fmd_adm_xprt_stats(g_adm, id, &ams) != 0) {
394 (void) fmd_adm_stats_free(g_adm, &ams);
398 modstat_compute(mp, &ams);
414 (void) fmd_adm_stats_free(g_adm, &ams);
433 fmd_adm_stats_t ams;
436 if (fmd_adm_xprt_stats(g_adm, id, &ams) != 0) {
448 (void) fmd_adm_stats_free(g_adm, &ams);
452 modstat_compute(mp, &ams);
463 (void) fmd_adm_stats_free(g_adm, &ams);
482 fmd_adm_stats_t ams;
485 if (fmd_adm_module_stats(g_adm, ami->ami_name, &ams) != 0) {
497 (void) fmd_adm_stats_free(g_adm, &ams);
501 modstat_compute(mp, &ams);
517 (void) fmd_adm_stats_free(g_adm, &ams);
535 fmd_adm_stats_t ams;
539 if (fmd_adm_stats_read(g_adm, name, &ams) != 0) {
546 for (sp = ams.ams_buf; sp < ams.ams_buf + ams.ams_len; sp++) {
612 (void) fmd_adm_stats_free(g_adm, &ams);