Lines Matching refs:del
158 evFile *del = opaqueID.opaque;
162 if (!del) {
169 del->fd, del->eventmask);
172 mode = fcntl(del->fd, F_GETFL, NULL);
177 if (del->prev != NULL)
178 del->prev->next = del->next;
180 ctx->files = del->next;
181 if (del->next != NULL)
182 del->next->prev = del->prev;
185 if (del->fdprev != NULL)
186 del->fdprev->fdnext = del->fdnext;
188 ctx->fdTable[del->fd] = del->fdnext;
189 if (del->fdnext != NULL)
190 del->fdnext->fdprev = del->fdprev;
197 if (!(cur = FindFD(ctx, del->fd, EV_MASK_ALL)) &&
198 !FD_ISSET(del->fd, &ctx->nonblockBefore) &&
207 (void) ioctl(del->fd, FIONBIO, (char *)&off);
209 (void) fcntl(del->fd, F_SETFL, mode & ~PORT_NONBLOCK);
223 if (cur->fd == del->fd)
228 FD_CLR(del->fd, &ctx->rdNext);
229 if (FD_ISSET(del->fd, &ctx->rdLast)) {
230 FD_CLR(del->fd, &ctx->rdLast);
235 FD_CLR(del->fd, &ctx->wrNext);
236 if (FD_ISSET(del->fd, &ctx->wrLast)) {
237 FD_CLR(del->fd, &ctx->wrLast);
242 FD_CLR(del->fd, &ctx->exNext);
243 if (FD_ISSET(del->fd, &ctx->exLast)) {
244 FD_CLR(del->fd, &ctx->exLast);
250 if (del->fd == ctx->fdMax) {
258 if (del == ctx->fdNext)
259 ctx->fdNext = del->next;
262 FREE(del);