Searched refs:class_value (Results 1 – 2 of 2) sorted by relevance
695 int add_perm_to_class(uint32_t perm_value, uint32_t class_value) in add_perm_to_class() argument701 assert(class_value >= 1); in add_perm_to_class()703 if (class_value > scope->class_perms_len) { in add_perm_to_class()706 class_value * sizeof(*new_map)); in add_perm_to_class()711 for (i = scope->class_perms_len; i < class_value; i++) { in add_perm_to_class()714 scope->class_perms_len = class_value; in add_perm_to_class()716 if (ebitmap_set_bit(scope->class_perms_map + class_value - 1, in add_perm_to_class()1259 static int is_perm_in_scope_index(uint32_t perm_value, uint32_t class_value, in is_perm_in_scope_index() argument1262 if (class_value > scope->class_perms_len) { in is_perm_in_scope_index()1265 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()[all …]
49 int add_perm_to_class(uint32_t perm_value, uint32_t class_value);