Home
last modified time | relevance | path

Searched refs:guest_id (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/include/asm-generic/
H A Dmshyperv.h46 __u64 guest_id = 0; in generate_guest_id() local
48 guest_id = (((__u64)HV_LINUX_VENDOR_ID) << 48); in generate_guest_id()
49 guest_id |= (d_info1 << 48); in generate_guest_id()
50 guest_id |= (kernel_version << 16); in generate_guest_id()
51 guest_id |= d_info2; in generate_guest_id()
53 return guest_id; in generate_guest_id()
/kernel/linux/linux-6.6/arch/arm64/hyperv/
H A Dmshyperv.c26 u64 guest_id; in hyperv_init() local
41 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init()
42 hv_set_vpreg(HV_REGISTER_GUEST_OSID, guest_id); in hyperv_init()
H A Dhv_core.c145 u64 guest_id; in hyperv_report_panic() local
163 guest_id = hv_get_vpreg(HV_REGISTER_GUEST_OSID); in hyperv_report_panic()
167 * Pick the passed in error value, the guest_id, the PC, in hyperv_report_panic()
171 hv_set_vpreg(HV_REGISTER_CRASH_P1, guest_id); in hyperv_report_panic()
/kernel/linux/linux-5.10/arch/x86/hyperv/
H A Dhv_init.c353 u64 guest_id, required_msrs; in hyperv_init() local
403 guest_id = generate_guest_id(0, LINUX_VERSION_CODE, 0); in hyperv_init()
404 wrmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
479 u64 guest_id; in hyperv_report_panic() local
493 rdmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_report_panic()
496 wrmsrl(HV_X64_MSR_CRASH_P1, guest_id); in hyperv_report_panic()
/kernel/linux/linux-6.6/include/asm-generic/
H A Dmshyperv.h121 u64 guest_id; in hv_generate_guest_id() local
123 guest_id = (((u64)HV_LINUX_VENDOR_ID) << 48); in hv_generate_guest_id()
124 guest_id |= (kernel_version << 16); in hv_generate_guest_id()
126 return guest_id; in hv_generate_guest_id()
/kernel/linux/linux-6.6/arch/x86/hyperv/
H A Dhv_init.c460 u64 guest_id; in hyperv_init() local
524 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init()
525 wrmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
528 hv_ivm_msr_write(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init()
683 u64 guest_id; in hyperv_report_panic() local
697 rdmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_report_panic()
700 wrmsrl(HV_X64_MSR_CRASH_P1, guest_id); in hyperv_report_panic()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-inject.c53 struct guest_id { struct
98 /* Hash table for guest_id */
958 struct guest_id *guest_id = zalloc(sizeof(*guest_id)); in guest_session__map_id() local
961 if (!guest_id) in guest_session__map_id()
964 guest_id->id = id; in guest_session__map_id()
965 guest_id->host_id = host_id; in guest_session__map_id()
966 guest_id->vcpu = vcpu; in guest_session__map_id()
967 hash = hash_64(guest_id in guest_session__map_id()
1023 struct guest_id *guest_id; guest_session__lookup_id() local
1064 struct guest_id *guest_id = guest_session__lookup_id(gs, id); guest_session__add_attr() local
1470 struct guest_id *guest_id; guest_session__inject_events() local
[all...]
/kernel/linux/linux-5.10/drivers/hv/
H A Dhv_trace.h282 __array(char, guest_id, 16)
287 export_guid(__entry->guest_id, &msg->guest_endpoint_id);
293 __entry->guest_id, __entry->host_id, __entry->ret
/kernel/linux/linux-6.6/drivers/hv/
H A Dhv_trace.h297 __array(char, guest_id, 16)
302 export_guid(__entry->guest_id, &msg->guest_endpoint_id);
308 __entry->guest_id, __entry->host_id, __entry->ret

Completed in 6 milliseconds