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()
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()1965 bitmap = decl->required.class_perms_map + i; in is_decl_requires_met()
3964 scope_index->class_perms_map = NULL; in scope_index_read()3967 if ((scope_index->class_perms_map = in scope_index_read()3969 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read()3973 if (ebitmap_read(scope_index->class_perms_map + i, fp) < 0) { in scope_index_read()
3623 sup_map = sup->class_perms_map[i]; in is_scope_superset()3624 sub_map = sub->class_perms_map[i]; in is_scope_superset()
2038 if (ebitmap_write(scope_index->class_perms_map + i, fp) == -1) { in scope_index_write()
746 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class()751 scope->class_perms_map = new_map; in add_perm_to_class()753 ebitmap_init(scope->class_perms_map + i); in add_perm_to_class()757 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()1155 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()1393 realloc(dest_scope->class_perms_map, in copy_requirements()1400 dest_scope->class_perms_map = new_map; in copy_requirements()1403 ebitmap_init(dest_scope->class_perms_map + i); in copy_requirements()1409 const ebitmap_t *src_bitmap = &src_scope->class_perms_map[i]; in copy_requirements()1411 &dest_scope->class_perms_map[i]; in copy_requirements()
444 ebitmap_t *class_perms_map; member
554 class_perms_map in display_scope_index()