Home | History | Annotate | Download | only in src

Lines Matching refs:decl

1792 static int avrule_decl_write(avrule_decl_t * decl, int num_scope_syms,
1798 buf[0] = cpu_to_le32(decl->decl_id);
1799 buf[1] = cpu_to_le32(decl->enabled);
1803 if (cond_write_list(p, decl->cond_list, fp) == -1 ||
1804 avrule_write_list(decl->avrules, fp) == -1 ||
1805 role_trans_rule_write(p, decl->role_tr_rules, fp) == -1 ||
1806 role_allow_rule_write(decl->role_allow_rules, fp) == -1) {
1811 filename_trans_rule_write(decl->filename_trans_rules, fp))
1815 range_trans_rule_write(decl->range_tr_rules, fp) == -1) {
1818 if (scope_index_write(&decl->required, num_scope_syms, fp) == -1 ||
1819 scope_index_write(&decl->declared, num_scope_syms, fp) == -1) {
1825 buf[0] = cpu_to_le32(decl->symtab[i].nprim);
1826 buf[1] = cpu_to_le32(decl->symtab[i].table->nel);
1830 if (hashtab_map(decl->symtab[i].table, write_f[i], &pd)) {
1854 avrule_decl_t *decl;
1856 for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
1863 for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
1864 if (avrule_decl_write(decl, num_scope_syms, p, fp) ==