Searched refs:evpd (Results 1 – 1 of 1) sorted by relevance
141 struct evport_data *evpd; in evport_init() local149 if (!(evpd = calloc(1, sizeof(struct evport_data)))) in evport_init()152 if ((evpd->ed_port = port_create()) == -1) { in evport_init()153 free(evpd); in evport_init()160 evpd->ed_fds = calloc(DEFAULT_NFDS, sizeof(struct fd_info)); in evport_init()161 if (evpd->ed_fds == NULL) { in evport_init()162 close(evpd->ed_port); in evport_init()163 free(evpd); in evport_init()166 evpd->ed_nevents = DEFAULT_NFDS; in evport_init()168 evpd->ed_pending[i] = -1; in evport_init()[all …]