Lines Matching refs:DATUM
410 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role), &sepol_role); in cil_role_bounds_to_policydb()
413 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role->bounds), &sepol_parent); in cil_role_bounds_to_policydb()
436 rc = __cil_get_sepol_role_datum(pdb, DATUM(role), &sepol_role); in cil_roletype_to_policydb()
440 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_type); in cil_roletype_to_policydb()
493 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type), &sepol_type); in cil_type_bounds_to_policydb()
496 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type->bounds), &sepol_parent); in cil_type_bounds_to_policydb()
517 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_alias->actual), &sepol_type); in cil_typealias_to_policydb()
544 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_typeperm->type), &sepol_type); in cil_typepermissive_to_policydb()
643 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_attr), &sepol_type); in cil_typeattribute_to_bitmap()
649 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_type); in cil_typeattribute_to_bitmap()
712 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_user_bounds_to_policydb()
715 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user->bounds), &sepol_parent); in cil_user_bounds_to_policydb()
737 rc = __cil_get_sepol_user_datum(pdb, DATUM(user), &sepol_user); in cil_userrole_to_policydb()
743 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_role); in cil_userrole_to_policydb()
831 rc = __cil_get_sepol_cat_datum(pdb, DATUM(cil_alias->actual), &sepol_cat); in cil_catalias_to_policydb()
897 rc = __cil_get_sepol_level_datum(pdb, DATUM(cil_alias->actual), &sepol_level); in cil_sensalias_to_policydb()
1092 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_rule->result), &sepol_result); in __cil_type_rule_to_avtab()
1096 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_src); in __cil_type_rule_to_avtab()
1100 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[j]), &sepol_tgt); in __cil_type_rule_to_avtab()
1104 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_obj); in __cil_type_rule_to_avtab()
1141 char *name = DATUM(typetrans->name)->name; in __cil_typetransition_to_avtab()
1165 rc = __cil_get_sepol_type_datum(pdb, DATUM(typetrans->result), &sepol_result); in __cil_typetransition_to_avtab()
1169 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_src); in __cil_typetransition_to_avtab()
1173 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[j]), &sepol_tgt); in __cil_typetransition_to_avtab()
1177 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_obj); in __cil_typetransition_to_avtab()
1333 rc = __cil_get_sepol_class_datum(pdb, DATUM(cp->class), &sepol_class); in __cil_avrule_expand_helper()
1448 src = DATUM(db->val_to_type[s]); in __cil_avrule_to_avtab()
1477 src = DATUM(db->val_to_type[s]); in __cil_avrule_to_avtab()
1479 tgt = DATUM(db->val_to_type[t]); in __cil_avrule_to_avtab()
1498 src = DATUM(db->val_to_type[s]); in __cil_avrule_to_avtab()
1514 tgt = DATUM(db->val_to_type[t]); in __cil_avrule_to_avtab()
1770 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_obj); in __cil_avrulex_to_hashtable_helper()
1817 src = DATUM(db->val_to_type[s]); in cil_avrulex_to_hashtable()
1846 src = DATUM(db->val_to_type[s]); in cil_avrulex_to_hashtable()
1848 tgt = DATUM(db->val_to_type[t]); in cil_avrulex_to_hashtable()
1867 src = DATUM(db->val_to_type[s]); in cil_avrulex_to_hashtable()
1883 tgt = DATUM(db->val_to_type[t]); in cil_avrulex_to_hashtable()
1918 if (DATUM(cil_typetrans->name)->fqn != CIL_KEY_STAR) { in __cil_cond_to_policydb_helper()
1966 *out = cil_strdup(DATUM(curr->data)->fqn); in __cil_expr_to_string_helper()
2050 char *key = DATUM(item->data)->fqn; in __cil_cond_item_to_sepol_expr()
2312 rc = __cil_expand_role(DATUM(roletrans->src), &role_bitmap); in cil_roletrans_to_policydb()
2320 rc = __cil_get_sepol_role_datum(pdb, DATUM(roletrans->result), &sepol_result); in cil_roletrans_to_policydb()
2324 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roletrans_to_policydb()
2328 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[j]), &sepol_tgt); in cil_roletrans_to_policydb()
2333 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_obj); in cil_roletrans_to_policydb()
2397 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_src); in cil_roleallow_to_policydb()
2401 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[j]), &sepol_tgt); in cil_roleallow_to_policydb()
2436 rc = __cil_get_sepol_user_datum(pdb, DATUM(db->val_to_user[i]), &sepol_user); in __cil_constrain_expr_datum_to_sepol_expr()
2458 rc = __cil_get_sepol_role_datum(pdb, DATUM(db->val_to_role[i]), &sepol_role); in __cil_constrain_expr_datum_to_sepol_expr()
2500 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_type); in __cil_constrain_expr_datum_to_sepol_expr()
2772 rc = cil_constrain_to_policydb_helper(pdb, db, DATUM(cp->class), cp->perms, expr); in cil_constrain_expand()
2830 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_class); in cil_validatetrans_to_policydb()
2861 struct cil_tree_node *node = DATUM(i->data)->nodes->head->data; in __cil_cats_to_mls_level()
2894 rc = __cil_get_sepol_level_datum(pdb, DATUM(cil_sens), &sepol_level); in cil_sepol_level_define()
2927 rc = __cil_get_sepol_level_datum(pdb, DATUM(cil_sens), &sepol_level); in cil_level_to_mls_level()
2981 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_user), &sepol_user); in cil_userlevel_userrange_to_policydb()
3008 rc = __cil_get_sepol_user_datum(pdb, DATUM(cil_context->user), &sepol_user); in __cil_context_to_sepol_context()
3011 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_context->role), &sepol_role); in __cil_context_to_sepol_context()
3014 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_context->type), &sepol_type); in __cil_context_to_sepol_context()
3099 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[i]), &sepol_src); in cil_rangetransition_to_policydb()
3103 rc = __cil_get_sepol_type_datum(pdb, DATUM(db->val_to_type[j]), &sepol_tgt); in cil_rangetransition_to_policydb()
3107 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_class); in cil_rangetransition_to_policydb()
3526 int rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_class); in cil_default_to_policydb()
3534 cil_log(CIL_ERR,"User default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3542 cil_log(CIL_ERR,"Role default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3550 cil_log(CIL_ERR,"Type default labeling for class %s already specified\n",DATUM(c->data)->fqn); in cil_default_to_policydb()
3581 int rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_class); in cil_defaultrange_to_policydb()
3587 …cil_log(CIL_ERR,"Range default labeling for class %s already specified\n", DATUM(curr->data)->fqn); in cil_defaultrange_to_policydb()
3619 if (node != DATUM(node->data)->nodes->head->data) { in __cil_node_to_policydb()
4276 rc = __cil_get_sepol_class_datum(pdb, DATUM(cp->class), &sepol_class); in __cil_rule_to_sepol_class_perms()
4328 rc = __cil_get_sepol_class_datum(pdb, DATUM(c->data), &sepol_obj); in __cil_permx_to_sepol_class_perms()
4378 datum = DATUM(db->val_to_type[i]); in __cil_add_sepol_type()
4458 cil_log(CIL_ERR,"(%s (", DATUM(cp->class)->fqn); in __cil_print_classperm()
4460 cil_log(CIL_ERR,"%s",DATUM(i2->data)->fqn); in __cil_print_classperm()
4469 cil_log(CIL_ERR,"%s", DATUM(cp_set->set)->fqn); in __cil_print_classperm()
4489 cil_log(CIL_ERR, "%s %s (%s)", kind_str, DATUM(px->obj)->fqn, expr_str); in __cil_print_permissionx()
4497 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn); in __cil_print_rule()
4731 rc = __cil_get_sepol_type_datum(pdb, DATUM(t), &child); in cil_check_type_bounds()
4734 rc = __cil_get_sepol_type_datum(pdb, DATUM(t->bounds), &parent); in cil_check_type_bounds()