Lines Matching refs:decl
32 avrule_decl_t *decl; /* if in an avrule block, which member
130 avrule_decl_t *decl = stack_top->decl; in declare_symbol() local
138 SCOPE_DECL, decl->decl_id, dest_value); in declare_symbol()
158 if (ebitmap_set_bit(decl->declared.scope + symbol_type, in declare_symbol()
244 roles_tab = stack_top->decl->p_roles.table; in declare_role()
449 users_tab = stack_top->decl->p_users.table; in declare_user()
523 types_tab = stack_top->decl->p_types.table; in get_local_type()
571 roles_tab = stack_top->decl->p_roles.table; in get_local_role()
625 avrule_decl_t *decl = stack_top->decl; in require_symbol() local
633 SCOPE_REQ, decl->decl_id, dest_value); in require_symbol()
685 if (ebitmap_set_bit(decl->required.scope + symbol_type, in require_symbol()
696 avrule_decl_t *decl = stack_top->decl; in add_perm_to_class() local
701 scope = &decl->required; in add_perm_to_class()
1232 avrule_decl_t *decl = stack->decl; in is_scope_in_stack() local
1234 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()
1278 avrule_decl_t *decl = stack->decl; in is_perm_in_stack() local
1280 (perm_value, class_value, &decl->required) in is_perm_in_stack()
1282 &decl->declared)) { in is_perm_in_stack()
1316 avrule_decl_t *decl = stack_top->decl; in get_current_cond_list() local
1317 return get_decl_cond_list(policydbp, decl, cond); in get_current_cond_list()
1349 avrule_decl_t *decl = stack_top->decl; in append_avrule() local
1359 decl->avrules = avrule; in append_avrule()
1369 avrule_decl_t *decl = stack_top->decl; in append_role_trans() local
1374 role_tr_rules->next = decl->role_tr_rules; in append_role_trans()
1375 decl->role_tr_rules = role_tr_rules; in append_role_trans()
1381 avrule_decl_t *decl = stack_top->decl; in append_role_allow() local
1386 role_allow_rules->next = decl->role_allow_rules; in append_role_allow()
1387 decl->role_allow_rules = role_allow_rules; in append_role_allow()
1393 avrule_decl_t *decl = stack_top->decl; in append_filename_trans() local
1398 filename_trans_rules->next = decl->filename_trans_rules; in append_filename_trans()
1399 decl->filename_trans_rules = filename_trans_rules; in append_filename_trans()
1405 avrule_decl_t *decl = stack_top->decl; in append_range_trans() local
1410 range_tr_rules->next = decl->range_tr_rules; in append_range_trans()
1411 decl->range_tr_rules = range_tr_rules; in append_range_trans()
1417 avrule_decl_t *decl; in begin_optional() local
1421 (decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional()
1425 block->branch_list = decl; in begin_optional()
1433 decl = block->branch_list; in begin_optional()
1435 if (push_stack(1, block, decl) == -1) { in begin_optional()
1457 avrule_decl_t *decl; in begin_optional_else() local
1462 if ((decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional_else()
1466 stack_top->decl->next = decl; in begin_optional_else()
1470 decl = stack_top->decl->next; in begin_optional_else()
1471 assert(decl != NULL && in begin_optional_else()
1472 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
1475 stack_top->decl = decl; in begin_optional_else()
1489 scope_index_t *src_scope = &stack->decl->required; in copy_requirements()
1536 avrule_decl_t *decl = stack_top->decl; in end_avrule_block() local
1541 if (copy_requirements(decl, stack_top->parent) == -1) { in end_avrule_block()
1573 s->decl = va_arg(ap, avrule_decl_t *); in push_stack()