Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_equiv.c159 struct sm_state *old_sm, *new_sm; in remove_from_equiv() local
161 old_sm = get_sm_state(SMATCH_EXTRA, rel->name, rel->sym); in remove_from_equiv()
162 if (!old_sm) in remove_from_equiv()
165 new_sm = clone_sm(old_sm); in remove_from_equiv()
248 struct sm_state *old_sm, *new_sm; in set_equiv() local
250 old_sm = get_sm_state(SMATCH_EXTRA, rel->name, rel->sym); in set_equiv()
251 if (!old_sm) /* shouldn't happen */ in set_equiv()
253 new_sm = clone_sm(old_sm); in set_equiv()
254 new_sm->state = clone_estate(old_sm->state); in set_equiv()