Searched refs:pi_desc (Results 1 – 5 of 5) sorted by relevance
/linux/arch/x86/kvm/vmx/ |
A D | posted_intr.h | 9 struct pi_desc { struct 31 static inline bool pi_test_and_set_on(struct pi_desc *pi_desc) in pi_test_and_set_on() argument 37 static inline bool pi_test_and_clear_on(struct pi_desc *pi_desc) in pi_test_and_clear_on() argument 43 static inline int pi_test_and_set_pir(int vector, struct pi_desc *pi_desc) in pi_test_and_set_pir() argument 48 static inline bool pi_is_pir_empty(struct pi_desc *pi_desc) in pi_is_pir_empty() argument 53 static inline void pi_set_sn(struct pi_desc *pi_desc) in pi_set_sn() argument 59 static inline void pi_set_on(struct pi_desc *pi_desc) in pi_set_on() argument 65 static inline void pi_clear_on(struct pi_desc *pi_desc) in pi_clear_on() argument 71 static inline void pi_clear_sn(struct pi_desc *pi_desc) in pi_clear_sn() argument 77 static inline int pi_test_on(struct pi_desc *pi_desc) in pi_test_on() argument [all …]
|
A D | posted_intr.c | 27 struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu); in vmx_vcpu_pi_load() local 28 struct pi_desc old, new; in vmx_vcpu_pi_load() 48 pi_clear_sn(pi_desc); in vmx_vcpu_pi_load() 78 pi_set_on(pi_desc); in vmx_vcpu_pi_load() 90 struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu); in vmx_vcpu_pi_put() local 97 pi_set_sn(pi_desc); in vmx_vcpu_pi_put() 102 struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu); in __pi_post_block() local 148 struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu); in pi_pre_block() local 221 struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu); in pi_wakeup_handler() local 237 struct pi_desc *pi_desc = vcpu_to_pi_desc(vcpu); in pi_has_pending_interrupt() local [all …]
|
A D | vmx.h | 203 struct pi_desc *pi_desc; member 309 struct pi_desc pi_desc; member
|
A D | vmx.c | 3960 if (pi_test_and_set_pir(vector, &vmx->pi_desc)) in vmx_deliver_posted_interrupt() 3964 if (pi_test_and_set_on(&vmx->pi_desc)) in vmx_deliver_posted_interrupt() 4309 vmcs_write64(POSTED_INTR_DESC_ADDR, __pa((&vmx->pi_desc))); in init_vmcs() 4409 vmx->pi_desc.nv = POSTED_INTR_VECTOR; in __vmx_vcpu_reset() 4410 vmx->pi_desc.sn = 1; in __vmx_vcpu_reset() 6286 if (pi_test_on(&vmx->pi_desc)) { in vmx_sync_pir_to_irr() 6287 pi_clear_on(&vmx->pi_desc); in vmx_sync_pir_to_irr() 6294 kvm_apic_update_irr(vcpu, vmx->pi_desc.pir, &max_irr); in vmx_sync_pir_to_irr() 6338 pi_clear_on(&vmx->pi_desc); in vmx_apicv_post_state_restore() 6339 memset(vmx->pi_desc.pir, 0, sizeof(vmx->pi_desc.pir)); in vmx_apicv_post_state_restore()
|
A D | nested.c | 314 vmx->nested.pi_desc = NULL; in free_nested() 3210 vmx->nested.pi_desc = in nested_get_vmcs12_pages() 3211 (struct pi_desc *)(((void *)map->hva) + in nested_get_vmcs12_pages() 3222 vmx->nested.pi_desc = NULL; in nested_get_vmcs12_pages() 3740 if (!vmx->nested.pi_desc) in vmx_complete_nested_posted_interrupt() 3745 if (!pi_test_and_clear_on(vmx->nested.pi_desc)) in vmx_complete_nested_posted_interrupt() 3748 max_irr = find_last_bit((unsigned long *)vmx->nested.pi_desc->pir, 256); in vmx_complete_nested_posted_interrupt() 3754 __kvm_apic_update_irr(vmx->nested.pi_desc->pir, in vmx_complete_nested_posted_interrupt() 4583 vmx->nested.pi_desc = NULL; in nested_vmx_vmexit()
|
Completed in 29 milliseconds