Searched refs:pevents (Results 1 – 1 of 1) sorted by relevance
288 unsigned int pevents = 0; in flags2pevents() local289 if (flags & SOCK_THREAD_FD_WR) pevents |= POLLOUT; in flags2pevents()290 if (flags & SOCK_THREAD_FD_RD) pevents |= POLLIN; in flags2pevents()291 pevents |= POLL_EXCEPTION_EVENTS; in flags2pevents()292 return pevents; in flags2pevents()