/external/libsepol/src/ |
D | util.c | 93 rc = hashtab_map(cladatum->permissions.table, in sepol_av_to_string() 96 rc = hashtab_map(cladatum->comdatum-> in sepol_av_to_string()
|
D | expand.c | 349 if (hashtab_map in common_copy_callback() 544 if (hashtab_map in class_copy_callback() 3013 if (hashtab_map(state.base->p_types.table, type_copy_callback, &state)) { in expand_module() 3018 if (hashtab_map in expand_module() 3024 if (hashtab_map in expand_module() 3031 if (hashtab_map in expand_module() 3037 if (hashtab_map(state.base->p_types.table, in expand_module() 3042 if (hashtab_map(state.base->p_types.table, alias_copy_callback, &state)) in expand_module() 3052 if (hashtab_map(state.base->p_roles.table, role_copy_callback, &state)) in expand_module() 3054 if (hashtab_map(state.base->p_roles.table, in expand_module() [all …]
|
D | link.c | 333 hashtab_map(cladatum->permissions.table, permission_copy_callback, in class_copy_callback() 1617 hashtab_map(src_symtab[i].table, copy_callback_f[i], in copy_identifiers() 1625 if (hashtab_map(src_symtab[SYM_TYPES].table, in copy_identifiers() 1629 if (hashtab_map(src_symtab[SYM_TYPES].table, in copy_identifiers() 1633 if (hashtab_map(src_symtab[SYM_ROLES].table, in copy_identifiers() 1637 if (hashtab_map(src_symtab[SYM_USERS].table, in copy_identifiers() 1644 hashtab_map(src_symtab[i].table, fix_callback_f[i], in copy_identifiers() 1937 if (hashtab_map in copy_module() 2046 (void)hashtab_map(cladatum->permissions.table, find_perm, in is_decl_requires_met() 2049 rc = hashtab_map(cladatum->comdatum->permissions.table, in is_decl_requires_met() [all …]
|
D | hierarchy.c | 468 if (hashtab_map(p->p_types.table, check_type_hierarchy_callback, &args)) in hierarchy_check_constraints() 480 if (hashtab_map(p->p_roles.table, check_role_hierarchy_callback, &args)) in hierarchy_check_constraints() 483 if (hashtab_map(p->p_users.table, check_user_hierarchy_callback, &args)) in hierarchy_check_constraints()
|
D | policydb.c | 959 if (hashtab_map(p->p_commons.table, common_index, p)) in policydb_index_classes() 974 if (hashtab_map(p->p_classes.table, class_index, p)) in policydb_index_classes() 989 if (hashtab_map(p->p_bools.table, cond_index_bool, p)) in policydb_index_bools() 1081 if (hashtab_map(p->symtab[i].table, index_f[i], p)) in policydb_index_others() 1087 if (hashtab_map(p->p_roles.table, policydb_role_cache, p)) in policydb_index_others() 1090 if (hashtab_map(p->p_users.table, policydb_user_cache, p)) in policydb_index_others() 1119 (void)hashtab_map(comdatum->permissions.table, perm_destroy, 0); in common_destroy() 1138 (void)hashtab_map(cladatum->permissions.table, perm_destroy, 0); in class_destroy() 1306 (void)hashtab_map(p->scope[i].table, scope_destroy, 0); in policydb_destroy() 1396 (void)hashtab_map(symtab[i].table, destroy_f[i], 0); in symtabs_destroy() [all …]
|
D | write.c | 855 if (hashtab_map(comdatum->permissions.table, perm_write, pd)) in common_write() 959 if (hashtab_map(cladatum->permissions.table, perm_write, pd)) in class_write() 1760 if (hashtab_map(decl->symtab[i].table, write_f[i], &pd)) { in avrule_decl_write() 2013 hashtab_map(p->symtab[i].table, type_attr_uncount, &buf[1]); in policydb_write() 2026 (void)hashtab_map(p->symtab[i].table, role_attr_uncount, &buf[1]); in policydb_write() 2032 if (hashtab_map(p->symtab[i].table, write_f[i], &pd)) in policydb_write() 2068 if (hashtab_map(p->scope[i].table, scope_write, &pd)) in policydb_write()
|
D | hashtab.c | 222 int hashtab_map(hashtab_t h, in hashtab_map() function
|
D | services.c | 1435 if (hashtab_map in validate_class() 1444 if (hashtab_map(cladatum->permissions.table, validate_perm, in validate_class() 1651 if (hashtab_map in sepol_load_policy()
|
/external/libsepol/include/sepol/policydb/ |
D | hashtab.h | 116 extern int hashtab_map(hashtab_t h,
|
/external/checkpolicy/ |
D | checkpolicy.c | 571 if (hashtab_map(policydbp->p_levels.table, check_level, NULL)) in main() 703 hashtab_map(cladatum-> in main() 709 hashtab_map in main()
|
D | policy_define.c | 1079 if (hashtab_map in define_level() 2213 hashtab_map(policydbp->p_roles.table, in define_role_dom() 2249 rc = hashtab_map(policydbp->p_roles.table, role_val_to_name_helper, &v); in role_val_to_name()
|
D | module_compiler.c | 734 hashtab_map(cladatum->permissions.table, perm_destroy, NULL); in class_datum_destroy()
|
/external/libsepol/tests/ |
D | test-common.c | 146 hashtab_map(p->symtab[i].table, test_index_f[i], p); in test_policydb_indexes()
|
/external/checkpolicy/test/ |
D | dismod.c | 336 if (hashtab_map(p->p_types.table, display_type_callback, fp)) in display_types() 904 if (hashtab_map in main()
|