Lines Matching refs:ctf_list_t
25 each list element contains an embedded ctf_list_t as the first member.
26 An additional ctf_list_t is used to store the head (l_next) and tail
31 ctf_list_append (ctf_list_t *lp, void *newp)
33 ctf_list_t *p = lp->l_prev; /* p = tail list element. */
34 ctf_list_t *q = newp; /* q = new list element. */
46 /* Prepend the specified existing element to the given ctf_list_t. The
47 existing pointer should be pointing at a struct with embedded ctf_list_t. */
50 ctf_list_prepend (ctf_list_t * lp, void *newp)
52 ctf_list_t *p = newp; /* p = new list element. */
53 ctf_list_t *q = lp->l_next; /* q = head list element. */
65 /* Delete the specified existing element from the given ctf_list_t. The
66 existing pointer should be pointing at a struct with embedded ctf_list_t. */
69 ctf_list_delete (ctf_list_t *lp, void *existing)
71 ctf_list_t *p = existing;
87 ctf_list_empty_p (ctf_list_t *lp)
96 ctf_list_splice (ctf_list_t *lp, ctf_list_t *append)