Lines Matching defs:el
130 evch_dl_add(evch_dlist_t *hp, evch_dlelem_t *el)
135 x->dl_next = el;
136 y->dl_prev = el;
137 el->dl_next = y;
138 el->dl_prev = x;
182 * Find next element of a evch_dlist_t list. Find first element if el == NULL.
186 evch_dl_next(evch_dlist_t *hp, void *el)
188 evch_dlelem_t *ep = (evch_dlelem_t *)el;
223 evch_q_in(evch_squeue_t *q, evch_qelem_t *el)
225 q->sq_tail->q_next = el;
226 el->q_next = NULL;
227 q->sq_tail = el;
240 evch_qelem_t *el;
242 if ((el = q->sq_head) != NULL) {
243 q->sq_head = el->q_next;
249 return (el);
253 * Returns element after *el or first if el == NULL. NULL is returned
254 * if queue is empty or *el points to the last element in the queue.
257 evch_q_next(evch_squeue_t *q, evch_qelem_t *el)
259 if (el == NULL)
261 return (el->q_next);