Lines Matching full:list
5 * This file contains network address list functions used to manage ordered
19 #include <linux/list.h>
32 * Address List Functions
38 * @head: the list head
41 * Searches the IPv4 address list given by @head. If a matching address entry
51 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_search()
62 * @head: the list head
65 * Searches the IPv4 address list given by @head. If an exact match if found
76 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_search_exact()
88 * @head: the list head
91 * Searches the IPv6 address list given by @head. If a matching address entry
101 list_for_each_entry_rcu(iter, head, list) in netlbl_af6list_search()
113 * @head: the list head
116 * Searches the IPv6 address list given by @head. If an exact match if found
127 list_for_each_entry_rcu(iter, head, list) in netlbl_af6list_search_exact()
138 * netlbl_af4list_add - Add a new IPv4 address entry to a list
140 * @head: the list head
143 * Add a new address entry to the list pointed to by @head. On success zero is
157 /* in order to speed up address searches through the list (the common in netlbl_af4list_add()
158 * case) we need to keep the list in order based on the size of the in netlbl_af4list_add()
160 * numerical value) appears first in the list */ in netlbl_af4list_add()
161 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_add()
164 __list_add_rcu(&entry->list, in netlbl_af4list_add()
165 iter->list.prev, in netlbl_af4list_add()
166 &iter->list); in netlbl_af4list_add()
169 list_add_tail_rcu(&entry->list, head); in netlbl_af4list_add()
175 * netlbl_af6list_add - Add a new IPv6 address entry to a list
177 * @head: the list head
180 * Add a new address entry to the list pointed to by @head. On success zero is
195 /* in order to speed up address searches through the list (the common in netlbl_af6list_add()
196 * case) we need to keep the list in order based on the size of the in netlbl_af6list_add()
198 * numerical value) appears first in the list */ in netlbl_af6list_add()
199 list_for_each_entry_rcu(iter, head, list) in netlbl_af6list_add()
202 __list_add_rcu(&entry->list, in netlbl_af6list_add()
203 iter->list.prev, in netlbl_af6list_add()
204 &iter->list); in netlbl_af6list_add()
207 list_add_tail_rcu(&entry->list, head); in netlbl_af6list_add()
224 list_del_rcu(&entry->list); in netlbl_af4list_remove_entry()
231 * @head: the list head
234 * Remove an IP address entry from the list pointed to by @head. Returns the
264 list_del_rcu(&entry->list); in netlbl_af6list_remove_entry()
271 * @head: the list head
274 * Remove an IP address entry from the list pointed to by @head. Returns the