Lines Matching full:lp
39 ctf_list_append(ctf_list_t *lp, void *new) in ctf_list_append() argument
41 ctf_list_t *p = lp->l_prev; /* p = tail list element */ in ctf_list_append()
44 lp->l_prev = q; in ctf_list_append()
51 lp->l_next = q; in ctf_list_append()
59 ctf_list_prepend(ctf_list_t *lp, void *new) in ctf_list_prepend() argument
62 ctf_list_t *q = lp->l_next; /* q = head list element */ in ctf_list_prepend()
64 lp->l_next = p; in ctf_list_prepend()
71 lp->l_prev = p; in ctf_list_prepend()
79 ctf_list_delete(ctf_list_t *lp, void *existing) in ctf_list_delete() argument
86 lp->l_next = p->l_next; in ctf_list_delete()
91 lp->l_prev = p->l_prev; in ctf_list_delete()