Searched refs:class_perms_map (Results 1 – 7 of 7) sorted by relevance
704 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class()709 scope->class_perms_map = new_map; in add_perm_to_class()711 ebitmap_init(scope->class_perms_map + i); in add_perm_to_class()715 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()1264 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()1502 realloc(dest_scope->class_perms_map, in copy_requirements()1509 dest_scope->class_perms_map = new_map; in copy_requirements()1512 ebitmap_init(dest_scope->class_perms_map + i); in copy_requirements()1518 ebitmap_t *src_bitmap = &src_scope->class_perms_map[i]; in copy_requirements()1520 &dest_scope->class_perms_map[i]; in copy_requirements()
88 ebitmap_destroy(scope->class_perms_map + i); in scope_index_destroy()90 free(scope->class_perms_map); in scope_index_destroy()
1633 if ((dest->class_perms_map = malloc(largest_mapped_class_value * in copy_scope_index()1634 sizeof(*dest->class_perms_map))) == in copy_scope_index()1639 ebitmap_init(dest->class_perms_map + i); in copy_scope_index()1643 ebitmap_t *srcmap = src->class_perms_map + i; in copy_scope_index()1645 dest->class_perms_map + module->map[SYM_CLASSES][i] - 1; in copy_scope_index()1966 bitmap = decl->required.class_perms_map + i; in is_decl_requires_met()
3299 scope_index->class_perms_map = NULL; in scope_index_read()3302 if ((scope_index->class_perms_map = in scope_index_read()3304 sizeof(*scope_index->class_perms_map))) == NULL) { in scope_index_read()3308 if (ebitmap_read(scope_index->class_perms_map + i, fp) == -1) { in scope_index_read()
1690 if (ebitmap_write(scope_index->class_perms_map + i, fp) == -1) { in scope_index_write()
382 ebitmap_t *class_perms_map; member
530 class_perms_map in display_scope_index()