Home
last modified time | relevance | path

Searched refs:cil_strpool_tab (Results 1 – 1 of 1) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_strpool.c46 static hashtab_t cil_strpool_tab = NULL; variable
73 strpool_ref = hashtab_search(cil_strpool_tab, str); in cil_strpool_add()
78 rc = hashtab_insert(cil_strpool_tab, strpool_ref->str, strpool_ref); in cil_strpool_add()
101 if (cil_strpool_tab == NULL) { in cil_strpool_init()
102 cil_strpool_tab = hashtab_create(cil_strpool_hash, cil_strpool_compare, CIL_STRPOOL_TABLE_SIZE); in cil_strpool_init()
103 if (cil_strpool_tab == NULL) { in cil_strpool_init()
118 hashtab_map(cil_strpool_tab, cil_strpool_entry_destroy, NULL); in cil_strpool_destroy()
119 hashtab_destroy(cil_strpool_tab); in cil_strpool_destroy()
120 cil_strpool_tab = NULL; in cil_strpool_destroy()