Lines Matching refs:op
165 epoll_op_to_string(int op)
167 return op == EPOLL_CTL_ADD?"ADD":
168 op == EPOLL_CTL_DEL?"DEL":
169 op == EPOLL_CTL_MOD?"MOD":
179 int op, events = 0;
183 on the fd before, we need to set op="ADD" and set
186 fd, we need to say op="MOD" and set events=the events we
188 we say op="DEL" and set events=the remaining events. What
199 op = EPOLL_CTL_ADD;
232 op = EPOLL_CTL_MOD;
238 op = EPOLL_CTL_DEL;
245 op = EPOLL_CTL_MOD;
252 op = EPOLL_CTL_MOD;
265 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == -1) {
266 if (op == EPOLL_CTL_MOD && errno == ENOENT) {
280 } else if (op == EPOLL_CTL_ADD && errno == EEXIST) {
297 } else if (op == EPOLL_CTL_DEL &&
309 epoll_op_to_string(op),
321 epoll_op_to_string(op),