Home
last modified time | relevance | path

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

/external/selinux/checkpolicy/test/
Ddispol.c342 struct filename_trans *ft = (struct filename_trans *)key; in filenametr_display()
364 hashtab_map(p->filename_trans, filenametr_display, &args); in display_filename_trans()
/external/selinux/libsepol/src/
Dpolicydb.c771 const struct filename_trans *ft = (const struct filename_trans *)k; in filenametr_hash()
787 const struct filename_trans *ft1 = (const struct filename_trans *)k1; in filenametr_cmp()
788 const struct filename_trans *ft2 = (const struct filename_trans *)k2; in filenametr_cmp()
874 p->filename_trans = hashtab_create(filenametr_hash, filenametr_cmp, (1 << 10)); in policydb_init()
875 if (!p->filename_trans) { in policydb_init()
891 hashtab_destroy(p->filename_trans); in policydb_init()
1391 struct filename_trans *ft = (struct filename_trans *)key; in filenametr_destroy()
1533 hashtab_map(p->filename_trans, filenametr_destroy, NULL); in policydb_destroy()
1534 hashtab_destroy(p->filename_trans); in policydb_destroy()
2632 rc = hashtab_insert(p->filename_trans, (hashtab_key_t) ft, in filename_trans_read()
Dwrite.c572 struct filename_trans *ft = (struct filename_trans *)key; in filename_write_helper()
606 nel = p->filename_trans->nel; in filename_trans_write()
612 rc = hashtab_map(p->filename_trans, filename_write_helper, fp); in filename_trans_write()
2258 if (p->filename_trans) in policydb_write()
Dexpand.c1428 otype = hashtab_search(state->out->filename_trans, in expand_filename_trans()
1470 rc = hashtab_insert(state->out->filename_trans, in expand_filename_trans()
Dkernel_to_conf.c1826 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_conf()
Dkernel_to_cil.c1858 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h164 typedef struct filename_trans { struct
592 hashtab_t filename_trans; member
/external/selinux/checkpolicy/
Dpolicy_define.c3437 ftdatum = hashtab_search(policydbp->filename_trans, in define_filename_trans()
3453 rc = hashtab_insert(policydbp->filename_trans, in define_filename_trans()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1226 rc = hashtab_insert(pdb->filename_trans, in __cil_typetransition_to_avtab()