Lines Matching refs:decl
2059 * has been appended to its home decl->avrules list during link
2759 avrule_decl_t *decl = curblock->enabled;
2762 if (decl == NULL) {
2768 if (copy_role_allows(state, decl->role_allow_rules) != 0 ||
2769 copy_role_trans(state, decl->role_tr_rules) != 0) {
2773 if (expand_filename_trans(state, decl->filename_trans_rules))
2777 if (expand_range_trans(state, decl->range_tr_rules))
2781 cur_avrule = decl->avrules;
2806 if (cond_node_copy(state, decl->cond_list))
2859 avrule_decl_t *decl;
2870 * its avrule list to the current decl->avrules list. On the other
2874 * so we won't have to worry about removing it from decl->cond_list
2881 decl = block->enabled;
2882 if (decl == NULL || decl->enabled == 0)
2885 tail = decl->avrules;
2889 for (cur_node = decl->cond_list; cur_node != NULL;
2938 tail = decl->avrules = to_be_appended;
2947 /* Update the tail of decl->avrules for
2970 * of its home decl depending on its state value, so that the effect
3118 avrule_decl_t *decl = curblock->enabled;
3120 if (decl == NULL) {
3127 (decl->p_types.table, attr_convert_callback, &state)) {
3133 (decl->p_roles.table, role_copy_callback, &state))
3138 (decl->p_users.table, user_copy_callback, &state))