Lines Matching defs:epdp
235 grow(struct evport_data *epdp, int factor)
238 int oldsize = epdp->ed_nevents;
242 check_evportop(epdp);
244 tmp = realloc(epdp->ed_fds, sizeof(struct fd_info) * newsize);
247 epdp->ed_fds = tmp;
248 memset((char*) (epdp->ed_fds + oldsize), 0,
250 epdp->ed_nevents = newsize;
252 check_evportop(epdp);
263 reassociate(struct evport_data *epdp, struct fd_info *fdip, int fd)
268 if (port_associate(epdp->ed_port, PORT_SOURCE_FD,
275 check_evportop(epdp);
289 struct evport_data *epdp = arg;
320 if (epdp->ed_pending[i] != -1) {
321 fdi = &(epdp->ed_fds[epdp->ed_pending[i]]);
327 reassociate(epdp, fdi, fd);
328 epdp->ed_pending[i] = -1;
332 if ((res = port_getn(epdp->ed_port, pevtlist, EVENTS_PER_GETN,
356 check_evportop(epdp);
358 epdp->ed_pending[i] = fd;
370 assert(epdp->ed_nevents > fd);
371 fdi = &(epdp->ed_fds[fd]);
388 check_evportop(epdp);