Searched refs:host_data_ptr (Results 1 – 8 of 8) sorted by relevance
109 int brps = *host_data_ptr(debug_brps); in __debug_save_state()110 int wrps = *host_data_ptr(debug_wrps); in __debug_save_state()123 int brps = *host_data_ptr(debug_brps); in __debug_restore_state()124 int wrps = *host_data_ptr(debug_wrps); in __debug_restore_state()144 host_ctxt = host_data_ptr(host_ctxt); in __debug_switch_to_guest_common()146 host_dbg = host_data_ptr(host_debug_state.regs); in __debug_switch_to_guest_common()163 host_ctxt = host_data_ptr(host_ctxt); in __debug_switch_to_host_common()165 host_dbg = host_data_ptr(host_debug_state.regs); in __debug_switch_to_host_common()
831 * Use host_data_ptr(field) as a way to access a pointer to such a1461 #define host_data_ptr(f) (&this_cpu_ptr(&kvm_host_data)->f)1463 #define host_data_ptr(f) \1470 (test_bit(KVM_HOST_DATA_FLAG_##flag, host_data_ptr(flags)))1472 set_bit(KVM_HOST_DATA_FLAG_##flag, host_data_ptr(flags)) in kvm_pmu_counter_deferred() 1474 clear_bit(KVM_HOST_DATA_FLAG_##flag, host_data_ptr(flags)) in kvm_pmu_counter_deferred() 1479 return *host_data_ptr(fp_owner) == FP_STATE_GUEST_OWNED;1485 return *host_data_ptr(fp_owner) == FP_STATE_HOST_OWNED; in kvm_set_pmu_events() 1397 #define host_data_ptr( global() macro 1399 #define host_data_ptr( global() macro
876 irq = *host_data_ptr(last_lr_irq); in vgic_fold_state() 879 *host_data_ptr(last_lr_irq) = NULL; in vgic_fold_state() 1041 *host_data_ptr(last_lr_irq) = NULL; in vgic_flush_lr_state() 1049 *host_data_ptr(last_lr_irq) = irq; in vgic_flush_lr_state() 1054 if (*host_data_ptr(last_lr_irq)) in vgic_flush_lr_state()
118 struct vgic_irq *irq = *host_data_ptr(last_lr_irq); in vgic_v2_fold_lr_state()
151 struct vgic_irq *irq = *host_data_ptr(last_lr_irq); in vgic_v3_fold_lr_state()
97 pkvm_hyp_req_to_smccc(host_data_ptr(host_ctxt), &req); in fpsimd_sve_sync() 492 struct kvm_cpu_context *hctxt = host_data_ptr(host_ctxt); in handle___pkvm_host_wrprotect_guest() 493 struct arm64_sve_state *sve_regs = *host_data_ptr(sve_regs); in handle___pkvm_host_wrprotect_guest() 512 *host_data_ptr(fp_owner) = FP_STATE_HOST_OWNED; in handle___pkvm_host_test_clear_young_guest() 517 struct kvm_cpu_context *hctxt = host_data_ptr(host_ctxt); in handle___pkvm_host_test_clear_young_guest() 546 *host_data_ptr(fp_owner) = FP_STATE_HOST_OWNED; in handle___kvm_adjust_pc() 1387 pkvm_hyp_req_to_smccc(host_data_ptr(host_ctxt), &req);1395 struct kvm_cpu_context *host_ctxt = host_data_ptr(host_ctxt);1422 struct kvm_cpu_context *host_ctxt = host_data_ptr(host_ctxt);
300 struct kvm_cpu_context *host_ctxt = host_data_ptr(host_ctxt); in __pkvm_init_finalise()
2475 kvm_init_host_cpu_context(host_data_ptr(host_ctxt)); in init_subsystems()