Searched refs:npriorities (Results 1 – 1 of 1) sorted by relevance
1001 event_priority_init(int npriorities) in event_priority_init() argument1003 return event_base_priority_init(current_base, npriorities); in event_priority_init()1007 event_base_priority_init(struct event_base *base, int npriorities) in event_base_priority_init() argument1011 if (N_ACTIVE_CALLBACKS(base) || npriorities < 1 in event_base_priority_init()1012 || npriorities >= EVENT_MAX_PRIORITIES) in event_base_priority_init()1015 if (npriorities == base->nactivequeues) in event_base_priority_init()1025 mm_calloc(npriorities, sizeof(struct event_list)); in event_base_priority_init()1030 base->nactivequeues = npriorities; in event_base_priority_init()