Lines Matching refs:l_next
48 q->l_next = NULL; in ctf_list_append()
51 p->l_next = q; in ctf_list_append()
53 lp->l_next = q; in ctf_list_append()
64 ctf_list_t *q = lp->l_next; /* q = head list element */ in ctf_list_prepend()
66 lp->l_next = p; in ctf_list_prepend()
68 p->l_next = q; in ctf_list_prepend()
84 new->l_next = lp; in ctf_list_insert_before()
87 prev->l_next = new; in ctf_list_insert_before()
89 ASSERT(head->l_next == lp); in ctf_list_insert_before()
90 head->l_next = new; in ctf_list_insert_before()
104 p->l_prev->l_next = p->l_next; in ctf_list_delete()
106 lp->l_next = p->l_next; in ctf_list_delete()
108 if (p->l_next != NULL) in ctf_list_delete()
109 p->l_next->l_prev = p->l_prev; in ctf_list_delete()