Lines Matching refs:ee
75 struct epoll_event ee = {0}; /* avoid valgrind warning */ in aeApiAddEvent() local
81 ee.events = 0; in aeApiAddEvent()
83 if (mask & AE_READABLE) ee.events |= EPOLLIN; in aeApiAddEvent()
84 if (mask & AE_WRITABLE) ee.events |= EPOLLOUT; in aeApiAddEvent()
85 ee.data.fd = fd; in aeApiAddEvent()
86 if (epoll_ctl(state->epfd,op,fd,&ee) == -1) return -1; in aeApiAddEvent()
92 struct epoll_event ee = {0}; /* avoid valgrind warning */ in aeApiDelEvent() local
95 ee.events = 0; in aeApiDelEvent()
96 if (mask & AE_READABLE) ee.events |= EPOLLIN; in aeApiDelEvent()
97 if (mask & AE_WRITABLE) ee.events |= EPOLLOUT; in aeApiDelEvent()
98 ee.data.fd = fd; in aeApiDelEvent()
100 epoll_ctl(state->epfd,EPOLL_CTL_MOD,fd,&ee); in aeApiDelEvent()
104 epoll_ctl(state->epfd,EPOLL_CTL_DEL,fd,&ee); in aeApiDelEvent()