Lines Matching refs:vs
681 struct vcpu_state *vs; in report_stop() local
688 vs = &vcpu_state[stopped_vcpu]; in report_stop()
696 if (vs->hit_swbreak) { in report_stop()
700 } else if (vs->stepped) in report_stop()
716 struct vcpu_state *vs; in discard_stop() local
719 vs = &vcpu_state[stopped_vcpu]; in discard_stop()
720 vs->hit_swbreak = false; in discard_stop()
721 vs->stepped = false; in discard_stop()
803 struct vcpu_state *vs; in gdb_cpu_resume() local
806 vs = &vcpu_state[vcpu_id(vcpu)]; in gdb_cpu_resume()
812 assert(vs->hit_swbreak == false); in gdb_cpu_resume()
813 assert(vs->stepped == false); in gdb_cpu_resume()
814 if (vs->stepping) { in gdb_cpu_resume()
856 struct vcpu_state *vs; in gdb_cpu_mtrap() local
864 vs = &vcpu_state[vcpuid]; in gdb_cpu_mtrap()
865 if (vs->stepping) { in gdb_cpu_mtrap()
866 vs->stepping = false; in gdb_cpu_mtrap()
867 vs->stepped = true; in gdb_cpu_mtrap()
869 while (vs->stepped) { in gdb_cpu_mtrap()
898 struct vcpu_state *vs; in gdb_cpu_breakpoint() local
912 vs = &vcpu_state[vcpuid]; in gdb_cpu_breakpoint()
913 assert(vs->stepping == false); in gdb_cpu_breakpoint()
914 assert(vs->stepped == false); in gdb_cpu_breakpoint()
915 assert(vs->hit_swbreak == false); in gdb_cpu_breakpoint()
916 vs->hit_swbreak = true; in gdb_cpu_breakpoint()
926 if (!vs->hit_swbreak) { in gdb_cpu_breakpoint()
933 vs->hit_swbreak = false; in gdb_cpu_breakpoint()