Lines Matching defs:level
898 usrlvl->level = (struct cil_level*)lvl_datum;
899 user->dftlevel = usrlvl->level;
901 /* This could still be an anonymous level even if level_str is set, if level_str is a param_str*/
908 } else if (usrlvl->level != NULL) {
909 rc = cil_resolve_level(current, usrlvl->level, extra_args);
913 user->dftlevel = usrlvl->level;
1717 int cil_resolve_level(struct cil_tree_node *current, struct cil_level *level, void *extra_args)
1722 if (level->sens) {
1726 rc = cil_resolve_name(current, (char*)level->sens_str, CIL_SYM_SENS, extra_args, &sens_datum);
1732 level->sens = (struct cil_sens *)sens_datum;
1734 if (level->cats != NULL) {
1735 rc = cil_resolve_cats(current, level->cats, extra_args);
1760 /* This could still be an anonymous level even if low_str is set, if low_str is a param_str */
1781 /* This could still be an anonymous level even if high_str is set, if high_str is a param_str */
2876 struct cil_level *level = NULL;
2878 cil_level_init(&level);
2880 rc = cil_fill_level(arg_node->cl_head, level);
2882 cil_log(CIL_ERR, "Failed to create anonymous level, rc: %d\n", rc);
2883 cil_destroy_level(level);
2889 lvl_node->data = level;
2890 cil_list_append(((struct cil_symtab_datum*)level)->nodes,
2892 arg->arg = (struct cil_symtab_datum*)level;