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_add_rcu --  add a new entry to rcu-protected list
list_add_tail_rcu --  add a new entry to rcu-protected list
list_del --  deletes entry from list.
list_del_rcu --  deletes entry from list without re-initialization
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_empty_careful --  tests whether a list is
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 --  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_reverse --  iterate backwards over list of given type.
list_prepare_entry --  prepare a pos entry for use as a start point in
list_for_each_entry_continue --  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_rcu --  iterate over an rcu-protected list
list_for_each_safe_rcu --  iterate over an rcu-protected list safe
list_for_each_entry_rcu --  iterate over rcu list of given type
list_for_each_continue_rcu --  iterate over an rcu-protected list
hlist_del_rcu --  deletes entry from hash list without re-initialization
hlist_add_head_rcu --  adds the specified element to the specified hlist,
hlist_for_each_entry --  iterate over list of given type
hlist_for_each_entry_continue --  iterate over a hlist continuing after existing point
hlist_for_each_entry_from --  iterate over a hlist continuing from existing point
hlist_for_each_entry_safe --  iterate over list of given type safe against removal of list entry
hlist_for_each_entry_rcu --  iterate over rcu list of given type