Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm64/hyperv/
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()
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()
171 hv_set_vpreg(HV_REGISTER_CRASH_P1, guest_id); in hyperv_report_panic()
/linux-6.6.21/arch/x86/hyperv/
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()
/linux-6.6.21/include/asm-generic/
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()
/linux-6.6.21/tools/perf/
Dbuiltin-inject.c53 struct guest_id { struct
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->id, PERF_EVLIST__HLIST_BITS); in guest_session__map_id()
968 hlist_add_head(&guest_id->node, &gs->heads[hash]); in guest_session__map_id()
1020 static struct guest_id *guest_session__lookup_id(struct guest_session *gs, u64 id) in guest_session__lookup_id()
1023 struct guest_id *guest_id; in guest_session__lookup_id() local
[all …]
/linux-6.6.21/drivers/hv/
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
/linux-6.6.21/Documentation/process/
Dmaintainer-tip.rst688 unsigned int guest_id;
698 unsigned int guest_id; /* Unique guest id */
712 * @guest_id: Unique guest id
723 unsigned int guest_id;