Lines Matching refs:kvm_vcpu

50 	struct kvm_vcpu *vcpu;
72 int kvm_create_lapic(struct kvm_vcpu *vcpu, int timer_advance_ns);
73 void kvm_free_lapic(struct kvm_vcpu *vcpu);
75 int kvm_apic_has_interrupt(struct kvm_vcpu *vcpu);
76 int kvm_apic_accept_pic_intr(struct kvm_vcpu *vcpu);
77 int kvm_get_apic_interrupt(struct kvm_vcpu *vcpu);
78 int kvm_apic_accept_events(struct kvm_vcpu *vcpu);
79 void kvm_lapic_reset(struct kvm_vcpu *vcpu, bool init_event);
80 u64 kvm_lapic_get_cr8(struct kvm_vcpu *vcpu);
81 void kvm_lapic_set_tpr(struct kvm_vcpu *vcpu, unsigned long cr8);
82 void kvm_lapic_set_eoi(struct kvm_vcpu *vcpu);
83 void kvm_lapic_set_base(struct kvm_vcpu *vcpu, u64 value);
84 u64 kvm_lapic_get_base(struct kvm_vcpu *vcpu);
86 void kvm_apic_set_version(struct kvm_vcpu *vcpu);
87 bool kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source,
89 int kvm_apic_compare_prio(struct kvm_vcpu *vcpu1, struct kvm_vcpu *vcpu2);
90 void kvm_apic_clear_irr(struct kvm_vcpu *vcpu, int vec);
92 bool kvm_apic_update_irr(struct kvm_vcpu *vcpu, u32 *pir, int *max_irr);
93 void kvm_apic_update_ppr(struct kvm_vcpu *vcpu);
94 int kvm_apic_set_irq(struct kvm_vcpu *vcpu, struct kvm_lapic_irq *irq,
97 void kvm_apic_update_apicv(struct kvm_vcpu *vcpu);
103 u64 kvm_get_apic_base(struct kvm_vcpu *vcpu);
104 int kvm_set_apic_base(struct kvm_vcpu *vcpu, struct msr_data *msr_info);
105 int kvm_apic_get_state(struct kvm_vcpu *vcpu, struct kvm_lapic_state *s);
106 int kvm_apic_set_state(struct kvm_vcpu *vcpu, struct kvm_lapic_state *s);
107 enum lapic_mode kvm_get_apic_mode(struct kvm_vcpu *vcpu);
108 int kvm_lapic_find_highest_irr(struct kvm_vcpu *vcpu);
110 u64 kvm_get_lapic_tscdeadline_msr(struct kvm_vcpu *vcpu);
111 void kvm_set_lapic_tscdeadline_msr(struct kvm_vcpu *vcpu, u64 data);
113 void kvm_apic_write_nodecode(struct kvm_vcpu *vcpu, u32 offset);
114 void kvm_apic_set_eoi_accelerated(struct kvm_vcpu *vcpu, int vector);
116 int kvm_lapic_set_vapic_addr(struct kvm_vcpu *vcpu, gpa_t vapic_addr);
117 void kvm_lapic_sync_from_vapic(struct kvm_vcpu *vcpu);
118 void kvm_lapic_sync_to_vapic(struct kvm_vcpu *vcpu);
121 int kvm_x2apic_msr_write(struct kvm_vcpu *vcpu, u32 msr, u64 data);
122 int kvm_x2apic_msr_read(struct kvm_vcpu *vcpu, u32 msr, u64 *data);
124 int kvm_hv_vapic_msr_write(struct kvm_vcpu *vcpu, u32 msr, u64 data);
125 int kvm_hv_vapic_msr_read(struct kvm_vcpu *vcpu, u32 msr, u64 *data);
127 int kvm_lapic_set_pv_eoi(struct kvm_vcpu *vcpu, u64 data, unsigned long len);
165 static inline bool lapic_in_kernel(struct kvm_vcpu *vcpu) in lapic_in_kernel()
190 static inline bool kvm_apic_present(struct kvm_vcpu *vcpu) in kvm_apic_present()
195 static inline int kvm_lapic_enabled(struct kvm_vcpu *vcpu) in kvm_lapic_enabled()
205 static inline bool kvm_vcpu_apicv_active(struct kvm_vcpu *vcpu) in kvm_vcpu_apicv_active()
210 static inline bool kvm_apic_has_events(struct kvm_vcpu *vcpu) in kvm_apic_has_events()
221 static inline int kvm_lapic_latched_init(struct kvm_vcpu *vcpu) in kvm_lapic_latched_init()
226 bool kvm_apic_pending_eoi(struct kvm_vcpu *vcpu, int vector);
228 void kvm_wait_lapic_expire(struct kvm_vcpu *vcpu);
234 struct kvm_vcpu **dest_vcpu);
237 void kvm_lapic_switch_to_sw_timer(struct kvm_vcpu *vcpu);
238 void kvm_lapic_switch_to_hv_timer(struct kvm_vcpu *vcpu);
239 void kvm_lapic_expired_hv_timer(struct kvm_vcpu *vcpu);
240 bool kvm_lapic_hv_timer_in_use(struct kvm_vcpu *vcpu);
241 void kvm_lapic_restart_hv_timer(struct kvm_vcpu *vcpu);
242 bool kvm_can_use_hv_timer(struct kvm_vcpu *vcpu);