Lines Matching defs:bounds
2538 struct cil_bounds *bounds = current->data;
2548 rc = cil_resolve_name(current, bounds->parent_str, index, extra_args, &parent_datum);
2553 cil_log(CIL_ERR, "Bounds parent %s is an attribute\n", bounds->parent_str);
2559 rc = cil_resolve_name(current, bounds->child_str, index, extra_args, &child_datum);
2564 cil_log(CIL_ERR, "Bounds child %s is an attribute\n", bounds->child_str);
2573 if (user->bounds != NULL) {
2574 cil_tree_log(NODE(user->bounds), CIL_ERR, "User %s already bound by parent", bounds->child_str);
2579 user->bounds = (struct cil_user *)parent_datum;
2585 if (role->bounds != NULL) {
2586 cil_tree_log(NODE(role->bounds), CIL_ERR, "Role %s already bound by parent", bounds->child_str);
2591 role->bounds = (struct cil_role *)parent_datum;
2597 if (type->bounds != NULL) {
2598 cil_tree_log(NODE(type->bounds), CIL_ERR, "Type %s already bound by parent", bounds->child_str);
2603 type->bounds = (struct cil_type *)parent_datum;
2613 cil_tree_log(current, CIL_ERR, "Bad bounds statement");