Lines Matching refs:topo_list_t
39 * each list element contains an embedded topo_list_t (previous and next
41 * An additional topo_list_t is used to store the head (l_next) and tail
48 * to the embedded topo_list_t inside of each list element to avoid corruption.
49 * Refer to comments in the source files that use topo_list_t for lock details.
54 topo_list_append(topo_list_t *lp, void *new)
56 topo_list_t *p = lp->l_prev; /* p = tail list element */
57 topo_list_t *q = new; /* q = new list element */
73 topo_list_prepend(topo_list_t *lp, void *new)
75 topo_list_t *p = new; /* p = new list element */
76 topo_list_t *q = lp->l_next; /* q = head list element */
92 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new)
94 topo_list_t *p = before_me;
95 topo_list_t *q = new;
109 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new)
111 topo_list_t *p = after_me;
112 topo_list_t *q = new;
126 topo_list_delete(topo_list_t *lp, void *existing)
128 topo_list_t *p = existing;