Lines Matching refs:domain

100 	kfree(ptr->domain);  in netlbl_domhsh_free_entry()
140 static struct netlbl_dom_map *netlbl_domhsh_search(const char *domain) in netlbl_domhsh_search() argument
146 if (domain != NULL) { in netlbl_domhsh_search()
147 bkt = netlbl_domhsh_hash(domain); in netlbl_domhsh_search()
150 if (iter->valid && strcmp(iter->domain, domain) == 0) in netlbl_domhsh_search()
170 static struct netlbl_dom_map *netlbl_domhsh_search_def(const char *domain) in netlbl_domhsh_search_def() argument
174 entry = netlbl_domhsh_search(domain); in netlbl_domhsh_search_def()
211 entry->domain ? entry->domain : "(default)"); in netlbl_domhsh_audit_add()
387 if (entry->domain != NULL) in netlbl_domhsh_add()
388 entry_old = netlbl_domhsh_search(entry->domain); in netlbl_domhsh_add()
390 entry_old = netlbl_domhsh_search_def(entry->domain); in netlbl_domhsh_add()
394 if (entry->domain != NULL) { in netlbl_domhsh_add()
395 u32 bkt = netlbl_domhsh_hash(entry->domain); in netlbl_domhsh_add()
528 entry->domain ? entry->domain : "(default)", in netlbl_domhsh_remove_entry()
570 int netlbl_domhsh_remove_af4(const char *domain, in netlbl_domhsh_remove_af4() argument
585 if (domain) in netlbl_domhsh_remove_af4()
586 entry_map = netlbl_domhsh_search(domain); in netlbl_domhsh_remove_af4()
588 entry_map = netlbl_domhsh_search_def(domain); in netlbl_domhsh_remove_af4()
636 int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info) in netlbl_domhsh_remove() argument
642 if (domain) in netlbl_domhsh_remove()
643 entry = netlbl_domhsh_search(domain); in netlbl_domhsh_remove()
645 entry = netlbl_domhsh_search_def(domain); in netlbl_domhsh_remove()
677 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain) in netlbl_domhsh_getentry() argument
679 return netlbl_domhsh_search_def(domain); in netlbl_domhsh_getentry()
693 struct netlbl_dommap_def *netlbl_domhsh_getentry_af4(const char *domain, in netlbl_domhsh_getentry_af4() argument
699 dom_iter = netlbl_domhsh_search_def(domain); in netlbl_domhsh_getentry_af4()
723 struct netlbl_dommap_def *netlbl_domhsh_getentry_af6(const char *domain, in netlbl_domhsh_getentry_af6() argument
729 dom_iter = netlbl_domhsh_search_def(domain); in netlbl_domhsh_getentry_af6()