Lines Matching refs:dm
230 lws_metric_policy_dyn_t *dm = in lws_metrics_policy_get_dyn() local
233 if (dm->policy == po) in lws_metrics_policy_get_dyn()
234 return dm; in lws_metrics_policy_get_dyn()
502 lws_metric_policy_dyn_destroy(lws_metric_policy_dyn_t *dm, int keep) in lws_metric_policy_dyn_destroy() argument
504 lws_sul_cancel(&dm->sul); in lws_metric_policy_dyn_destroy()
506 lws_start_foreach_dll_safe(struct lws_dll2 *, d, d1, dm->owner.head) { in lws_metric_policy_dyn_destroy()
513 lws_sul_cancel(&dm->sul); in lws_metric_policy_dyn_destroy()
515 lws_dll2_remove(&dm->list); in lws_metric_policy_dyn_destroy()
516 lws_free(dm); in lws_metric_policy_dyn_destroy()
528 lws_metric_policy_dyn_t *dm = in lws_metrics_destroy() local
531 lws_metric_policy_dyn_destroy(dm, 0); /* don't keep */ in lws_metrics_destroy()
661 lws_metric_policy_dyn_t *dm = in lws_metrics_foreach() local
665 dm->owner.head) { in lws_metrics_foreach()