Lines Matching refs:the_list
94 list_head(list_t the_list) { in list_head() argument
95 return *the_list; in list_head()
99 list_remove(list_t the_list, void *item) { in list_remove() argument
100 if (list_head(the_list)) in list_remove()
101 LL_DELETE(*(struct list **)the_list, (struct list *)item); in list_remove()
105 list_add(list_t the_list, void *item) { in list_add() argument
106 list_remove(the_list, item); in list_add()
107 LL_APPEND(*(struct list **)the_list, (struct list *)item); in list_add()
111 list_push(list_t the_list, void *item) { in list_push() argument
112 LL_PREPEND(*(struct list **)the_list, (struct list *)item); in list_push()
116 list_pop(list_t the_list) { in list_pop() argument
118 l = (struct list*)*the_list; in list_pop()
120 list_remove(the_list, l); in list_pop()
126 list_insert(list_t the_list, void *previtem, void *newitem) { in list_insert() argument
128 list_push(the_list, newitem); in list_insert()