Searched refs:gse (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/powerpc/kvm/ |
D | book3s_hv_nestedv2.c | 89 struct kvmppc_gs_elem *gse; in gs_msg_ops_kvmhv_nestedv2_config_refresh_info() local 98 gse = kvmppc_gsp_lookup(&gsp, KVMPPC_GSID_RUN_OUTPUT_MIN_SIZE); in gs_msg_ops_kvmhv_nestedv2_config_refresh_info() 99 if (gse) in gs_msg_ops_kvmhv_nestedv2_config_refresh_info() 100 cfg->vcpu_run_output_size = kvmppc_gse_get_u64(gse); in gs_msg_ops_kvmhv_nestedv2_config_refresh_info() 398 struct kvmppc_gs_elem *gse; in gs_msg_ops_vcpu_refresh_info() local 412 kvmppc_gsp_for_each(&gsp, iden, gse) in gs_msg_ops_vcpu_refresh_info() 416 vcpu->arch.dscr = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info() 419 vcpu->arch.mmcra = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info() 422 vcpu->arch.hfscr = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info() 425 vcpu->arch.purr = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info() [all …]
|
D | test-guest-state-buffer.c | 102 struct kvmppc_gs_elem *gse; in test_gs_parsing() local 116 gse = kvmppc_gsp_lookup(&gsp, KVMPPC_GSID_GPR(0)); in test_gs_parsing() 117 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, gse); in test_gs_parsing() 119 tmp2 = kvmppc_gse_get_u64(gse); in test_gs_parsing() 255 struct kvmppc_gs_elem *gse; in test1_refresh_info() local 262 gse = kvmppc_gsp_lookup(&gsp, KVMPPC_GSID_GPR(0)); in test1_refresh_info() 263 if (gse) in test1_refresh_info() 264 data->a = kvmppc_gse_get_u64(gse); in test1_refresh_info() 266 gse = kvmppc_gsp_lookup(&gsp, KVMPPC_GSID_CR); in test1_refresh_info() 267 if (gse) in test1_refresh_info() [all …]
|
D | guest-state-buffer.c | 257 struct kvmppc_gs_elem *gse; in __kvmppc_gse_put() local 260 total_size = sizeof(*gse) + size; in __kvmppc_gse_put() 267 gse = kvmppc_gsb_put(gsb, total_size); in __kvmppc_gse_put() 268 gse->iden = cpu_to_be16(iden); in __kvmppc_gse_put() 269 gse->len = cpu_to_be16(size); in __kvmppc_gse_put() 270 memcpy(gse->data, data, size); in __kvmppc_gse_put() 398 struct kvmppc_gs_elem *gse) in kvmppc_gsp_insert() argument 404 gsp->gses[i] = gse; in kvmppc_gsp_insert()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | guest-state-buffer.h | 445 static inline u16 kvmppc_gse_iden(const struct kvmppc_gs_elem *gse) in kvmppc_gse_iden() argument 447 return be16_to_cpu(gse->iden); in kvmppc_gse_iden() 456 static inline u16 kvmppc_gse_len(const struct kvmppc_gs_elem *gse) in kvmppc_gse_len() argument 458 return be16_to_cpu(gse->len); in kvmppc_gse_len() 467 static inline u16 kvmppc_gse_total_len(const struct kvmppc_gs_elem *gse) in kvmppc_gse_total_len() argument 469 return be16_to_cpu(gse->len) + sizeof(*gse); in kvmppc_gse_total_len() 489 static inline void *kvmppc_gse_data(const struct kvmppc_gs_elem *gse) in kvmppc_gse_data() argument 491 return (void *)gse->data; in kvmppc_gse_data() 501 static inline bool kvmppc_gse_ok(const struct kvmppc_gs_elem *gse, in kvmppc_gse_ok() argument 504 return remaining >= kvmppc_gse_total_len(gse); in kvmppc_gse_ok() [all …]
|
/linux-6.12.1/arch/s390/kernel/ |
D | machine_kexec.c | 100 cr2_new.gse = 1; in __machine_kdump()
|
D | nmi.c | 257 if (cr2.gse && !mci.gs && !test_cpu_flag(CIF_MCCK_GUEST)) in nmi_registers_valid()
|
D | ptrace.c | 79 cr2_new.gse = 0; in update_cr_regs() 81 cr2_new.gse = 1; in update_cr_regs()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | ctlreg.h | 229 unsigned long gse : 1; member
|