Chapter 2. Data Types

2.1. Doubly Linked Lists

Table of Contents
list_add --  add a new entry
list_add_tail --  add a new entry
list_del --  deletes entry from list.
list_del_init --  deletes entry from list and reinitialize it.
list_move --  delete from one list and add as another's head
list_move_tail --  delete from one list and add as another's tail
list_empty --  tests whether a list is empty
list_splice --  join two lists
list_splice_init --  join two lists and reinitialise the emptied list.
list_entry --  get the struct for this entry
list_for_each --  iterate over a list
list_for_each_prev --  iterate over a list backwards
list_for_each_safe --  iterate over a list safe against removal of list entry
list_for_each_entry --  iterate over list of given type
list_for_each_entry_safe --  iterate over list of given type safe against removal of list entry
list_for_each_entry_continue --  iterate over list of given type