Lines Matching refs:cladatum
1029 class_datum_t *cladatum; in class_write() local
1037 cladatum = (class_datum_t *) datum; in class_write()
1040 if (cladatum->comkey) in class_write()
1041 len2 = strlen(cladatum->comkey); in class_write()
1046 for (c = cladatum->constraints; c; c = c->next) { in class_write()
1053 buf[items++] = cpu_to_le32(cladatum->s.value); in class_write()
1054 buf[items++] = cpu_to_le32(cladatum->permissions.nprim); in class_write()
1055 if (cladatum->permissions.table) in class_write()
1056 buf[items++] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
1068 if (cladatum->comkey) { in class_write()
1069 items = put_entry(cladatum->comkey, 1, len2, fp); in class_write()
1073 if (hashtab_map(cladatum->permissions.table, perm_write, pd)) in class_write()
1076 if (write_cons_helper(p, cladatum->constraints, 0, fp)) in class_write()
1085 for (c = cladatum->validatetrans; c; c = c->next) { in class_write()
1092 if (write_cons_helper(p, cladatum->validatetrans, 1, fp)) in class_write()
1100 buf[0] = cpu_to_le32(cladatum->default_user); in class_write()
1101 buf[1] = cpu_to_le32(cladatum->default_role); in class_write()
1102 if (!glblub_version && cladatum->default_range == DEFAULT_GLBLUB) { in class_write()
1105 p->p_class_val_to_name[cladatum->s.value - 1], p->policyvers, in class_write()
1107 cladatum->default_range = 0; in class_write()
1109 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
1119 buf[0] = cpu_to_le32(cladatum->default_type); in class_write()