Home
last modified time | relevance | path

Searched defs:kvm (Results 1 – 25 of 103) sorted by relevance

12345

/linux/arch/x86/kvm/
H A Dirq_comm.c31 struct kvm *kvm, int irq_source_id, int level, in kvm_set_pic_irq()
39 struct kvm *kvm, int irq_source_id, int level, in kvm_set_ioapic_irq()
47 int kvm_irq_delivery_to_apic(struct kvm *kvm, struct kvm_lapic *src, in kvm_irq_delivery_to_apic()
104 void kvm_set_msi_irq(struct kvm *kvm, struct kvm_kernel_irq_routing_entry *e, in kvm_set_msi_irq()
125 static inline bool kvm_msi_route_invalid(struct kvm *kvm, in kvm_msi_route_invalid()
132 struct kvm *kvm, int irq_source_id, int level, bool line_status) in kvm_set_msi()
149 struct kvm *kvm, int irq_source_id, int level, in kvm_hv_set_sint()
160 struct kvm *kvm, int irq_source_id, int level, in kvm_arch_set_irq_inatomic()
197 int kvm_request_irq_source_id(struct kvm *kvm) in kvm_request_irq_source_id()
220 void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id) in kvm_free_irq_source_id()
[all …]
H A Dhyperv.c190 static struct kvm_vcpu *get_vcpu_by_vpidx(struct kvm *kvm, u32 vpidx) in get_vcpu_by_vpidx()
207 static struct kvm_vcpu_hv_synic *synic_get(struct kvm *kvm, u32 vpidx) in synic_get()
221 struct kvm *kvm = vcpu->kvm; in kvm_hv_notify_acked_sint() local
500 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vpidx, u32 sint) in kvm_hv_synic_set_irq()
523 static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u32 sint, int gsi) in kvm_hv_set_sint_gsi()
538 void kvm_hv_irq_routing_update(struct kvm *kvm) in kvm_hv_irq_routing_update()
568 static u64 get_time_ref_counter(struct kvm *kvm) in get_time_ref_counter()
1033 static int kvm_hv_msr_get_crash_data(struct kvm *kvm, u32 index, u64 *pdata) in kvm_hv_msr_get_crash_data()
1045 static int kvm_hv_msr_get_crash_ctl(struct kvm *kvm, u64 *pdata) in kvm_hv_msr_get_crash_ctl()
1053 static int kvm_hv_msr_set_crash_ctl(struct kvm *kvm, u64 data) in kvm_hv_msr_set_crash_ctl()
[all …]
/linux/arch/x86/kvm/mmu/
H A Dtdp_mmu.c15 void kvm_mmu_init_tdp_mmu(struct kvm *kvm) in kvm_mmu_init_tdp_mmu()
22 static __always_inline bool kvm_lockdep_assert_mmu_lock_held(struct kvm *kvm, in kvm_lockdep_assert_mmu_lock_held()
33 void kvm_mmu_uninit_tdp_mmu(struct kvm *kvm) in kvm_mmu_uninit_tdp_mmu()
76 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root) in kvm_tdp_mmu_put_root()
104 static struct kvm_mmu_page *tdp_mmu_next_root(struct kvm *kvm, in tdp_mmu_next_root()
231 struct kvm *kvm = vcpu->kvm; in kvm_tdp_mmu_alloc_root() local
294 static void tdp_account_mmu_page(struct kvm *kvm, struct kvm_mmu_page *sp) in tdp_account_mmu_page()
300 static void tdp_unaccount_mmu_page(struct kvm *kvm, struct kvm_mmu_page *sp) in tdp_unaccount_mmu_page()
312 static void tdp_mmu_unlink_sp(struct kvm *kvm, struct kvm_mmu_page *sp) in tdp_mmu_unlink_sp()
342 static void handle_removed_pt(struct kvm *kvm, tdp_ptep_t pt, bool shared) in handle_removed_pt()
[all …]
H A Dpage_track.c23 static bool kvm_external_write_tracking_enabled(struct kvm *kvm) in kvm_external_write_tracking_enabled()
36 bool kvm_page_track_write_tracking_enabled(struct kvm *kvm) in kvm_page_track_write_tracking_enabled()
60 int kvm_page_track_create_memslot(struct kvm *kvm, in kvm_page_track_create_memslot()
90 void __kvm_write_track_add_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, in __kvm_write_track_add_gfn()
113 void __kvm_write_track_remove_gfn(struct kvm *kvm, in __kvm_write_track_remove_gfn()
136 bool kvm_gfn_is_write_tracked(struct kvm *kvm, in kvm_gfn_is_write_tracked()
152 void kvm_page_track_cleanup(struct kvm *kvm) in kvm_page_track_cleanup()
160 int kvm_page_track_init(struct kvm *kvm) in kvm_page_track_init()
169 static int kvm_enable_external_write_tracking(struct kvm *kvm) in kvm_enable_external_write_tracking()
217 int kvm_page_track_register_notifier(struct kvm *kvm, in kvm_page_track_register_notifier()
[all …]
H A Dpage_track.h33 static inline bool kvm_page_track_has_external_user(struct kvm *kvm) in kvm_page_track_has_external_user()
38 static inline int kvm_page_track_init(struct kvm *kvm) { return 0; } in kvm_page_track_init()
39 static inline void kvm_page_track_cleanup(struct kvm *kvm) { } in kvm_page_track_cleanup()
41 static inline void __kvm_page_track_write(struct kvm *kvm, gpa_t gpa, in __kvm_page_track_write()
43 static inline void kvm_page_track_delete_slot(struct kvm *kvm, in kvm_page_track_delete_slot()
46 static inline bool kvm_page_track_has_external_user(struct kvm *kvm) { return false; } in kvm_page_track_has_external_user()
H A Dmmu.c283 static void kvm_flush_remote_tlbs_sptep(struct kvm *kvm, u64 *sptep) in kvm_flush_remote_tlbs_sptep()
521 static u64 mmu_spte_clear_track_bits(struct kvm *kvm, u64 *sptep) in mmu_spte_clear_track_bits()
741 static void account_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in account_shadowed()
771 void track_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp) in track_possible_nx_huge_page()
789 static void account_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp, in account_nx_huge_page()
798 static void unaccount_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in unaccount_shadowed()
814 void untrack_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp) in untrack_possible_nx_huge_page()
823 static void unaccount_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp) in unaccount_nx_huge_page()
893 static void pte_list_desc_remove_entry(struct kvm *kvm, in pte_list_desc_remove_entry()
930 static void pte_list_remove(struct kvm *kvm, u64 *spte, in pte_list_remove()
[all …]
/linux/arch/powerpc/include/asm/
H A Dkvm_book3s_uvmem.h44 kvmppc_uvmem_slot_init(struct kvm *kvm, const struct kvm_memory_slot *slot) in kvmppc_uvmem_slot_init()
50 kvmppc_uvmem_slot_free(struct kvm *kvm, const struct kvm_memory_slot *slot) { } in kvmppc_uvmem_slot_free()
53 kvmppc_h_svm_page_in(struct kvm *kvm, unsigned long gra, in kvmppc_h_svm_page_in()
60 kvmppc_h_svm_page_out(struct kvm *kvm, unsigned long gra, in kvmppc_h_svm_page_out()
66 static inline unsigned long kvmppc_h_svm_init_start(struct kvm *kvm) in kvmppc_h_svm_init_start()
71 static inline unsigned long kvmppc_h_svm_init_done(struct kvm *kvm) in kvmppc_h_svm_init_done()
76 static inline unsigned long kvmppc_h_svm_init_abort(struct kvm *kvm) in kvmppc_h_svm_init_abort()
81 static inline int kvmppc_send_page_to_uv(struct kvm *kvm, unsigned long gfn) in kvmppc_send_page_to_uv()
88 struct kvm *kvm, bool skip_page_out) { } in kvmppc_uvmem_drop_pages()
90 static inline int kvmppc_uvmem_memslot_create(struct kvm *kvm, in kvmppc_uvmem_memslot_create()
[all …]
/linux/virt/kvm/
H A Deventfd.c36 kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) in kvm_arch_irqfd_allowed()
46 struct kvm *kvm = irqfd->kvm; in irqfd_inject() local
76 struct kvm *kvm; in irqfd_resampler_ack() local
95 struct kvm *kvm = resampler->kvm; in irqfd_resampler_shutdown() local
126 struct kvm *kvm = irqfd->kvm; in irqfd_shutdown() local
184 struct kvm *kvm, int irq_source_id, in kvm_arch_set_irq_inatomic()
201 struct kvm *kvm = irqfd->kvm; in irqfd_wakeup() local
258 static void irqfd_update(struct kvm *kvm, struct kvm_kernel_irqfd *irqfd) in irqfd_update()
289 struct kvm *kvm, unsigned int host_irq, in kvm_arch_update_irqfd_routing()
304 kvm_irqfd_assign(struct kvm *kvm, struct kvm_irqfd *args) in kvm_irqfd_assign()
[all …]
H A Dkvm_mm.h14 #define KVM_MMU_LOCK_INIT(kvm) rwlock_init(&(kvm)->mmu_lock) argument
15 #define KVM_MMU_LOCK(kvm) write_lock(&(kvm)->mmu_lock) argument
16 #define KVM_MMU_UNLOCK(kvm) write_unlock(&(kvm)->mmu_lock) argument
18 #define KVM_MMU_LOCK_INIT(kvm) spin_lock_init(&(kvm)->mmu_lock) argument
19 #define KVM_MMU_LOCK(kvm) spin_lock(&(kvm) argument
20 KVM_MMU_UNLOCK(kvm) global() argument
31 gfn_to_pfn_cache_invalidate_start(struct kvm * kvm,unsigned long start,unsigned long end) gfn_to_pfn_cache_invalidate_start() argument
50 kvm_gmem_bind(struct kvm * kvm,struct kvm_memory_slot * slot,unsigned int fd,loff_t offset) kvm_gmem_bind() argument
[all...]
H A Dkvm_main.c159 __weak void kvm_arch_guest_memory_reclaimed(struct kvm *kvm) in kvm_arch_guest_memory_reclaimed()
246 bool kvm_make_vcpus_request_mask(struct kvm *kvm, unsigned int req, in kvm_make_vcpus_request_mask()
272 bool kvm_make_all_cpus_request(struct kvm *kvm, unsigned int req) in kvm_make_all_cpus_request()
295 void kvm_flush_remote_tlbs(struct kvm *kvm) in kvm_flush_remote_tlbs()
316 void kvm_flush_remote_tlbs_range(struct kvm *kvm, gfn_t gfn, u64 nr_pages) in kvm_flush_remote_tlbs_range()
329 void kvm_flush_remote_tlbs_memslot(struct kvm *kvm, in kvm_flush_remote_tlbs_memslot()
343 static void kvm_flush_shadow_all(struct kvm *kvm) in kvm_flush_shadow_all()
443 static void kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) in kvm_vcpu_init()
484 void kvm_destroy_vcpus(struct kvm *kvm) in kvm_destroy_vcpus()
554 static __always_inline kvm_mn_ret_t __kvm_handle_hva_range(struct kvm *kvm, in __kvm_handle_hva_range()
[all …]
H A Dirqchip.c21 int kvm_irq_map_gsi(struct kvm *kvm, in kvm_irq_map_gsi()
40 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin()
48 int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi) in kvm_send_userspace_msi()
70 int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, in kvm_set_irq()
119 void kvm_free_irq_routing(struct kvm *kvm) in kvm_free_irq_routing()
127 static int setup_routing_entry(struct kvm *kvm, in setup_routing_entry()
159 void __attribute__((weak)) kvm_arch_irq_routing_update(struct kvm *kvm) in kvm_arch_irq_routing_update()
163 bool __weak kvm_arch_can_set_irq_routing(struct kvm *kvm) in kvm_arch_can_set_irq_routing()
168 int kvm_set_irq_routing(struct kvm *kvm, in kvm_set_irq_routing()
246 int kvm_init_irq_routing(struct kvm *kvm) in kvm_init_irq_routing()
H A Dguest_memfd.c11 struct kvm *kvm; member
28 static int __kvm_gmem_prepare_folio(struct kvm *kvm, struct kvm_memory_slot *slot, in __kvm_gmem_prepare_folio() argument
56 static int kvm_gmem_prepare_folio(struct kvm *kvm, struct kvm_memory_slot *slot, in kvm_gmem_prepare_folio() argument
110 struct kvm *kvm in kvm_gmem_invalidate_begin() local
143 struct kvm *kvm = gmem->kvm; kvm_gmem_invalidate_end() local
253 struct kvm *kvm = gmem->kvm; kvm_gmem_release() local
395 __kvm_gmem_create(struct kvm * kvm,loff_t size,u64 flags) __kvm_gmem_create() argument
450 kvm_gmem_create(struct kvm * kvm,struct kvm_create_guest_memfd * args) kvm_gmem_create() argument
465 kvm_gmem_bind(struct kvm * kvm,struct kvm_memory_slot * slot,unsigned int fd,loff_t offset) kvm_gmem_bind() argument
592 kvm_gmem_get_pfn(struct kvm * kvm,struct kvm_memory_slot * slot,gfn_t gfn,kvm_pfn_t * pfn,int * max_order) kvm_gmem_get_pfn() argument
623 kvm_gmem_populate(struct kvm * kvm,gfn_t start_gfn,void __user * src,long npages,kvm_gmem_populate_cb post_populate,void * opaque) kvm_gmem_populate() argument
[all...]
/linux/arch/riscv/kvm/
H A Dvm.c30 int kvm_arch_init_vm(struct kvm *kvm, unsigned long type) in kvm_arch_init_vm()
51 void kvm_arch_destroy_vm(struct kvm *kvm) in kvm_arch_destroy_vm()
58 int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irql, in kvm_vm_ioctl_irq_line()
68 struct kvm *kvm, int irq_source_id, in kvm_set_msi()
86 struct kvm *kvm, int irq_source_id, in kvm_riscv_set_irq()
92 int kvm_riscv_setup_default_irq_routing(struct kvm *kvm, u32 lines) in kvm_riscv_setup_default_irq_routing()
113 bool kvm_arch_can_set_irq_routing(struct kvm *kvm) in kvm_arch_can_set_irq_routing()
118 int kvm_set_routing_entry(struct kvm *kvm, in kvm_set_routing_entry()
150 struct kvm *kvm, int irq_source_id, int level, in kvm_arch_set_irq_inatomic()
168 bool kvm_arch_irqchip_in_kernel(struct kvm *kvm) in kvm_arch_irqchip_in_kernel()
[all …]
H A Daia_device.c15 static void unlock_vcpus(struct kvm *kvm, int vcpu_lock_idx) in unlock_vcpus()
25 static void unlock_all_vcpus(struct kvm *kvm) in unlock_all_vcpus()
30 static bool lock_all_vcpus(struct kvm *kvm) in lock_all_vcpus()
49 struct kvm *kvm = dev->kvm; in aia_create() local
77 static int aia_config(struct kvm *kvm, unsigned long type, in aia_config()
171 static int aia_aplic_addr(struct kvm *kvm, u64 *addr, bool write) in aia_aplic_addr()
190 static int aia_imsic_addr(struct kvm *kvm, u64 *addr, in aia_imsic_addr()
252 static int aia_init(struct kvm *kvm) in aia_init()
575 int kvm_riscv_aia_inject_msi_by_id(struct kvm *kvm, u32 hart_index, in kvm_riscv_aia_inject_msi_by_id()
596 int kvm_riscv_aia_inject_msi(struct kvm *kvm, struct kvm_msi *msi) in kvm_riscv_aia_inject_msi()
[all …]
/linux/arch/s390/kvm/
H A Dpv.c21 bool kvm_s390_pv_is_protected(struct kvm *kvm) in kvm_s390_pv_is_protected()
58 static void kvm_s390_clear_pv_state(struct kvm *kvm) in kvm_s390_clear_pv_state()
157 static void kvm_s390_pv_dealloc_vm(struct kvm *kvm) in kvm_s390_pv_dealloc_vm()
165 static int kvm_s390_pv_alloc_vm(struct kvm *kvm) in kvm_s390_pv_alloc_vm()
214 static int kvm_s390_pv_dispose_one_leftover(struct kvm *kvm, in kvm_s390_pv_dispose_one_leftover()
249 static void kvm_s390_destroy_lower_2g(struct kvm *kvm) in kvm_s390_destroy_lower_2g()
271 static int kvm_s390_pv_deinit_vm_fast(struct kvm *kvm, u16 *rc, u16 *rrc) in kvm_s390_pv_deinit_vm_fast()
320 int kvm_s390_pv_set_aside(struct kvm *kvm, u16 *rc, u16 *rrc) in kvm_s390_pv_set_aside()
386 int kvm_s390_pv_deinit_vm(struct kvm *kvm, u16 *rc, u16 *rrc) in kvm_s390_pv_deinit_vm()
422 int kvm_s390_pv_deinit_cleanup_all(struct kvm *kvm, u16 *rc, u16 *rrc) in kvm_s390_pv_deinit_cleanup_all()
[all …]
H A Dkvm-s390.h104 static inline int kvm_is_ucontrol(struct kvm *kvm) in kvm_is_ucontrol()
216 static inline int test_kvm_facility(struct kvm *kvm, unsigned long nr) in test_kvm_facility()
233 static inline int test_kvm_cpu_feat(struct kvm *kvm, unsigned long nr) in test_kvm_cpu_feat()
240 static inline int kvm_s390_user_cpu_state_ctrl(struct kvm *kvm) in kvm_s390_user_cpu_state_ctrl()
245 static inline void kvm_s390_set_user_cpu_state_ctrl(struct kvm *kvm) in kvm_s390_set_user_cpu_state_ctrl()
268 static inline u32 kvm_s390_get_gisa_desc(struct kvm *kvm) in kvm_s390_get_gisa_desc()
301 static inline u64 kvm_s390_pv_get_handle(struct kvm *kvm) in kvm_s390_pv_get_handle()
415 static inline void kvm_s390_vcpu_block_all(struct kvm *kvm) in kvm_s390_vcpu_block_all()
425 static inline void kvm_s390_vcpu_unblock_all(struct kvm *kvm) in kvm_s390_vcpu_unblock_all()
434 static inline u64 kvm_s390_get_tod_clock_fast(struct kvm *kvm) in kvm_s390_get_tod_clock_fast()
[all …]
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c76 static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid, in vgic_add_lpi()
313 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, in update_lpi_config()
374 static struct kvm_vcpu *collection_to_vcpu(struct kvm *kvm, in collection_to_vcpu()
386 static void update_affinity_ite(struct kvm *kvm, struct its_ite *ite) in update_affinity_ite()
401 static void update_affinity_collection(struct kvm *kvm, struct vgic_its *its, in update_affinity_collection()
471 static unsigned long vgic_mmio_read_its_typer(struct kvm *kvm, in vgic_mmio_read_its_typer()
493 static unsigned long vgic_mmio_read_its_iidr(struct kvm *kvm, in vgic_mmio_read_its_iidr()
504 static int vgic_mmio_uaccess_write_its_iidr(struct kvm *kvm, in vgic_mmio_uaccess_write_its_iidr()
516 static unsigned long vgic_mmio_read_its_idregs(struct kvm *kvm, in vgic_mmio_read_its_idregs()
543 static struct vgic_its *__vgic_doorbell_to_its(struct kvm *kvm, gpa_t db) in __vgic_doorbell_to_its()
[all …]
H A Dvgic-debug.c35 static void iter_next(struct kvm *kvm, struct vgic_state_iter *iter) in iter_next()
64 static int iter_mark_lpis(struct kvm *kvm) in iter_mark_lpis()
82 static void iter_unmark_lpis(struct kvm *kvm) in iter_unmark_lpis()
94 static void iter_init(struct kvm *kvm, struct vgic_state_iter *iter, in iter_init()
121 struct kvm *kvm = s->private; in vgic_debug_start() local
149 struct kvm *kvm = s->private; in vgic_debug_next() local
161 struct kvm *kvm = s->private; in vgic_debug_stop() local
269 struct kvm *kvm = s->private; in vgic_debug_show() local
314 void vgic_debug_init(struct kvm *kvm) in vgic_debug_init()
320 void vgic_debug_destroy(struct kvm *kvm) in vgic_debug_destroy()
H A Dvgic-init.c52 void kvm_vgic_early_init(struct kvm *kvm) in kvm_vgic_early_init()
69 int kvm_vgic_create(struct kvm *kvm, u32 type) in kvm_vgic_create()
138 static int kvm_vgic_dist_init(struct kvm *kvm, unsigned int nr_spis) in kvm_vgic_dist_init()
294 int vgic_init(struct kvm *kvm) in vgic_init()
379 static void kvm_vgic_dist_destroy(struct kvm *kvm) in kvm_vgic_dist_destroy()
446 struct kvm *kvm = vcpu->kvm; in kvm_vgic_vcpu_destroy() local
453 void kvm_vgic_destroy(struct kvm *kvm) in kvm_vgic_destroy()
483 int vgic_lazy_init(struct kvm *kvm) in vgic_lazy_init()
518 int kvm_vgic_map_resources(struct kvm *kvm) in kvm_vgic_map_resources()
H A Dvgic-irqfd.c19 struct kvm *kvm, int irq_source_id, in vgic_irqfd_set_irq()
38 int kvm_set_routing_entry(struct kvm *kvm, in kvm_set_routing_entry()
87 struct kvm *kvm, int irq_source_id, in kvm_set_msi()
106 struct kvm *kvm, int irq_source_id, int level, in kvm_arch_set_irq_inatomic()
136 int kvm_vgic_setup_default_irq_routing(struct kvm *kvm) in kvm_vgic_setup_default_irq_routing()
/linux/tools/perf/
H A Dbuiltin-kvm.c582 static void kvm_display(struct perf_kvm_stat *kvm) in kvm_display() argument
592 static void kvm_display(struct perf_kvm_stat *kvm) in kvm_display() argument
654 static const char *get_exit_reason(struct perf_kvm_stat *kvm, in get_exit_reason() argument
669 exit_event_decode_key(struct perf_kvm_stat * kvm,struct event_key * key,char * decode) exit_event_decode_key() argument
679 register_kvm_events_ops(struct perf_kvm_stat * kvm) register_kvm_events_ops() argument
781 find_create_kvm_event(struct perf_kvm_stat * kvm,struct event_key * key,struct perf_sample * sample) find_create_kvm_event() argument
815 handle_begin_event(struct perf_kvm_stat * kvm,struct vcpu_event_record * vcpu_record,struct event_key * key,struct perf_sample * sample) handle_begin_event() argument
848 update_kvm_event(struct perf_kvm_stat * kvm,struct kvm_event * event,int vcpu_id,u64 time_diff) update_kvm_event() argument
868 is_child_event(struct perf_kvm_stat * kvm,struct evsel * evsel,struct perf_sample * sample,struct event_key * key) is_child_event() argument
890 handle_child_event(struct perf_kvm_stat * kvm,struct vcpu_event_record * vcpu_record,struct event_key * key,struct perf_sample * sample) handle_child_event() argument
916 handle_end_event(struct perf_kvm_stat * kvm,struct vcpu_event_record * vcpu_record,struct event_key * key,struct perf_sample * sample) handle_end_event() argument
999 handle_kvm_event(struct perf_kvm_stat * kvm,struct thread * thread,struct evsel * evsel,struct perf_sample * sample) handle_kvm_event() argument
1029 is_valid_key(struct perf_kvm_stat * kvm) is_valid_key() argument
1063 sort_result(struct perf_kvm_stat * kvm) sort_result() argument
1076 print_vcpu_info(struct perf_kvm_stat * kvm) print_vcpu_info() argument
1111 print_result(struct perf_kvm_stat * kvm) print_result() argument
1174 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool); process_lost_event() local
1181 skip_sample(struct perf_kvm_stat * kvm,struct perf_sample * sample) skip_sample() argument
1198 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, process_sample_event() local
1223 cpu_isa_config(struct perf_kvm_stat * kvm) cpu_isa_config() argument
1267 perf_kvm__mmap_read_idx(struct perf_kvm_stat * kvm,int idx,u64 * mmap_time) perf_kvm__mmap_read_idx() argument
1317 perf_kvm__mmap_read(struct perf_kvm_stat * kvm) perf_kvm__mmap_read() argument
1367 perf_kvm__timerfd_create(struct perf_kvm_stat * kvm) perf_kvm__timerfd_create() argument
1394 perf_kvm__handle_timerfd(struct perf_kvm_stat * kvm) perf_kvm__handle_timerfd() argument
1461 kvm_events_live_report(struct perf_kvm_stat * kvm) kvm_events_live_report() argument
1541 kvm_live_open_events(struct perf_kvm_stat * kvm) kvm_live_open_events() argument
1602 read_events(struct perf_kvm_stat * kvm) read_events() argument
1645 parse_target_str(struct perf_kvm_stat * kvm) parse_target_str() argument
1658 kvm_events_report_vcpu(struct perf_kvm_stat * kvm) kvm_events_report_vcpu() argument
1712 kvm_events_record(struct perf_kvm_stat * kvm,int argc,const char ** argv) kvm_events_record() argument
1785 kvm_events_report(struct perf_kvm_stat * kvm,int argc,const char ** argv) kvm_events_report() argument
1877 kvm_events_live(struct perf_kvm_stat * kvm,int argc,const char ** argv) kvm_events_live() argument
2023 struct perf_kvm_stat kvm = { kvm_cmd_stat() local
[all...]
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c32 static int global_invalidates(struct kvm *kvm) in global_invalidates()
68 void kvmppc_add_revmap_chain(struct kvm *kvm, struct revmap_entry *rev, in kvmppc_add_revmap_chain()
109 static void kvmppc_set_dirty_from_hpte(struct kvm *kvm, in kvmppc_set_dirty_from_hpte()
124 static unsigned long *revmap_for_hpte(struct kvm *kvm, unsigned long hpte_v, in revmap_for_hpte()
147 static void remove_revmap_chain(struct kvm *kvm, long pte_index, in remove_revmap_chain()
184 long kvmppc_do_h_enter(struct kvm *kvm, unsigned long flags, in kvmppc_do_h_enter()
454 static void do_tlbies(struct kvm *kvm, unsigned long *rbvalues, in do_tlbies()
485 long kvmppc_do_h_remove(struct kvm *kvm, unsigned long flags, in kvmppc_do_h_remove()
557 struct kvm *kvm = vcpu->kvm; in kvmppc_h_bulk_remove() local
677 struct kvm *kvm = vcpu->kvm; in kvmppc_h_protect() local
[all …]
H A Dbook3s_hv_p9_entry.c301 static void switch_mmu_to_guest_radix(struct kvm *kvm, struct kvm_vcpu *vcpu, u64 lpcr) in switch_mmu_to_guest_radix()
326 static void switch_mmu_to_guest_hpt(struct kvm *kvm, struct kvm_vcpu *vcpu, u64 lpcr) in switch_mmu_to_guest_hpt()
353 static void switch_mmu_to_host(struct kvm *kvm, u32 pid) in switch_mmu_to_host()
378 static void save_clear_host_mmu(struct kvm *kvm) in save_clear_host_mmu()
391 static void save_clear_guest_mmu(struct kvm *kvm, struct kvm_vcpu *vcpu) in save_clear_guest_mmu()
419 static void flush_guest_tlb(struct kvm *kvm) in flush_guest_tlb()
453 static void check_need_tlb_flush(struct kvm *kvm, int pcpu, in check_need_tlb_flush()
535 struct kvm *kvm = vcpu->kvm; in kvmhv_vcpu_entry_p9() local
/linux/arch/arm64/kvm/
H A Dnested.c30 void kvm_init_nested(struct kvm *kvm) in kvm_init_nested()
36 static int init_nested_s2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu) in init_nested_s2_mmu()
53 struct kvm *kvm = vcpu->kvm; in kvm_vcpu_init_nested() local
483 struct kvm *kvm = kvm_s2_mmu_to_kvm(mmu); in compute_tlb_inval_range() local
536 void kvm_s2_mmu_iterate_by_vmid(struct kvm *kvm, u16 vmid, in kvm_s2_mmu_iterate_by_vmid()
558 struct kvm *kvm = vcpu->kvm; in lookup_s2_mmu() local
607 struct kvm *kvm = vcpu->kvm; in get_s2_mmu_nested() local
744 void kvm_nested_s2_wp(struct kvm *kvm) in kvm_nested_s2_wp()
758 void kvm_nested_s2_unmap(struct kvm *kvm, bool may_block) in kvm_nested_s2_unmap()
772 void kvm_nested_s2_flush(struct kvm *kvm) in kvm_nested_s2_flush()
[all …]
H A Dptdump.c21 struct kvm *kvm; member
96 static struct kvm_ptdump_guest_state *kvm_ptdump_parser_create(struct kvm *kvm) in kvm_ptdump_parser_create()
133 struct kvm *kvm = st->kvm; in kvm_ptdump_guest_show() local
153 struct kvm *kvm = m->i_private; in kvm_ptdump_guest_open() local
178 struct kvm *kvm = m->i_private; in kvm_ptdump_guest_close() local
213 struct kvm *kvm = m->i_private; in kvm_pgtable_debugfs_open() local
240 struct kvm *kvm = m->i_private; in kvm_pgtable_debugfs_close() local
260 void kvm_s2_ptdump_create_debugfs(struct kvm *kvm) in kvm_s2_ptdump_create_debugfs()

12345