Lines Matching refs:cond_node_t
78 static int same_bools(cond_node_t * a, cond_node_t * b) in same_bools()
98 int cond_expr_equal(cond_node_t * a, cond_node_t * b) in cond_expr_equal()
142 cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node) in cond_node_create()
144 cond_node_t *new_node; in cond_node_create()
147 new_node = (cond_node_t *)malloc(sizeof(cond_node_t)); in cond_node_create()
151 memset(new_node, 0, sizeof(cond_node_t)); in cond_node_create()
175 cond_node_t *cond_node_find(policydb_t * p, in cond_node_find()
176 cond_node_t * needle, cond_node_t * haystack, in cond_node_find()
192 cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, in cond_node_search()
193 cond_node_t * cn) in cond_node_search()
196 cond_node_t *result = cond_node_find(p, cn, list, &was_created); in cond_node_search()
309 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()
443 cond_node_t *cur; in evaluate_conds()
486 void cond_node_destroy(cond_node_t * node) in cond_node_destroy()
500 cond_node_t *next, *cur; in cond_list_destroy()
747 static int cond_read_node(policydb_t * p, cond_node_t * node, void *fp) in cond_read_node()
823 cond_node_t *node, *last = NULL; in cond_read_list()
838 node = malloc(sizeof(cond_node_t)); in cond_read_list()
841 memset(node, 0, sizeof(cond_node_t)); in cond_read_list()