Lines Matching refs:policydb
15 policydb_t *policydb = args; in find_dups_helper() local
33 sattr = &policydb->type_attr_map[k->source_type - 1]; in find_dups_helper()
34 tattr = &policydb->type_attr_map[k->target_type - 1]; in find_dups_helper()
35 stype = policydb->type_val_to_struct[k->source_type - 1]; in find_dups_helper()
36 ttype = policydb->type_val_to_struct[k->target_type - 1]; in find_dups_helper()
51 stype2 = policydb->type_val_to_struct[avkey.source_type - 1]; in find_dups_helper()
52 ttype2 = policydb->type_val_to_struct[avkey.target_type - 1]; in find_dups_helper()
56 for (node = avtab_search_node(&policydb->te_avtab, &avkey); in find_dups_helper()
67 display_allow(policydb, k, i, d->data); in find_dups_helper()
68 display_allow(policydb, &node->key, i, node->datum.data); in find_dups_helper()
78 static int find_dups(policydb_t * policydb) in find_dups() argument
80 if (avtab_map(&policydb->te_avtab, find_dups_helper, policydb)) in find_dups()
85 int dups_func (int argc, __attribute__ ((unused)) char **argv, policydb_t *policydb) { in dups_func() argument
90 return find_dups(policydb); in dups_func()