Lines Matching refs:cil_tree_node
55 struct cil_tree_node *optstack;
56 struct cil_tree_node *boolif;
57 struct cil_tree_node *macro;
58 struct cil_tree_node *blockstack;
67 static struct cil_name * __cil_insert_name(struct cil_db *db, hashtab_key_t key, struct cil_tree_node *ast_node)
72 struct cil_tree_node *parent = ast_node->parent;
157 int cil_resolve_classperms(struct cil_tree_node *current, struct cil_classperms *cp, void *extra_args)
188 int cil_resolve_classperms_set(struct cil_tree_node *current, struct cil_classperms_set *cp_set, void *extra_args)
213 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extra_args)
238 int cil_resolve_classpermissionset(struct cil_tree_node *current, struct cil_classpermissionset *cps, void *extra_args)
289 int cil_resolve_permissionx(struct cil_tree_node *current, struct cil_permissionx *permx, void *extra_args)
306 int cil_resolve_avrule(struct cil_tree_node *current, void *extra_args)
368 int cil_resolve_type_rule(struct cil_tree_node *current, void *extra_args)
375 struct cil_tree_node *result_node = NULL;
416 int cil_resolve_typeattributeset(struct cil_tree_node *current, void *extra_args)
420 struct cil_tree_node *attr_node = NULL;
461 int cil_resolve_expandtypeattribute(struct cil_tree_node *current, void *extra_args)
465 struct cil_tree_node *attr_node = NULL;
495 int cil_resolve_aliasactual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor alias_flavor)
546 int cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor)
551 struct cil_tree_node *a1_node = NULL;
590 int cil_resolve_typepermissive(struct cil_tree_node *current, void *extra_args)
594 struct cil_tree_node *type_node = NULL;
618 int cil_resolve_nametypetransition(struct cil_tree_node *current, void *extra_args)
627 struct cil_tree_node *result_node = NULL;
677 int cil_resolve_rangetransition(struct cil_tree_node *current, void *extra_args)
740 int cil_resolve_classcommon(struct cil_tree_node *current, void *extra_args)
783 int cil_resolve_classmapping(struct cil_tree_node *current, void *extra_args)
824 int cil_resolve_userrole(struct cil_tree_node *current, void *extra_args)
849 int cil_resolve_userlevel(struct cil_tree_node *current, void *extra_args)
855 struct cil_tree_node *user_node = NULL;
902 int cil_resolve_userrange(struct cil_tree_node *current, void *extra_args)
908 struct cil_tree_node *user_node = NULL;
955 int cil_resolve_userprefix(struct cil_tree_node *current, void *extra_args)
959 struct cil_tree_node *user_node = NULL;
981 int cil_resolve_selinuxuser(struct cil_tree_node *current, void *extra_args)
986 struct cil_tree_node *user_node = NULL;
1030 int cil_resolve_roletype(struct cil_tree_node *current, void *extra_args)
1055 int cil_resolve_roletransition(struct cil_tree_node *current, void *extra_args)
1062 struct cil_tree_node *node = NULL;
1102 int cil_resolve_roleallow(struct cil_tree_node *current, void *extra_args)
1127 int cil_resolve_roleattributeset(struct cil_tree_node *current, void *extra_args)
1132 struct cil_tree_node *attr_node = NULL;
1173 struct cil_tree_node *node;
1463 int cil_resolve_classorder(struct cil_tree_node *current, void *extra_args)
1508 int cil_resolve_sidorder(struct cil_tree_node *current, void *extra_args)
1556 int cil_resolve_catorder(struct cil_tree_node *current, void *extra_args)
1571 struct cil_tree_node *node = NULL;
1599 int cil_resolve_sensitivityorder(struct cil_tree_node *current, void *extra_args)
1633 int cil_resolve_cats(struct cil_tree_node *current, struct cil_cats *cats, void *extra_args)
1649 int cil_resolve_catset(struct cil_tree_node *current, struct cil_catset *catset, void *extra_args)
1668 int cil_resolve_senscat(struct cil_tree_node *current, void *extra_args)
1700 int cil_resolve_level(struct cil_tree_node *current, struct cil_level *level, void *extra_args)
1726 int cil_resolve_levelrange(struct cil_tree_node *current, struct cil_levelrange *lvlrange, void *extra_args)
1780 int cil_resolve_constrain(struct cil_tree_node *current, void *extra_args)
1801 int cil_resolve_validatetrans(struct cil_tree_node *current, void *extra_args)
1825 int cil_resolve_context(struct cil_tree_node *current, struct cil_context *context, void *extra_args)
1830 struct cil_tree_node *node = NULL;
1905 int cil_resolve_filecon(struct cil_tree_node *current, void *extra_args)
1927 int cil_resolve_ibpkeycon(struct cil_tree_node *current, void *extra_args)
1951 int cil_resolve_portcon(struct cil_tree_node *current, void *extra_args)
1976 int cil_resolve_genfscon(struct cil_tree_node *current, void *extra_args)
2001 int cil_resolve_nodecon(struct cil_tree_node *current, void *extra_args)
2051 int cil_resolve_netifcon(struct cil_tree_node *current, void *extra_args)
2090 int cil_resolve_ibendportcon(struct cil_tree_node *current, void *extra_args)
2115 int cil_resolve_pirqcon(struct cil_tree_node *current, void *extra_args)
2140 int cil_resolve_iomemcon(struct cil_tree_node *current, void *extra_args)
2165 int cil_resolve_ioportcon(struct cil_tree_node *current, void *extra_args)
2190 int cil_resolve_pcidevicecon(struct cil_tree_node *current, void *extra_args)
2215 int cil_resolve_devicetreecon(struct cil_tree_node *current, void *extra_args)
2240 int cil_resolve_fsuse(struct cil_tree_node *current, void *extra_args)
2265 int cil_resolve_sidcontext(struct cil_tree_node *current, void *extra_args)
2307 int cil_resolve_blockinherit_link(struct cil_tree_node *current, void *extra_args)
2311 struct cil_tree_node *node = NULL;
2340 void cil_print_recursive_blockinherit(struct cil_tree_node *bi_node, struct cil_tree_node *terminating_node)
2344 struct cil_tree_node *curr = NULL;
2372 int cil_check_recursive_blockinherit(struct cil_tree_node *bi_node)
2374 struct cil_tree_node *curr = NULL;
2405 int cil_resolve_blockinherit_copy(struct cil_tree_node *current, void *extra_args)
2446 int cil_resolve_blockabstract(struct cil_tree_node *current, void *extra_args)
2450 struct cil_tree_node *block_node = NULL;
2472 int cil_resolve_in(struct cil_tree_node *current, void *extra_args)
2478 struct cil_tree_node *block_node = NULL;
2513 struct cil_tree_node *node = NULL;
2514 cil_tree_node *last_failed_node = NULL;
2564 int cil_resolve_bounds(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor attr_flavor)
2646 int cil_resolve_default(struct cil_tree_node *current, void *extra_args)
2669 int cil_resolve_defaultrange(struct cil_tree_node *current, void *extra_args)
2692 void cil_print_recursive_call(struct cil_tree_node *call_node, struct cil_tree_node *terminating_node)
2696 struct cil_tree_node *curr = NULL;
2727 int cil_check_recursive_call(struct cil_tree_node *call_node, struct cil_tree_node *macro_node)
2729 struct cil_tree_node *curr = NULL;
2764 int cil_resolve_call1(struct cil_tree_node *current, void *extra_args)
2769 struct cil_tree_node *macro_node = NULL;
2795 struct cil_tree_node *pc = NULL;
2854 struct cil_tree_node *cat_node = NULL;
2877 struct cil_tree_node *lvl_node = NULL;
2902 struct cil_tree_node *range_node = NULL;
2927 struct cil_tree_node *addr_node = NULL;
2958 struct cil_tree_node *cp_node = NULL;
3025 int cil_resolve_call2(struct cil_tree_node *current, void *extra_args)
3165 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_expr, struct cil_tree_node *parent, void *extra_args)
3232 int cil_resolve_boolif(struct cil_tree_node *current, void *extra_args)
3297 int cil_resolve_tunif(struct cil_tree_node *current, void *extra_args)
3304 struct cil_tree_node *true_node = NULL;
3305 struct cil_tree_node *false_node = NULL;
3363 int cil_resolve_userattributeset(struct cil_tree_node *current, void *extra_args)
3368 struct cil_tree_node *attr_node = NULL;
3406 int __cil_resolve_ast_node(struct cil_tree_node *node, void *extra_args)
3690 int __cil_resolve_ast_node_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args)
3695 struct cil_tree_node *optstack = args->optstack;
3696 struct cil_tree_node *boolif = args->boolif;
3697 struct cil_tree_node *blockstack = args->blockstack;
3698 struct cil_tree_node *macro = args->macro;
3771 struct cil_tree_node *opt_node = opt->datum.nodes->head->data;
3788 int __cil_resolve_ast_first_child_helper(struct cil_tree_node *current, void *extra_args)
3792 struct cil_tree_node *optstack = NULL;
3793 struct cil_tree_node *parent = NULL;
3794 struct cil_tree_node *blockstack = NULL;
3795 struct cil_tree_node *new = NULL;
3838 int __cil_resolve_ast_last_child_helper(struct cil_tree_node *current, void *extra_args)
3842 struct cil_tree_node *parent = NULL;
3843 struct cil_tree_node *blockstack = NULL;
3854 struct cil_tree_node *optstack;
3886 static void cil_destroy_tree_node_stack(struct cil_tree_node *curr)
3888 struct cil_tree_node *next;
3896 int cil_resolve_ast(struct cil_db *db, struct cil_tree_node *current)
4057 static int __cil_resolve_name_with_parents(struct cil_tree_node *node, char *name, enum cil_sym_index sym_index, struct cil_symtab_datum **datum)
4111 static int __cil_resolve_name_helper(struct cil_db *db, struct cil_tree_node *node, char *name, enum cil_sym_index sym_index, struct cil_symtab_datum **datum)
4122 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void *extra_args, struct cil_symtab_datum **datum)
4125 struct cil_tree_node *node = NULL;
4150 int cil_resolve_name_keep_aliases(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void *extra_args, struct cil_symtab_datum **datum)
4155 struct cil_tree_node *node = NULL;