Searched refs:class_perms_map (Results 1 – 8 of 8) sorted by relevance
744 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class()749 scope->class_perms_map = new_map; in add_perm_to_class()751 ebitmap_init(scope->class_perms_map + i); in add_perm_to_class()755 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()1153 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()1391 realloc(dest_scope->class_perms_map, in copy_requirements()1398 dest_scope->class_perms_map = new_map; in copy_requirements()1401 ebitmap_init(dest_scope->class_perms_map + i); in copy_requirements()1407 const ebitmap_t *src_bitmap = &src_scope->class_perms_map[i]; in copy_requirements()1409 &dest_scope->class_perms_map[i]; in copy_requirements()
86 if (scope->class_perms_map) { in scope_index_destroy()88 ebitmap_destroy(scope->class_perms_map + i); in scope_index_destroy()91 free(scope->class_perms_map); in scope_index_destroy()
1642 if ((dest->class_perms_map = calloc(largest_mapped_class_value, in copy_scope_index()1643 sizeof(*dest->class_perms_map))) == NULL) { in copy_scope_index()1648 const ebitmap_t *srcmap = src->class_perms_map + i; in copy_scope_index()1650 dest->class_perms_map + module->map[SYM_CLASSES][i] - 1; in copy_scope_index()1967 bitmap = &decl->required.class_perms_map[i]; in is_decl_requires_met()
3868 scope_index->class_perms_map = NULL; in scope_index_read()3871 if ((scope_index->class_perms_map = in scope_index_read()3873 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read()3877 if (ebitmap_read(scope_index->class_perms_map + i, fp) < 0) { in scope_index_read()
3666 sup_map = sup->class_perms_map[i]; in is_scope_superset()3667 sub_map = sub->class_perms_map[i]; in is_scope_superset()
2040 if (ebitmap_write(scope_index->class_perms_map + i, fp) == -1) { in scope_index_write()
446 ebitmap_t *class_perms_map; member
619 class_perms_map in display_scope_index()