Lines Matching refs:ctf_list_t
24 each list element contains an embedded ctf_list_t as the first member.
25 An additional ctf_list_t is used to store the head (l_next) and tail
30 ctf_list_append (ctf_list_t *lp, void *newp)
32 ctf_list_t *p = lp->l_prev; /* p = tail list element. */
33 ctf_list_t *q = newp; /* q = new list element. */
45 /* Prepend the specified existing element to the given ctf_list_t. The
46 existing pointer should be pointing at a struct with embedded ctf_list_t. */
49 ctf_list_prepend (ctf_list_t * lp, void *newp)
51 ctf_list_t *p = newp; /* p = new list element. */
52 ctf_list_t *q = lp->l_next; /* q = head list element. */
64 /* Delete the specified existing element from the given ctf_list_t. The
65 existing pointer should be pointing at a struct with embedded ctf_list_t. */
68 ctf_list_delete (ctf_list_t *lp, void *existing)
70 ctf_list_t *p = existing;
86 ctf_list_empty_p (ctf_list_t *lp)
95 ctf_list_splice (ctf_list_t *lp, ctf_list_t *append)