Lines Matching refs:epdp
233 reassociate(struct evport_data *epdp, struct fd_info *fdip, int fd) in reassociate() argument
238 if (port_associate(epdp->ed_port, PORT_SOURCE_FD, in reassociate()
245 check_evportop(epdp); in reassociate()
259 struct evport_data *epdp = base->evbase; in evport_dispatch() local
260 port_event_t *pevtlist = epdp->ed_pevtlist; in evport_dispatch()
288 for (i = 0; i < epdp->ed_npending; ++i) { in evport_dispatch()
290 const int fd = epdp->ed_pending[i]; in evport_dispatch()
298 reassociate(epdp, fdi, fd); in evport_dispatch()
306 res = port_getn(epdp->ed_port, pevtlist, epdp->ed_maxevents, in evport_dispatch()
331 check_evportop(epdp); in evport_dispatch()
333 epdp->ed_pending[i] = fd; in evport_dispatch()
358 epdp->ed_npending = nevents; in evport_dispatch()
360 if (nevents == epdp->ed_maxevents && in evport_dispatch()
361 epdp->ed_maxevents < MAX_EVENTS_PER_GETN) { in evport_dispatch()
364 grow(epdp, epdp->ed_maxevents * 2); in evport_dispatch()
367 check_evportop(epdp); in evport_dispatch()