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.c732 const struct filename_trans *ft = (const struct filename_trans *)k; in filenametr_hash()
748 const struct filename_trans *ft1 = (const struct filename_trans *)k1; in filenametr_cmp()
749 const struct filename_trans *ft2 = (const struct filename_trans *)k2; in filenametr_cmp()
835 p->filename_trans = hashtab_create(filenametr_hash, filenametr_cmp, (1 << 10)); in policydb_init()
836 if (!p->filename_trans) { in policydb_init()
852 hashtab_destroy(p->filename_trans); in policydb_init()
1352 struct filename_trans *ft = (struct filename_trans *)key; in filenametr_destroy()
1492 hashtab_map(p->filename_trans, filenametr_destroy, NULL); in policydb_destroy()
1493 hashtab_destroy(p->filename_trans); in policydb_destroy()
2586 rc = hashtab_insert(p->filename_trans, (hashtab_key_t) ft, in filename_trans_read()
Dwrite.c570 struct filename_trans *ft = (struct filename_trans *)key; in filename_write_helper()
604 nel = p->filename_trans->nel; in filename_trans_write()
610 rc = hashtab_map(p->filename_trans, filename_write_helper, fp); in filename_trans_write()
2194 if (p->filename_trans) in policydb_write()
Dexpand.c1427 otype = hashtab_search(state->out->filename_trans, in expand_filename_trans()
1466 rc = hashtab_insert(state->out->filename_trans, in expand_filename_trans()
Dkernel_to_cil.c1843 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_cil()
Dkernel_to_conf.c1811 rc = hashtab_map(pdb->filename_trans, map_filename_trans_to_str, &args); in write_filename_trans_rules_to_conf()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h161 typedef struct filename_trans { struct
579 hashtab_t filename_trans; member
/external/selinux/checkpolicy/
Dpolicy_define.c3426 ftdatum = hashtab_search(policydbp->filename_trans, in define_filename_trans()
3442 rc = hashtab_insert(policydbp->filename_trans, in define_filename_trans()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1222 rc = hashtab_insert(pdb->filename_trans, in __cil_typetransition_to_avtab()