Home
last modified time | relevance | path

Searched refs:max_nfds (Results 1 – 2 of 2) sorted by last modified time

/unit/src/
H A Dnxt_event_engine.h315 nxt_uint_t max_nfds; member
H A Dnxt_poll_engine.c389 nxt_uint_t max_nfds; in nxt_poll_set_add() local
396 if (engine->u.poll.nfds >= engine->u.poll.max_nfds) { in nxt_poll_set_add()
397 max_nfds = engine->u.poll.max_nfds + 512; /* 4K */ in nxt_poll_set_add()
399 pfd = nxt_realloc(engine->u.poll.set, sizeof(struct pollfd) * max_nfds); in nxt_poll_set_add()
405 engine->u.poll.max_nfds = max_nfds; in nxt_poll_set_add()