Home
last modified time | relevance | path

Searched refs:negset (Results 1 – 12 of 12) sorted by relevance

/third_party/selinux/checkpolicy/test/
Ddismod.c141 for (i = ebitmap_startbit(&set->negset); in display_type_set()
142 i < ebitmap_length(&set->negset); i++) { in display_type_set()
143 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set()
161 for (i = ebitmap_startbit(&set->negset); in display_type_set()
162 i < ebitmap_length(&set->negset); i++) { in display_type_set()
163 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set()
/third_party/selinux/libsepol/tests/
Dtest-common.c221 CU_ASSERT(role->types.negset.highbit == 0); in test_role_type_set()
/third_party/selinux/libsepol/src/
Dpolicydb.c509 ebitmap_init(&x->negset); in type_set_init()
516 ebitmap_destroy(&x->negset); in type_set_destroy()
1771 if (ebitmap_or(&dst->negset, &a->negset, &b->negset)) { in type_set_or()
1788 if (ebitmap_cpy(&dst->negset, &src->negset)) in type_set_cpy()
1835 if (ebitmap_read(&t->negset, fp)) in type_set_read()
Dpolicydb_validate.c126 if (validate_ebitmap(&type_set->negset, type)) in validate_type_set()
148 if (!ebitmap_is_empty(&type_set->negset)) in validate_empty_type_set()
Dexpand.c2401 if (map_ebitmap(&set->negset, &tmpset.negset, typemap)) in expand_convert_type_set()
2536 unsigned char expand = alwaysexpand || !ebitmap_is_empty(&set->negset) || set->flags; in type_set_expand()
2572 ebitmap_for_each_positive_bit(&set->negset, tnode, i) { in type_set_expand()
Dmodule_to_cil.c834 neg = &ts->negset; in cil_print_attr_strs()
934 if (ebitmap_cmp(&ts1->negset, &ts2->negset) == 0) in search_attr_list()
1063 if (!ebitmap_is_empty(&ts->negset) || ts->flags != 0) { in process_typeset()
Dlink.c980 if (ebitmap_convert(&types->negset, &dst->negset, mod->map[SYM_TYPES])) in type_set_convert()
Dwrite.c707 if (ebitmap_write(&x->negset, fp)) in type_set_write()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h88 ebitmap_t negset; member
/third_party/selinux/checkpolicy/
Dpolicy_define.c1589 if (ebitmap_set_bit(&set->negset, t->s.value - 1, TRUE)) in set_types()
3788 ebitmap_t negset; in define_cexpr() local
3860 ebitmap_init(&negset); in define_cexpr()
3919 ebitmap_destroy(&negset); in define_cexpr()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c4580 ebitmap_init(&t->negset); in __cil_init_sepol_type_set()
4649 ebitmap_destroy(&curr->stypes.negset); in __cil_destroy_sepol_avrules()
4651 ebitmap_destroy(&curr->ttypes.negset); in __cil_destroy_sepol_avrules()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54124 struct ebitmap negset; member