Home | History | Annotate | Download | only in src

Lines Matching refs:decl

1709 static int avrule_decl_write(avrule_decl_t * decl, int num_scope_syms,
1715 buf[0] = cpu_to_le32(decl->decl_id);
1716 buf[1] = cpu_to_le32(decl->enabled);
1720 if (cond_write_list(p, decl->cond_list, fp) == -1 ||
1721 avrule_write_list(decl->avrules, fp) == -1 ||
1722 role_trans_rule_write(p, decl->role_tr_rules, fp) == -1 ||
1723 role_allow_rule_write(decl->role_allow_rules, fp) == -1) {
1728 filename_trans_rule_write(decl->filename_trans_rules, fp))
1732 range_trans_rule_write(decl->range_tr_rules, fp) == -1) {
1735 if (scope_index_write(&decl->required, num_scope_syms, fp) == -1 ||
1736 scope_index_write(&decl->declared, num_scope_syms, fp) == -1) {
1742 buf[0] = cpu_to_le32(decl->symtab[i].nprim);
1743 buf[1] = cpu_to_le32(decl->symtab[i].table->nel);
1747 if (hashtab_map(decl->symtab[i].table, write_f[i], &pd)) {
1771 avrule_decl_t *decl;
1773 for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
1780 for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
1781 if (avrule_decl_write(decl, num_scope_syms, p, fp) ==