Home
last modified time | relevance | path

Searched refs:start_states (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_start_states.c29 static struct stree *start_states; variable
33 start_states = clone_stree(__get_cur_stree()); in save_start_states()
38 push_stree(&saved_stack, start_states); in match_save_states()
39 start_states = NULL; in match_save_states()
44 free_stree(&start_states); in match_restore_states()
45 start_states = pop_stree(&saved_stack); in match_restore_states()
50 free_stree(&start_states); in match_end_func()
55 return start_states; in get_start_states()
H A Dsmatch_param_limit.c52 static struct stree *start_states; variable
57 start_states = get_all_states_stree(SMATCH_EXTRA); in save_start_states()
62 free_stree(&start_states); in free_start_states()
156 old = get_state_stree(start_states, SMATCH_EXTRA, tmp->name, tmp->sym); in print_return_value_param()
184 push_stree(&saved_stack, start_states); in match_save_states()
185 start_states = NULL; in match_save_states()
190 free_stree(&start_states); in match_restore_states()
191 start_states = pop_stree(&saved_stack); in match_restore_states()
H A Dsmatch_param_filter.c38 static struct stree *start_states; variable
42 start_states = get_all_states_stree(SMATCH_EXTRA); in save_start_states()
47 free_stree(&start_states); in free_start_states()
52 push_stree(&saved_stack, start_states); in match_save_states()
53 start_states = NULL; in match_save_states()
58 free_stree(&start_states); in match_restore_states()
59 start_states = pop_stree(&saved_stack); in match_restore_states()
H A Dcheck_atomic_inc_dec.c45 static struct stree *start_states; variable
51 orig = get_state_stree(start_states, my_id, name, sym); in set_start_state()
53 set_state_stree(&start_states, my_id, name, sym, start); in set_start_state()
55 set_state_stree(&start_states, my_id, name, sym, &undefined); in set_start_state()
284 if (sm->state == get_state_stree(start_states, my_id, sm->name, sm->sym)) in match_return_info()
347 if (get_state_stree(start_states, my_id, name, sym) == &inc) in check_counter()
413 push_stree(&saved_stack, start_states); in match_save_states()
414 start_states = NULL; in match_save_states()
419 start_states = pop_stree(&saved_stack); in match_restore_states()
424 free_stree(&start_states); in match_after_func()
H A Dcheck_locking.c431 static struct stree *start_states; variable
578 orig = get_state_stree(start_states, my_id, name, sym); in set_start_state()
580 set_state_stree(&start_states, my_id, name, sym, start); in set_start_state()
582 set_state_stree(&start_states, my_id, name, sym, &undefined); in set_start_state()
837 orig = get_state_stree(start_states, my_id, sm->name, sm->sym); in get_start_state()
1213 push_stree(&saved_stack, start_states); in match_save_states()
1214 start_states = NULL; in match_save_states()
1219 start_states = pop_stree(&saved_stack); in match_restore_states()
1224 free_stree(&start_states); in match_after_func()
H A Dsmatch_kernel_user_data.c57 static struct stree *start_states; variable
61 start_states = clone_stree(__get_cur_stree()); in save_start_states()
66 free_stree(&start_states); in free_start_states()
71 push_stree(&saved_stack, start_states); in match_save_states()
72 start_states = NULL; in match_save_states()
77 free_stree(&start_states); in match_restore_states()
78 start_states = pop_stree(&saved_stack); in match_restore_states()
1372 start_state = get_state_stree(start_states, my_id, sm->name, sm->sym); in param_set_to_user_data()
H A Dcheck_nospec.c99 struct stree *start_states = get_start_states(); in returned_struct_members() local
109 if (get_state_stree(start_states, my_id, sm->name, sm->sym) == sm->state) in returned_struct_members()
H A Dsmatch_db.c1948 struct stree *start_states; in find_bool_param() local
1953 start_states = get_start_states(); in find_bool_param()
1958 sm = get_sm_state_stree(start_states, SMATCH_EXTRA, arg->ident->name, arg); in find_bool_param()