/linux-6.12.1/arch/powerpc/include/asm/ |
D | plpar_wrappers.h | 319 static inline long plpar_guest_create(unsigned long flags, unsigned long *guest_id) in plpar_guest_create() argument 329 *guest_id = retbuf[0]; in plpar_guest_create() 348 unsigned long guest_id, in plpar_guest_create_vcpu() argument 354 rc = plpar_hcall_norets(H_GUEST_CREATE_VCPU, 0, guest_id, vcpu_id); in plpar_guest_create_vcpu() 370 unsigned long guest_id, in plpar_guest_set_state() argument 380 rc = plpar_hcall(H_GUEST_SET_STATE, retbuf, flags, guest_id, in plpar_guest_set_state() 407 unsigned long guest_id, in plpar_guest_get_state() argument 417 rc = plpar_hcall(H_GUEST_GET_STATE, retbuf, flags, guest_id, in plpar_guest_get_state() 443 static inline long plpar_guest_run_vcpu(unsigned long flags, unsigned long guest_id, in plpar_guest_run_vcpu() argument 450 rc = plpar_hcall(H_GUEST_RUN_VCPU, retbuf, flags, guest_id, vcpu_id); in plpar_guest_run_vcpu() [all …]
|
D | guest-state-buffer.h | 235 unsigned long guest_id; member 314 struct kvmppc_gs_buff *kvmppc_gsb_new(size_t size, unsigned long guest_id,
|
/linux-6.12.1/arch/arm64/hyperv/ |
D | mshyperv.c | 33 u64 guest_id; in hyperv_init() local 48 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init() 49 hv_set_vpreg(HV_REGISTER_GUEST_OS_ID, guest_id); in hyperv_init()
|
D | hv_core.c | 145 u64 guest_id; in hyperv_report_panic() local 163 guest_id = hv_get_vpreg(HV_REGISTER_GUEST_OS_ID); in hyperv_report_panic() 171 hv_set_vpreg(HV_REGISTER_GUEST_CRASH_P1, guest_id); in hyperv_report_panic()
|
/linux-6.12.1/arch/x86/hyperv/ |
D | hv_init.c | 459 u64 guest_id; in hyperv_init() local 523 guest_id = hv_generate_guest_id(LINUX_VERSION_CODE); in hyperv_init() 524 wrmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init() 527 hv_ivm_msr_write(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_init() 680 u64 guest_id; in hyperv_report_panic() local 694 rdmsrl(HV_X64_MSR_GUEST_OS_ID, guest_id); in hyperv_report_panic() 697 wrmsrl(HV_X64_MSR_CRASH_P1, guest_id); in hyperv_report_panic()
|
/linux-6.12.1/include/asm-generic/ |
D | mshyperv.h | 135 u64 guest_id; in hv_generate_guest_id() local 137 guest_id = (((u64)HV_LINUX_VENDOR_ID) << 48); in hv_generate_guest_id() 138 guest_id |= (kernel_version << 16); in hv_generate_guest_id() 140 return guest_id; in hv_generate_guest_id()
|
/linux-6.12.1/tools/perf/ |
D | builtin-inject.c | 53 struct guest_id { struct 1132 struct guest_id *guest_id = zalloc(sizeof(*guest_id)); in guest_session__map_id() local 1135 if (!guest_id) in guest_session__map_id() 1138 guest_id->id = id; in guest_session__map_id() 1139 guest_id->host_id = host_id; in guest_session__map_id() 1140 guest_id->vcpu = vcpu; in guest_session__map_id() 1141 hash = hash_64(guest_id->id, PERF_EVLIST__HLIST_BITS); in guest_session__map_id() 1142 hlist_add_head(&guest_id->node, &gs->heads[hash]); in guest_session__map_id() 1194 static struct guest_id *guest_session__lookup_id(struct guest_session *gs, u64 id) in guest_session__lookup_id() 1197 struct guest_id *guest_id; in guest_session__lookup_id() local [all …]
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | guest-state-buffer.c | 26 struct kvmppc_gs_buff *kvmppc_gsb_new(size_t size, unsigned long guest_id, in kvmppc_gsb_new() argument 43 gsb->guest_id = guest_id; in kvmppc_gsb_new() 592 rc = plpar_guest_set_state(hflags, gsb->guest_id, gsb->vcpu_id, in kvmppc_gsb_send() 617 rc = plpar_guest_get_state(hflags, gsb->guest_id, gsb->vcpu_id, in kvmppc_gsb_recv()
|
D | book3s_hv_nestedv2.c | 638 unsigned long guest_id, vcpu_id; in kvmhv_nestedv2_host_create() local 643 guest_id = vcpu->kvm->arch.lpid; in kvmhv_nestedv2_host_create() 653 gsb = kvmppc_gsb_new(kvmppc_gsm_size(gsm), guest_id, vcpu_id, in kvmhv_nestedv2_host_create() 667 vcpu_run_output = kvmppc_gsb_new(cfg->vcpu_run_output_size, guest_id, in kvmhv_nestedv2_host_create() 694 vcpu_run_input = kvmppc_gsb_new(kvmppc_gsm_size(vcpu_message), guest_id, in kvmhv_nestedv2_host_create()
|
D | book3s_hv.c | 5671 unsigned long guest_id; in kvmppc_core_init_vm_hv() local 5673 rc = plpar_guest_create(0, &guest_id); in kvmppc_core_init_vm_hv() 5691 kvm->arch.lpid = guest_id; in kvmppc_core_init_vm_hv()
|
/linux-6.12.1/drivers/hv/ |
D | hv_trace.h | 297 __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.12.1/Documentation/process/ |
D | maintainer-tip.rst | 732 unsigned int guest_id; 742 unsigned int guest_id; /* Unique guest id */ 756 * @guest_id: Unique guest id 767 unsigned int guest_id;
|