Searched refs:the_list (Results 1 – 1 of 1) sorted by relevance
94 list_head(list_t the_list) { in list_head() argument95 return *the_list; in list_head()99 list_remove(list_t the_list, void *item) { in list_remove() argument100 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() argument106 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() argument112 LL_PREPEND(*(struct list **)the_list, (struct list *)item); in list_push()[all …]