Lines Matching full: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) in netlbl_af4list_search() argument
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
72 struct list_head *head) in netlbl_af4list_search_exact() argument
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
97 struct list_head *head) in netlbl_af6list_search() argument
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
123 struct list_head *head) in netlbl_af6list_search_exact() argument
127 list_for_each_entry_rcu(iter, head, list) in netlbl_af6list_search_exact()
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) in netlbl_af4list_add() argument
152 iter = netlbl_af4list_search(entry->addr, head); in netlbl_af4list_add()
161 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_add()
169 list_add_tail_rcu(&entry->list, head); in netlbl_af4list_add()
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) in netlbl_af6list_add() argument
189 iter = netlbl_af6list_search(&entry->addr, head); in netlbl_af6list_add()
199 list_for_each_entry_rcu(iter, head, list) in netlbl_af6list_add()
207 list_add_tail_rcu(&entry->list, head); in netlbl_af6list_add()
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) in netlbl_af4list_remove() argument
244 entry = netlbl_af4list_search_exact(addr, mask, head); in netlbl_af4list_remove()
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) in netlbl_af6list_remove() argument
285 entry = netlbl_af6list_search_exact(addr, mask, head); in netlbl_af6list_remove()