Lines Matching refs:head
47 struct list_head *head) in netlbl_af4list_search() argument
51 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_search()
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()
97 struct list_head *head) in netlbl_af6list_search() argument
101 list_for_each_entry_rcu(iter, head, list) in netlbl_af6list_search()
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()
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()
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()
240 struct list_head *head) in netlbl_af4list_remove() argument
244 entry = netlbl_af4list_search_exact(addr, mask, head); in netlbl_af4list_remove()
281 struct list_head *head) in netlbl_af6list_remove() argument
285 entry = netlbl_af6list_search_exact(addr, mask, head); in netlbl_af6list_remove()