Lines Matching refs:po
202 const lws_metric_policy_t *po) in lws_metrics_policy_dyn_create() argument
210 dmet->policy = po; in lws_metrics_policy_dyn_create()
213 if (po->us_schedule) in lws_metrics_policy_dyn_create()
216 (lws_usec_t)po->us_schedule); in lws_metrics_policy_dyn_create()
227 const lws_metric_policy_t *po) in lws_metrics_policy_get_dyn() argument
233 if (dm->policy == po) in lws_metrics_policy_get_dyn()
244 return lws_metrics_policy_dyn_create(ctx, po); in lws_metrics_policy_get_dyn()
312 const lws_metric_policy_t *po; in lws_metric_create() local
359 po = lws_metrics_find_policy(ctx, name); in lws_metric_create()
360 if (po) { in lws_metric_create()
361 dmp = lws_metrics_policy_get_dyn(ctx, po); in lws_metric_create()
413 const lws_metric_policy_t *po; in lws_metric_rebind_policies() local
421 po = lws_metrics_find_policy(ctx, pub->name); in lws_metric_rebind_policies()
422 if (po) { in lws_metric_rebind_policies()
423 dmp = lws_metrics_policy_get_dyn(ctx, po); in lws_metric_rebind_policies()
426 pub->name, po->name); in lws_metric_rebind_policies()
478 const lws_metric_policy_t *po; in lws_metric_switch_policy() local
481 po = lws_metrics_find_policy(mt->ctx, polname); in lws_metric_switch_policy()
482 if (!po) in lws_metric_switch_policy()
485 dmp = lws_metrics_policy_get_dyn(mt->ctx, po); in lws_metric_switch_policy()