Lines Matching refs:cond_node_t
77 static int same_bools(cond_node_t * a, cond_node_t * b) in same_bools()
97 int cond_expr_equal(cond_node_t * a, cond_node_t * b) in cond_expr_equal()
141 cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node) in cond_node_create()
143 cond_node_t *new_node; in cond_node_create()
146 new_node = (cond_node_t *)malloc(sizeof(cond_node_t)); in cond_node_create()
150 memset(new_node, 0, sizeof(cond_node_t)); in cond_node_create()
174 cond_node_t *cond_node_find(policydb_t * p, in cond_node_find()
175 cond_node_t * needle, cond_node_t * haystack, in cond_node_find()
191 cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, in cond_node_search()
192 cond_node_t * cn) in cond_node_search()
195 cond_node_t *result = cond_node_find(p, cn, list, &was_created); in cond_node_search()
308 static int evaluate_cond_node(policydb_t * p, cond_node_t * node) in evaluate_cond_node()
344 int cond_normalize_expr(policydb_t * p, cond_node_t * cn) in cond_normalize_expr()
446 cond_node_t *cur; in evaluate_conds()
489 void cond_node_destroy(cond_node_t * node) in cond_node_destroy()
503 cond_node_t *next, *cur; in cond_list_destroy()
760 static int cond_read_node(policydb_t * p, cond_node_t * node, void *fp) in cond_read_node()
837 cond_node_t *node, *last = NULL; in cond_read_list()
852 node = malloc(sizeof(cond_node_t)); in cond_read_list()
855 memset(node, 0, sizeof(cond_node_t)); in cond_read_list()