Searched refs:class_perms_map (Results 1 – 8 of 8) sorted by relevance
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()
1700 if ((dest->class_perms_map = malloc(largest_mapped_class_value * in copy_scope_index()1701 sizeof(*dest->class_perms_map))) == in copy_scope_index()1706 ebitmap_init(dest->class_perms_map + i); in copy_scope_index()1710 ebitmap_t *srcmap = src->class_perms_map + i; in copy_scope_index()1712 dest->class_perms_map + module->map[SYM_CLASSES][i] - 1; in copy_scope_index()2035 bitmap = decl->required.class_perms_map + i; in is_decl_requires_met()
3734 scope_index->class_perms_map = NULL; in scope_index_read()3737 if ((scope_index->class_perms_map = in scope_index_read()3739 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read()3743 if (ebitmap_read(scope_index->class_perms_map + i, fp) < 0) { in scope_index_read()
3613 sup_map = sup->class_perms_map[i]; in is_scope_superset()3614 sub_map = sub->class_perms_map[i]; in is_scope_superset()
1918 if (ebitmap_write(scope_index->class_perms_map + i, fp) == -1) { in scope_index_write()
745 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class()750 scope->class_perms_map = new_map; in add_perm_to_class()752 ebitmap_init(scope->class_perms_map + i); in add_perm_to_class()756 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()1146 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()1384 realloc(dest_scope->class_perms_map, in copy_requirements()1391 dest_scope->class_perms_map = new_map; in copy_requirements()1394 ebitmap_init(dest_scope->class_perms_map + i); in copy_requirements()1400 ebitmap_t *src_bitmap = &src_scope->class_perms_map[i]; in copy_requirements()1402 &dest_scope->class_perms_map[i]; in copy_requirements()
441 ebitmap_t *class_perms_map; member
555 class_perms_map in display_scope_index()