• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netlabel/

Lines Matching refs:list

4  * This file contains network address list functions used to manage ordered
34 #include <linux/list.h>
53 * @head: the list head
56 * Searches the IPv4 address list given by @head. If a matching address entry
66 list_for_each_entry_rcu(iter, head, list)
77 * @head: the list head
80 * Searches the IPv4 address list given by @head. If an exact match if found
91 list_for_each_entry_rcu(iter, head, list)
103 * @head: the list head
106 * Searches the IPv6 address list given by @head. If a matching address entry
116 list_for_each_entry_rcu(iter, head, list)
128 * @head: the list head
131 * Searches the IPv6 address list given by @head. If an exact match if found
142 list_for_each_entry_rcu(iter, head, list)
153 * netlbl_af4list_add - Add a new IPv4 address entry to a list
155 * @head: the list head
158 * Add a new address entry to the list pointed to by @head. On success zero is
172 /* in order to speed up address searches through the list (the common
173 * case) we need to keep the list in order based on the size of the
175 * numerical value) appears first in the list */
176 list_for_each_entry_rcu(iter, head, list)
179 __list_add_rcu(&entry->list,
180 iter->list.prev,
181 &iter->list);
184 list_add_tail_rcu(&entry->list, head);
190 * netlbl_af6list_add - Add a new IPv6 address entry to a list
192 * @head: the list head
195 * Add a new address entry to the list pointed to by @head. On success zero is
210 /* in order to speed up address searches through the list (the common
211 * case) we need to keep the list in order based on the size of the
213 * numerical value) appears first in the list */
214 list_for_each_entry_rcu(iter, head, list)
217 __list_add_rcu(&entry->list,
218 iter->list.prev,
219 &iter->list);
222 list_add_tail_rcu(&entry->list, head);
239 list_del_rcu(&entry->list);
246 * @head: the list head
249 * Remove an IP address entry from the list pointed to by @head. Returns the
279 list_del_rcu(&entry->list);
286 * @head: the list head
289 * Remove an IP address entry from the list pointed to by @head. Returns the