Lines Matching refs:domain

101 	kfree(ptr->domain);  in netlbl_domhsh_free_entry()
141 static struct netlbl_dom_map *netlbl_domhsh_search(const char *domain) in netlbl_domhsh_search() argument
147 if (domain != NULL) { in netlbl_domhsh_search()
148 bkt = netlbl_domhsh_hash(domain); in netlbl_domhsh_search()
151 if (iter->valid && strcmp(iter->domain, domain) == 0) in netlbl_domhsh_search()
171 static struct netlbl_dom_map *netlbl_domhsh_search_def(const char *domain) in netlbl_domhsh_search_def() argument
175 entry = netlbl_domhsh_search(domain); in netlbl_domhsh_search_def()
212 entry->domain ? entry->domain : "(default)"); in netlbl_domhsh_audit_add()
389 if (entry->domain != NULL) in netlbl_domhsh_add()
390 entry_old = netlbl_domhsh_search(entry->domain); in netlbl_domhsh_add()
392 entry_old = netlbl_domhsh_search_def(entry->domain); in netlbl_domhsh_add()
396 if (entry->domain != NULL) { in netlbl_domhsh_add()
397 u32 bkt = netlbl_domhsh_hash(entry->domain); in netlbl_domhsh_add()
532 entry->domain ? entry->domain : "(default)", in netlbl_domhsh_remove_entry()
574 int netlbl_domhsh_remove_af4(const char *domain, in netlbl_domhsh_remove_af4() argument
589 if (domain) in netlbl_domhsh_remove_af4()
590 entry_map = netlbl_domhsh_search(domain); in netlbl_domhsh_remove_af4()
592 entry_map = netlbl_domhsh_search_def(domain); in netlbl_domhsh_remove_af4()
639 int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info) in netlbl_domhsh_remove() argument
645 if (domain) in netlbl_domhsh_remove()
646 entry = netlbl_domhsh_search(domain); in netlbl_domhsh_remove()
648 entry = netlbl_domhsh_search_def(domain); in netlbl_domhsh_remove()
680 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain) in netlbl_domhsh_getentry() argument
682 return netlbl_domhsh_search_def(domain); in netlbl_domhsh_getentry()
696 struct netlbl_domaddr4_map *netlbl_domhsh_getentry_af4(const char *domain, in netlbl_domhsh_getentry_af4() argument
702 dom_iter = netlbl_domhsh_search_def(domain); in netlbl_domhsh_getentry_af4()
728 struct netlbl_domaddr6_map *netlbl_domhsh_getentry_af6(const char *domain, in netlbl_domhsh_getentry_af6() argument
734 dom_iter = netlbl_domhsh_search_def(domain); in netlbl_domhsh_getentry_af6()