Lines Matching refs:reset_dbg_session
751 struct hyperv_reset_debug_session_output *reset_dbg_session = NULL; in hyperv_hcall_reset_dbg_session() local
759 len = sizeof(*reset_dbg_session); in hyperv_hcall_reset_dbg_session()
760 reset_dbg_session = cpu_physical_memory_map(outgpa, &len, 1); in hyperv_hcall_reset_dbg_session()
761 if (!reset_dbg_session || len < sizeof(*reset_dbg_session)) { in hyperv_hcall_reset_dbg_session()
772 reset_dbg_session->host_ip = msg.u.connection_info.host_ip; in hyperv_hcall_reset_dbg_session()
773 reset_dbg_session->host_port = msg.u.connection_info.host_port; in hyperv_hcall_reset_dbg_session()
775 memset(&reset_dbg_session->host_mac, 0, in hyperv_hcall_reset_dbg_session()
776 sizeof(reset_dbg_session->host_mac)); in hyperv_hcall_reset_dbg_session()
777 reset_dbg_session->target_ip = msg.u.connection_info.host_ip; in hyperv_hcall_reset_dbg_session()
778 reset_dbg_session->target_port = msg.u.connection_info.host_port; in hyperv_hcall_reset_dbg_session()
779 memset(&reset_dbg_session->target_mac, 0, in hyperv_hcall_reset_dbg_session()
780 sizeof(reset_dbg_session->target_mac)); in hyperv_hcall_reset_dbg_session()
782 if (reset_dbg_session) { in hyperv_hcall_reset_dbg_session()
783 cpu_physical_memory_unmap(reset_dbg_session, in hyperv_hcall_reset_dbg_session()
784 sizeof(*reset_dbg_session), 1, len); in hyperv_hcall_reset_dbg_session()