Lines Matching refs:oldstate
939 state_t oldstate; in thread_on_reference() local
944 oldstate = set_state(~(S_RESTRICT | S_EXPOSE), S_EXPOSE); /* restrict off, expose on */ in thread_on_reference()
1036 if (!S_IS_EXPOSE(oldstate)) in thread_on_reference()
1039 restore_state(oldstate); in thread_on_reference()
1095 state_t oldstate; in tagbelowcmd() local
1100 oldstate = set_state(~(S_RESTRICT | S_EXPOSE), S_EXPOSE); /* restrict off, expose on */ in tagbelowcmd()
1111 restore_state(oldstate); in tagbelowcmd()
1632 state_t oldstate; in thread_current_on() local
1634 oldstate = set_state(~(S_RESTRICT | S_EXPOSE), cutit ? S_EXPOSE : 0); in thread_current_on()
1645 if (!S_IS_EXPOSE(oldstate)) in thread_current_on()
1647 restore_state(oldstate); in thread_current_on()
1717 state_t oldstate; in deldupscmd() local
1719 oldstate = set_state(~(S_RESTRICT | S_EXPOSE), S_EXPOSE); /* restrict off, expose on */ in deldupscmd()
1733 restore_state(oldstate); in deldupscmd()