Lines Matching refs:decl
1955 * has been appended to its home decl->avrules list during link
2587 avrule_decl_t *decl = curblock->enabled;
2590 if (decl == NULL) {
2596 if (copy_role_allows(state, decl->role_allow_rules) != 0 ||
2597 copy_role_trans(state, decl->role_tr_rules) != 0) {
2601 if (expand_filename_trans(state, decl->filename_trans_rules))
2605 if (expand_range_trans(state, decl->range_tr_rules))
2609 cur_avrule = decl->avrules;
2635 if (cond_node_copy(state, decl->cond_list))
2688 avrule_decl_t *decl;
2699 * its avrule list to the current decl->avrules list. On the other
2703 * so we won't have to worry about removing it from decl->cond_list
2710 decl = block->enabled;
2711 if (decl == NULL || decl->enabled == 0)
2714 tail = decl->avrules;
2718 for (cur_node = decl->cond_list; cur_node != NULL;
2767 tail = decl->avrules = to_be_appended;
2776 /* Update the tail of decl->avrules for
2799 * of its home decl depending on its state value, so that the effect
2948 avrule_decl_t *decl = curblock->enabled;
2950 if (decl == NULL) {
2957 (decl->p_types.table, attr_convert_callback, &state)) {
2963 (decl->p_roles.table, role_copy_callback, &state))
2968 (decl->p_users.table, user_copy_callback, &state))