Lines Matching refs:lfields
31 uv__loop_internal_fields_t* lfields; in uv_loop_init() local
40 lfields = (uv__loop_internal_fields_t*) uv__calloc(1, sizeof(*lfields)); in uv_loop_init()
41 if (lfields == NULL) in uv_loop_init()
43 loop->internal_fields = lfields; in uv_loop_init()
45 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
48 memset(&lfields->loop_metrics.metrics, in uv_loop_init()
50 sizeof(lfields->loop_metrics.metrics)); in uv_loop_init()
120 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv_loop_init()
123 uv__free(lfields); in uv_loop_init()
166 uv__loop_internal_fields_t* lfields; in uv__loop_close() local
204 lfields = uv__get_internal_fields(loop); in uv__loop_close()
205 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv__loop_close()
206 uv__free(lfields); in uv__loop_close()
212 uv__loop_internal_fields_t* lfields; in uv__loop_configure() local
214 lfields = uv__get_internal_fields(loop); in uv__loop_configure()
216 lfields->flags |= UV_METRICS_IDLE_TIME; in uv__loop_configure()