Lines Matching defs:fdsz
106 static int select_resize(struct selectop *sop, int fdsz);
212 select_resize(struct selectop *sop, int fdsz)
220 if ((readset_in = mm_realloc(sop->event_readset_in, fdsz)) == NULL)
223 if ((writeset_in = mm_realloc(sop->event_writeset_in, fdsz)) == NULL) {
236 fdsz - sop->event_fdsz);
238 fdsz - sop->event_fdsz);
240 sop->event_fdsz = fdsz;
264 int fdsz = sop->event_fdsz;
266 if (fdsz < (int)sizeof(fd_mask))
267 fdsz = (int)sizeof(fd_mask);
272 while (fdsz < (int) SELECT_ALLOC_SIZE(fd + 1))
273 fdsz *= 2;
275 if (fdsz != sop->event_fdsz) {
276 if (select_resize(sop, fdsz)) {