Searched refs:new_ctl (Results 1 – 1 of 1) sorted by relevance
1188 struct common_timeout_list *new_ctl; in event_base_init_common_timeout() local1229 new_ctl = mm_calloc(1, sizeof(struct common_timeout_list)); in event_base_init_common_timeout()1230 if (!new_ctl) { in event_base_init_common_timeout()1234 TAILQ_INIT(&new_ctl->events); in event_base_init_common_timeout()1235 new_ctl->duration.tv_sec = duration->tv_sec; in event_base_init_common_timeout()1236 new_ctl->duration.tv_usec = in event_base_init_common_timeout()1239 evtimer_assign(&new_ctl->timeout_event, base, in event_base_init_common_timeout()1240 common_timeout_callback, new_ctl); in event_base_init_common_timeout()1241 new_ctl->timeout_event.ev_flags |= EVLIST_INTERNAL; in event_base_init_common_timeout()1242 event_priority_set(&new_ctl->timeout_event, 0); in event_base_init_common_timeout()[all …]