Lines Matching refs:head
38 * @head: the list head
41 * Searches the IPv4 address list given by @head. If a matching address entry
47 struct list_head *head)
51 list_for_each_entry_rcu(iter, head, list)
62 * @head: the list head
65 * Searches the IPv4 address list given by @head. If an exact match if found
72 struct list_head *head)
76 list_for_each_entry_rcu(iter, head, list)
88 * @head: the list head
91 * Searches the IPv6 address list given by @head. If a matching address entry
97 struct list_head *head)
101 list_for_each_entry_rcu(iter, head, list)
113 * @head: the list head
116 * Searches the IPv6 address list given by @head. If an exact match if found
123 struct list_head *head)
127 list_for_each_entry_rcu(iter, head, list)
140 * @head: the list head
143 * Add a new address entry to the list pointed to by @head. On success zero is
148 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head)
152 iter = netlbl_af4list_search(entry->addr, head);
161 list_for_each_entry_rcu(iter, head, list)
169 list_add_tail_rcu(&entry->list, head);
177 * @head: the list head
180 * Add a new address entry to the list pointed to by @head. On success zero is
185 int netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head)
189 iter = netlbl_af6list_search(&entry->addr, head);
199 list_for_each_entry_rcu(iter, head, list)
207 list_add_tail_rcu(&entry->list, head);
231 * @head: the list head
234 * Remove an IP address entry from the list pointed to by @head. Returns the
240 struct list_head *head)
244 entry = netlbl_af4list_search_exact(addr, mask, head);
271 * @head: the list head
274 * Remove an IP address entry from the list pointed to by @head. Returns the
281 struct list_head *head)
285 entry = netlbl_af6list_search_exact(addr, mask, head);