Lines Matching refs:ctf_list_t
35 * each list element contains an embedded ctf_list_t as the first member.
36 * An additional ctf_list_t is used to store the head (l_next) and tail
41 ctf_list_append(ctf_list_t *lp, void *new)
43 ctf_list_t *p = lp->l_prev; /* p = tail list element */
44 ctf_list_t *q = new; /* q = new list element */
57 * Prepend the specified existing element to the given ctf_list_t. The
58 * existing pointer should be pointing at a struct with embedded ctf_list_t.
61 ctf_list_prepend(ctf_list_t *lp, void *new)
63 ctf_list_t *p = new; /* p = new list element */
64 ctf_list_t *q = lp->l_next; /* q = head list element */
77 * Delete the specified existing element from the given ctf_list_t. The
78 * existing pointer should be pointing at a struct with embedded ctf_list_t.
81 ctf_list_delete(ctf_list_t *lp, void *existing)
83 ctf_list_t *p = existing;