Home | History | Annotate | Download | only in src

Lines Matching refs:decl

1861 static int avrule_decl_write(avrule_decl_t * decl, int num_scope_syms,
1867 buf[0] = cpu_to_le32(decl->decl_id);
1868 buf[1] = cpu_to_le32(decl->enabled);
1872 if (cond_write_list(p, decl->cond_list, fp) == -1 ||
1873 avrule_write_list(decl->avrules, fp) == -1 ||
1874 role_trans_rule_write(p, decl->role_tr_rules, fp) == -1 ||
1875 role_allow_rule_write(decl->role_allow_rules, fp) == -1) {
1880 filename_trans_rule_write(decl->filename_trans_rules, fp))
1884 range_trans_rule_write(decl->range_tr_rules, fp) == -1) {
1887 if (scope_index_write(&decl
1888 scope_index_write(&decl->declared, num_scope_syms, fp) == -1) {
1894 buf[0] = cpu_to_le32(decl->symtab[i].nprim);
1895 buf[1] = cpu_to_le32(decl->symtab[i].table->nel);
1899 if (hashtab_map(decl->symtab[i].table, write_f[i], &pd)) {
1923 avrule_decl_t *decl;
1925 for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
1932 for (decl = cur->branch_list; decl != NULL; decl = decl->next) {
1933 if (avrule_decl_write(decl, num_scope_syms, p, fp) ==