Lines Matching refs:interrupts

601 	struct interrupts *interrupts = &target_vcpu->interrupts;  in api_interrupt_inject_locked()  local
609 if (!(vcpu_is_virt_interrupt_enabled(interrupts, intid) && in api_interrupt_inject_locked()
610 !vcpu_is_virt_interrupt_pending(interrupts, intid))) { in api_interrupt_inject_locked()
615 vcpu_interrupt_count_increment(target_locked, interrupts, intid); in api_interrupt_inject_locked()
637 vcpu_virt_interrupt_set_pending(interrupts, intid); in api_interrupt_inject_locked()
2139 struct interrupts *interrupts = &current->interrupts; in api_interrupt_enable() local
2151 if (vcpu_is_virt_interrupt_pending(interrupts, intid) && in api_interrupt_enable()
2152 !vcpu_is_virt_interrupt_enabled(interrupts, intid)) { in api_interrupt_enable()
2154 interrupts, intid); in api_interrupt_enable()
2156 vcpu_virt_interrupt_set_enabled(interrupts, intid); in api_interrupt_enable()
2157 vcpu_virt_interrupt_set_type(interrupts, intid, type); in api_interrupt_enable()
2162 if (vcpu_is_virt_interrupt_pending(interrupts, intid) && in api_interrupt_enable()
2163 vcpu_is_virt_interrupt_enabled(interrupts, intid)) { in api_interrupt_enable()
2165 interrupts, intid); in api_interrupt_enable()
2167 vcpu_virt_interrupt_clear_enabled(interrupts, intid); in api_interrupt_enable()
2168 vcpu_virt_interrupt_set_type(interrupts, intid, in api_interrupt_enable()
2177 struct interrupts *interrupts, in api_interrupt_clear_decrement() argument
2180 vcpu_virt_interrupt_clear_pending(interrupts, intid); in api_interrupt_clear_decrement()
2181 vcpu_interrupt_count_decrement(locked_vcpu, interrupts, intid); in api_interrupt_clear_decrement()
2194 struct interrupts *interrupts = &current->interrupts; in api_interrupt_get() local
2203 interrupts->interrupt_enabled.bitmap[i] & in api_interrupt_get()
2204 interrupts->interrupt_pending.bitmap[i]; in api_interrupt_get()
2216 current_locked, interrupts, first_interrupt); in api_interrupt_get()
2701 struct interrupts *interrupts = &current->interrupts; in api_ffa_msg_send_direct_resp() local
2703 if (vcpu_is_virt_interrupt_pending(interrupts, in api_ffa_msg_send_direct_resp()
2706 interrupts, in api_ffa_msg_send_direct_resp()