Lines Matching refs:ctf_list_t
801 } ctf_list_t;
803 #define ctf_list_prev(elem) ((void *)(((ctf_list_t *)(elem))->l_prev))
804 #define ctf_list_next(elem) ((void *)(((ctf_list_t *)(elem))->l_next))
815 ctf_list_t cd_list; /* linked list pointers */
822 ctf_list_t cd_nodes[CTF_PREC_MAX]; /* declaration node stacks */
835 * each list element contains an embedded ctf_list_t as the first member.
836 * An additional ctf_list_t is used to store the head (l_next) and tail
841 ctf_list_append(ctf_list_t *lp, void *new)
843 ctf_list_t *p = lp->l_prev; /* p = tail list element */
844 ctf_list_t *q = new; /* q = new list element */
857 * Prepend the specified existing element to the given ctf_list_t. The
858 * existing pointer should be pointing at a struct with embedded ctf_list_t.
861 ctf_list_prepend(ctf_list_t *lp, void *new)
863 ctf_list_t *p = new; /* p = new list element */
864 ctf_list_t *q = lp->l_next; /* q = head list element */