Lines Matching refs:wp
317 Waiting_t* wp;
322 if (cp->waiting && (wp = (Waiting_t*)dtmatch(cp->waiting, &ep)))
324 if (wp->id >= 0)
326 log(state, cp, 'x', "%d 0", wp->id);
335 dtdelete(cp->waiting, wp);
350 Waiting_t* wp;
372 if (!(wp = newof(0, Waiting_t, 1, 0)))
378 wp->id = id;
379 wp->event = ep;
380 dtinsert(con->waiting, wp);
392 Waiting_t* wp;
401 for (wp = (Waiting_t*)dtfirst(cp->waiting); wp; wp = (Waiting_t*)dtnext(cp->waiting, wp))
402 log(state, con, 0, " %s", wp->event->name);