Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/tests/
Dtest-ebitmap.c20 ebitmap_init(e); in ebitmap_init_random()
38 ebitmap_init(&e); in test_ebitmap_init_destroy()
39 ebitmap_init(&e); in test_ebitmap_init_destroy()
40 ebitmap_init(&e); in test_ebitmap_init_destroy()
58 ebitmap_init(&e1); in test_ebitmap_cmp()
59 ebitmap_init(&e2); in test_ebitmap_cmp()
136 ebitmap_init(&e); in test_ebitmap_set_and_get()
291 ebitmap_init(&e1); in test_ebitmap_or()
292 ebitmap_init(&e2); in test_ebitmap_or()
293 ebitmap_init(&e3); in test_ebitmap_or()
[all …]
/third_party/selinux/libsepol/src/
Debitmap.c23 ebitmap_init(dst); in ebitmap_or()
79 ebitmap_init(dst); in ebitmap_and()
124 ebitmap_init(dst); in ebitmap_xor()
174 ebitmap_init(dst); in ebitmap_not()
220 ebitmap_init(dst); in ebitmap_andnot()
283 ebitmap_init(dst); in ebitmap_cpy()
461 ebitmap_init(e); in ebitmap_init_range()
546 ebitmap_init(e); in ebitmap_read()
Dassertion.c233 ebitmap_init(&src_matches); in report_assertion_avtab_matches()
234 ebitmap_init(&tgt_matches); in report_assertion_avtab_matches()
235 ebitmap_init(&self_matches); in report_assertion_avtab_matches()
388 ebitmap_init(&src_matches); in check_assertion_extended_permissions()
389 ebitmap_init(&tgt_matches); in check_assertion_extended_permissions()
390 ebitmap_init(&self_matches); in check_assertion_extended_permissions()
Dexpand.c63 ebitmap_init(dst); in map_ebitmap()
81 ebitmap_init(&tmp); in ebitmap_expand_roles()
797 ebitmap_init(&mapped_roles); in role_fix_callback()
896 ebitmap_init(&tmp_union_types); in role_copy_callback()
1085 ebitmap_init(&tmp_union); in user_copy_callback()
1269 ebitmap_init(&roles); in copy_role_allows()
1270 ebitmap_init(&new_roles); in copy_role_allows()
1334 ebitmap_init(&roles); in copy_role_trans()
1335 ebitmap_init(&types); in copy_role_trans()
1454 ebitmap_init(&stypes); in expand_filename_trans()
[all …]
Davrule_block.c69 ebitmap_init(&decl->required.scope[i]); in avrule_decl_create()
70 ebitmap_init(&decl->declared.scope[i]); in avrule_decl_create()
Dconstraint.c31 ebitmap_init(&expr->names); in constraint_expr_init()
Dcontext.c42 ebitmap_init(&types); in context_is_valid()
43 ebitmap_init(&roles); in context_is_valid()
Dpolicydb.c508 ebitmap_init(&x->types); in type_set_init()
509 ebitmap_init(&x->negset); in type_set_init()
523 ebitmap_init(&x->roles); in role_set_init()
534 ebitmap_init(&x->dominates); in role_datum_init()
536 ebitmap_init(&x->cache); in role_datum_init()
537 ebitmap_init(&x->roles); in role_datum_init()
553 ebitmap_init(&x->types); in type_datum_init()
569 ebitmap_init(&x->cache); in user_datum_init()
648 ebitmap_init(&x->classes); in role_trans_rule_init()
724 ebitmap_init(&x->tclasses); in range_trans_rule_init()
[all …]
Dlink.c1018 ebitmap_init(&tmp); in role_set_or_convert()
1105 ebitmap_init(&e_tmp); in role_fix_callback()
1117 ebitmap_init(&e_tmp); in role_fix_callback()
1163 ebitmap_init(&e_tmp); in type_fix_callback()
Dpolicydb_validate.c28 ebitmap_init(gaps); in create_gap_ebitmap()
67 ebitmap_init(&flavors[SYM_TYPES].gaps); in validate_array_init()
Dmls.c579 ebitmap_init(&bitmap); in mls_convert_context()
Dwrite.c1183 ebitmap_init(&empty); in role_write()
Dmodule_to_cil.c3605 ebitmap_init(&res); in is_scope_superset()
/third_party/selinux/libsepol/cil/src/
Dcil_post.c894 ebitmap_init(bitmap); in __cil_type_to_bitmap()
948 ebitmap_init(bitmap); in __cil_user_to_bitmap()
994 ebitmap_init(bitmap); in __cil_role_to_bitmap()
1023 ebitmap_init(permx->perms); in __evaluate_permissionx_expression()
1068 ebitmap_init(bitmap); in __cil_permx_to_bitmap()
1086 ebitmap_init(bitmap); in __cil_perm_to_bitmap()
1111 ebitmap_init(&bitmap); in __evaluate_cat_expression()
1145 ebitmap_init(bitmap); in __cil_cat_to_bitmap()
1283 ebitmap_init(bitmap); in __cil_expr_to_bitmap_helper()
1381 ebitmap_init(&tmp); in __cil_expr_to_bitmap()
[all …]
Dcil_binary.c159 ebitmap_init(new); in __cil_expand_user()
185 ebitmap_init(new); in __cil_expand_role()
211 ebitmap_init(new); in __cil_expand_type()
599 ebitmap_init(&pdb->type_attr_map[i]); in __cil_typeattr_bitmap_init()
600 ebitmap_init(&pdb->attr_type_map[i]); in __cil_typeattr_bitmap_init()
1106 ebitmap_init(&src_bitmap); in __cil_type_rule_to_avtab()
1107 ebitmap_init(&tgt_bitmap); in __cil_type_rule_to_avtab()
1234 ebitmap_init(&src_bitmap); in __cil_typetransition_to_avtab()
1235 ebitmap_init(&tgt_bitmap); in __cil_typetransition_to_avtab()
3072 ebitmap_init(&mls_level->cat); in cil_sepol_level_define()
[all …]
Dcil_find.c128 ebitmap_init(&map); in cil_self_match_any()
Dcil.c1526 ebitmap_init(&elow); in cil_level_equals()
1527 ebitmap_init(&ehigh); in cil_level_equals()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h55 static inline void ebitmap_init(ebitmap_t * e) in ebitmap_init() function
/third_party/selinux/checkpolicy/
Dpolicy_define.c736 ebitmap_init(&level->cat); /* actual value set in define_level */ in define_sens()
1165 ebitmap_init(&attrs); in expand_attrib()
1649 ebitmap_init(&tclasses); in define_compute_type_helper()
2094 ebitmap_init(&tclasses); in define_te_avtab_xperms_helper()
2556 ebitmap_init(&tclasses); in define_te_avtab_helper()
2917 ebitmap_init(&types); in dominate_role_recheck()
3006 ebitmap_init(&types); in define_role_dom()
3136 ebitmap_init(&e_roles); in define_role_trans()
3138 ebitmap_init(&e_types); in define_role_trans()
3139 ebitmap_init(&e_classes); in define_role_trans()
[all …]
Dmodule_compiler.c753 ebitmap_init(scope->class_perms_map + i); in add_perm_to_class()
1403 ebitmap_init(dest_scope->class_perms_map + i); in copy_requirements()