Lines Matching refs:lfields
228 uv__loop_internal_fields_t* lfields; in uv_loop_init() local
240 lfields = (uv__loop_internal_fields_t*) uv__calloc(1, sizeof(*lfields)); in uv_loop_init()
241 if (lfields == NULL) in uv_loop_init()
243 loop->internal_fields = lfields; in uv_loop_init()
245 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
248 memset(&lfields->loop_metrics.metrics, in uv_loop_init()
250 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
313 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv_loop_init()
316 uv__free(lfields); in uv_loop_init()
338 uv__loop_internal_fields_t* lfields; in uv__loop_close() local
369 lfields = uv__get_internal_fields(loop); in uv__loop_close()
370 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv__loop_close()
371 uv__free(lfields); in uv__loop_close()
379 uv__loop_internal_fields_t* lfields; in uv__loop_configure() local
381 lfields = uv__get_internal_fields(loop); in uv__loop_configure()
383 lfields->flags |= UV_METRICS_IDLE_TIME; in uv__loop_configure()
427 uv__loop_internal_fields_t* lfields; in uv__poll_wine() local
437 lfields = uv__get_internal_fields(loop); in uv__poll_wine()
440 if (lfields->flags & UV_METRICS_IDLE_TIME) { in uv__poll_wine()
459 lfields->current_timeout = timeout; in uv__poll_wine()
518 uv__loop_internal_fields_t* lfields; in uv__poll() local
530 lfields = uv__get_internal_fields(loop); in uv__poll()
533 if (lfields->flags & UV_METRICS_IDLE_TIME) { in uv__poll()
554 lfields->current_timeout = timeout; in uv__poll()