Lines Matching refs:head

53  * @head: the list head
56 * Searches the IPv4 address list given by @head. If a matching address entry
62 struct list_head *head)
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
87 struct list_head *head)
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
112 struct list_head *head)
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
138 struct list_head *head)
142 list_for_each_entry_rcu(iter, head, list)
155 * @head: the list head
158 * Add a new address entry to the list pointed to by @head. On success zero is
163 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head)
167 iter = netlbl_af4list_search(entry->addr, head);
176 list_for_each_entry_rcu(iter, head, list)
184 list_add_tail_rcu(&entry->list, head);
192 * @head: the list head
195 * Add a new address entry to the list pointed to by @head. On success zero is
200 int netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head)
204 iter = netlbl_af6list_search(&entry->addr, head);
214 list_for_each_entry_rcu(iter, head, list)
222 list_add_tail_rcu(&entry->list, head);
246 * @head: the list head
249 * Remove an IP address entry from the list pointed to by @head. Returns the
255 struct list_head *head)
259 entry = netlbl_af4list_search_exact(addr, mask, head);
286 * @head: the list head
289 * Remove an IP address entry from the list pointed to by @head. Returns the
296 struct list_head *head)
300 entry = netlbl_af6list_search_exact(addr, mask, head);