Lines Matching refs:evs
45 struct epoll_event *evs;
139 if (epHead->evs[i].data.fd == fd) {
156 if (epHead->evs != NULL) {
157 free(epHead->evs);
193 epHead->evs = malloc(sizeof(struct epoll_event) * EPOLL_DEFAULT_SIZE);
194 if (epHead->evs == NULL) {
268 epHead->evs[epHead->nodeCount].events = ev->events | POLLERR | POLLHUP;
269 epHead->evs[epHead->nodeCount].data.fd = fd;
275 if (epHead->evs[i].data.fd != fd) {
280 memmove_s(&epHead->evs[i], epHead->nodeCount - i, &epHead->evs[i + 1],
291 if (epHead->evs[i].data.fd == fd) {
292 epHead->evs[i].events = ev->events | POLLERR | POLLHUP;
309 int epoll_wait(int epfd, FAR struct epoll_event *evs, int maxevents, int timeout)
324 if ((maxevents <= 0) || (evs == NULL)) {
342 pFd[i].fd = epHead->evs[i].data.fd;
343 pFd[i].events = (short)epHead->evs[i].events;
355 evs[i].data.fd = pFd[counter].fd;
356 evs[i].events = pFd[counter].revents;