Lines Matching refs:NULL
58 static struct netlbl_domhsh_tbl *netlbl_domhsh = NULL;
59 static struct netlbl_dom_map *netlbl_domhsh_def = NULL;
146 if (domain != NULL) { in netlbl_domhsh_search()
154 return NULL; in netlbl_domhsh_search()
175 if (entry == NULL) { in netlbl_domhsh_search_def()
177 if (entry != NULL && !entry->valid) in netlbl_domhsh_search_def()
178 entry = NULL; in netlbl_domhsh_search_def()
205 struct cipso_v4_doi *cipsov4 = NULL; in netlbl_domhsh_audit_add()
209 if (audit_buf != NULL) { in netlbl_domhsh_audit_add()
212 if (addr4 != NULL) { in netlbl_domhsh_audit_add()
217 netlbl_af4list_audit_addr(audit_buf, 0, NULL, in netlbl_domhsh_audit_add()
220 } else if (addr6 != NULL) { in netlbl_domhsh_audit_add()
224 netlbl_af6list_audit_addr(audit_buf, 0, NULL, in netlbl_domhsh_audit_add()
236 BUG_ON(cipsov4 == NULL); in netlbl_domhsh_audit_add()
264 if (entry == NULL) in netlbl_domhsh_validate()
269 if (entry->def.cipso != NULL || entry->def.addrsel != NULL) in netlbl_domhsh_validate()
273 if (entry->def.cipso == NULL) in netlbl_domhsh_validate()
281 if (map4->def.cipso != NULL) in netlbl_domhsh_validate()
285 if (map4->def.cipso == NULL) in netlbl_domhsh_validate()
334 if (hsh_tbl == NULL) in netlbl_domhsh_init()
340 if (hsh_tbl->tbl == NULL) { in netlbl_domhsh_init()
387 if (entry->domain != NULL) in netlbl_domhsh_add()
391 if (entry_old == NULL) { in netlbl_domhsh_add()
394 if (entry->domain != NULL) { in netlbl_domhsh_add()
406 netlbl_domhsh_audit_add(entry, iter4, NULL, in netlbl_domhsh_add()
411 netlbl_domhsh_audit_add(entry, NULL, iter6, in netlbl_domhsh_add()
415 netlbl_domhsh_audit_add(entry, NULL, NULL, in netlbl_domhsh_add()
449 netlbl_domhsh_audit_add(entry_old, iter4, NULL, in netlbl_domhsh_add()
460 netlbl_domhsh_audit_add(entry_old, NULL, iter6, in netlbl_domhsh_add()
510 if (entry == NULL) in netlbl_domhsh_remove_entry()
519 RCU_INIT_POINTER(netlbl_domhsh_def, NULL); in netlbl_domhsh_remove_entry()
525 if (audit_buf != NULL) { in netlbl_domhsh_remove_entry()
589 if (entry_map == NULL || in netlbl_domhsh_remove_af4()
598 if (entry_addr == NULL) in netlbl_domhsh_remove_af4()
664 return netlbl_domhsh_remove(NULL, audit_info); in netlbl_domhsh_remove_default()
700 if (dom_iter == NULL) in netlbl_domhsh_getentry_af4()
701 return NULL; in netlbl_domhsh_getentry_af4()
706 if (addr_iter == NULL) in netlbl_domhsh_getentry_af4()
707 return NULL; in netlbl_domhsh_getentry_af4()
730 if (dom_iter == NULL) in netlbl_domhsh_getentry_af6()
731 return NULL; in netlbl_domhsh_getentry_af6()
736 if (addr_iter == NULL) in netlbl_domhsh_getentry_af6()
737 return NULL; in netlbl_domhsh_getentry_af6()