• Home
  • Raw
  • Download

Lines Matching refs:decl

32 	avrule_decl_t *decl;	/* if in an avrule block, which  member
131 avrule_decl_t *decl = stack_top->decl; in declare_symbol() local
139 SCOPE_DECL, decl->decl_id, dest_value); in declare_symbol()
159 if (ebitmap_set_bit(decl->declared.scope + symbol_type, in declare_symbol()
245 roles_tab = stack_top->decl->p_roles.table; in declare_role()
450 users_tab = stack_top->decl->p_users.table; in declare_user()
524 types_tab = stack_top->decl->p_types.table; in get_local_type()
572 roles_tab = stack_top->decl->p_roles.table; in get_local_role()
626 avrule_decl_t *decl = stack_top->decl; in require_symbol() local
634 SCOPE_REQ, decl->decl_id, dest_value); in require_symbol()
686 if (ebitmap_set_bit(decl->required.scope + symbol_type, in require_symbol()
697 avrule_decl_t *decl = stack_top->decl; in add_perm_to_class() local
702 scope = &decl->required; in add_perm_to_class()
1233 avrule_decl_t *decl = stack->decl; in is_scope_in_stack() local
1235 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()
1279 avrule_decl_t *decl = stack->decl; in is_perm_in_stack() local
1281 (perm_value, class_value, &decl->required) in is_perm_in_stack()
1283 &decl->declared)) { in is_perm_in_stack()
1317 avrule_decl_t *decl = stack_top->decl; in get_current_cond_list() local
1318 return get_decl_cond_list(policydbp, decl, cond); in get_current_cond_list()
1350 avrule_decl_t *decl = stack_top->decl; in append_avrule() local
1360 decl->avrules = avrule; in append_avrule()
1370 avrule_decl_t *decl = stack_top->decl; in append_role_trans() local
1375 role_tr_rules->next = decl->role_tr_rules; in append_role_trans()
1376 decl->role_tr_rules = role_tr_rules; in append_role_trans()
1382 avrule_decl_t *decl = stack_top->decl; in append_role_allow() local
1387 role_allow_rules->next = decl->role_allow_rules; in append_role_allow()
1388 decl->role_allow_rules = role_allow_rules; in append_role_allow()
1394 avrule_decl_t *decl = stack_top->decl; in append_filename_trans() local
1399 filename_trans_rules->next = decl->filename_trans_rules; in append_filename_trans()
1400 decl->filename_trans_rules = filename_trans_rules; in append_filename_trans()
1406 avrule_decl_t *decl = stack_top->decl; in append_range_trans() local
1411 range_tr_rules->next = decl->range_tr_rules; in append_range_trans()
1412 decl->range_tr_rules = range_tr_rules; in append_range_trans()
1418 avrule_decl_t *decl; in begin_optional() local
1422 (decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional()
1426 block->branch_list = decl; in begin_optional()
1434 decl = block->branch_list; in begin_optional()
1436 if (push_stack(1, block, decl) == -1) { in begin_optional()
1458 avrule_decl_t *decl; in begin_optional_else() local
1463 if ((decl = avrule_decl_create(next_decl_id)) == NULL) { in begin_optional_else()
1467 stack_top->decl->next = decl; in begin_optional_else()
1471 decl = stack_top->decl->next; in begin_optional_else()
1472 assert(decl != NULL && in begin_optional_else()
1473 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
1476 stack_top->decl = decl; in begin_optional_else()
1490 scope_index_t *src_scope = &stack->decl->required; in copy_requirements()
1537 avrule_decl_t *decl = stack_top->decl; in end_avrule_block() local
1542 if (copy_requirements(decl, stack_top->parent) == -1) { in end_avrule_block()
1574 s->decl = va_arg(ap, avrule_decl_t *); in push_stack()