/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | irq_comm.c | 31 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() 128 static inline bool kvm_msi_route_invalid(struct kvm *kvm, in kvm_msi_route_invalid() 135 struct kvm *kvm, int irq_source_id, int level, bool line_status) in kvm_set_msi() 152 struct kvm *kvm, int irq_source_id, int level, in kvm_hv_set_sint() 162 struct kvm *kvm, int irq_source_id, int level, in kvm_arch_set_irq_inatomic() 190 int kvm_request_irq_source_id(struct kvm *kvm) in kvm_request_irq_source_id() 213 void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id) in kvm_free_irq_source_id() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kvm_book3s_uvmem.h | 44 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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | kvm_host.h | 264 struct kvm *kvm; member 447 struct kvm { struct 451 struct kvm_memslots __rcu *memslots[KVM_ADDRESS_SPACE_NUM]; argument 452 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; argument 455 * created_vcpus is protected by kvm->lock, and is incremented argument 465 struct kvm_io_bus __rcu *buses[KVM_NR_BUSES]; argument 475 struct kvm_vm_stat stat; argument 476 struct kvm_arch arch; argument 479 struct kvm_coalesced_mmio_ring *coalesced_mmio_ring; argument 489 struct kvm_irq_routing_table __rcu *irq_routing; argument [all …]
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | eventfd.c | 36 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 67 struct kvm *kvm; in irqfd_resampler_ack() local 90 struct kvm *kvm = resampler->kvm; in irqfd_resampler_shutdown() local 116 struct kvm *kvm = irqfd->kvm; in irqfd_shutdown() local 174 struct kvm *kvm, int irq_source_id, in kvm_arch_set_irq_inatomic() 191 struct kvm *kvm = irqfd->kvm; in irqfd_wakeup() local 243 static void irqfd_update(struct kvm *kvm, struct kvm_kernel_irqfd *irqfd) in irqfd_update() 274 struct kvm *kvm, unsigned int host_irq, in kvm_arch_update_irqfd_routing() 282 kvm_irqfd_assign(struct kvm *kvm, struct kvm_irqfd *args) in kvm_irqfd_assign() [all …]
|
D | irqchip.c | 22 int kvm_irq_map_gsi(struct kvm *kvm, in kvm_irq_map_gsi() 41 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin() 49 int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi) in kvm_send_userspace_msi() 71 int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, in kvm_set_irq() 120 void kvm_free_irq_routing(struct kvm *kvm) in kvm_free_irq_routing() 128 static int setup_routing_entry(struct kvm *kvm, in setup_routing_entry() 160 void __attribute__((weak)) kvm_arch_irq_routing_update(struct kvm *kvm) in kvm_arch_irq_routing_update() 164 bool __weak kvm_arch_can_set_irq_routing(struct kvm *kvm) in kvm_arch_can_set_irq_routing() 169 int kvm_set_irq_routing(struct kvm *kvm, in kvm_set_irq_routing()
|
D | kvm_main.c | 157 __weak void kvm_arch_mmu_notifier_invalidate_range(struct kvm *kvm, in kvm_arch_mmu_notifier_invalidate_range() 162 __weak void kvm_arch_guest_memory_reclaimed(struct kvm *kvm) in kvm_arch_guest_memory_reclaimed() 263 bool kvm_make_vcpus_request_mask(struct kvm *kvm, unsigned int req, in kvm_make_vcpus_request_mask() 295 bool kvm_make_all_cpus_request_except(struct kvm *kvm, unsigned int req, in kvm_make_all_cpus_request_except() 309 bool kvm_make_all_cpus_request(struct kvm *kvm, unsigned int req) in kvm_make_all_cpus_request() 315 void kvm_flush_remote_tlbs(struct kvm *kvm) in kvm_flush_remote_tlbs() 342 void kvm_reload_remote_mmus(struct kvm *kvm) in kvm_reload_remote_mmus() 347 static void kvm_flush_shadow_all(struct kvm *kvm) in kvm_flush_shadow_all() 408 static void kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) in kvm_vcpu_init() 454 struct kvm *kvm = mmu_notifier_to_kvm(mn); in kvm_mmu_notifier_invalidate_range() local [all …]
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 25 void kvm_mmu_init_tdp_mmu(struct kvm *kvm) in kvm_mmu_init_tdp_mmu() 37 void kvm_mmu_uninit_tdp_mmu(struct kvm *kvm) in kvm_mmu_uninit_tdp_mmu() 45 static void tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root) in tdp_mmu_put_root() 51 static inline bool tdp_mmu_next_root_valid(struct kvm *kvm, in tdp_mmu_next_root_valid() 64 static inline struct kvm_mmu_page *tdp_mmu_next_root(struct kvm *kvm, in tdp_mmu_next_root() 89 bool is_tdp_mmu_root(struct kvm *kvm, hpa_t hpa) in is_tdp_mmu_root() 108 void kvm_tdp_mmu_free_root(struct kvm *kvm, struct kvm_mmu_page *root) in kvm_tdp_mmu_free_root() 158 struct kvm *kvm = vcpu->kvm; in get_tdp_mmu_vcpu_root() local 215 static void handle_changed_spte_dirty_log(struct kvm *kvm, int as_id, gfn_t gfn, in handle_changed_spte_dirty_log() 245 static void __handle_changed_spte(struct kvm *kvm, int as_id, gfn_t gfn, in __handle_changed_spte() [all …]
|
D | page_track.c | 86 void kvm_slot_page_track_add_page(struct kvm *kvm, in kvm_slot_page_track_add_page() 121 void kvm_slot_page_track_remove_page(struct kvm *kvm, in kvm_slot_page_track_remove_page() 158 void kvm_page_track_cleanup(struct kvm *kvm) in kvm_page_track_cleanup() 166 int kvm_page_track_init(struct kvm *kvm) in kvm_page_track_init() 180 kvm_page_track_register_notifier(struct kvm *kvm, in kvm_page_track_register_notifier() 198 kvm_page_track_unregister_notifier(struct kvm *kvm, in kvm_page_track_unregister_notifier() 246 void kvm_page_track_flush_slot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_page_track_flush_slot()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 231 struct kvm *kvm; member 246 int kvmppc_uvmem_slot_init(struct kvm *kvm, const struct kvm_memory_slot *slot) in kvmppc_uvmem_slot_init() 271 void kvmppc_uvmem_slot_free(struct kvm *kvm, const struct kvm_memory_slot *slot) in kvmppc_uvmem_slot_free() 287 static void kvmppc_mark_gfn(unsigned long gfn, struct kvm *kvm, in kvmppc_mark_gfn() 307 unsigned long uvmem_pfn, struct kvm *kvm) in kvmppc_gfn_secure_uvmem_pfn() 313 static void kvmppc_gfn_secure_mem_pfn(unsigned long gfn, struct kvm *kvm) in kvmppc_gfn_secure_mem_pfn() 319 static void kvmppc_gfn_shared(unsigned long gfn, struct kvm *kvm) in kvmppc_gfn_shared() 325 static void kvmppc_gfn_remove(unsigned long gfn, struct kvm *kvm) in kvmppc_gfn_remove() 331 static bool kvmppc_gfn_is_uvmem_pfn(unsigned long gfn, struct kvm *kvm, in kvmppc_gfn_is_uvmem_pfn() 360 struct kvm *kvm, unsigned long *gfn) in kvmppc_next_nontransitioned_gfn() [all …]
|
D | book3s_64_mmu_radix.c | 134 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_walk_radix_tree() local 229 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_radix_translate_table() local 302 void kvmppc_radix_tlbie_page(struct kvm *kvm, unsigned long addr, in kvmppc_radix_tlbie_page() 330 static void kvmppc_radix_flush_pwc(struct kvm *kvm, unsigned int lpid) in kvmppc_radix_flush_pwc() 345 static unsigned long kvmppc_radix_update_pte(struct kvm *kvm, pte_t *ptep, in kvmppc_radix_update_pte() 352 static void kvmppc_radix_set_pte_at(struct kvm *kvm, unsigned long addr, in kvmppc_radix_set_pte_at() 394 void kvmppc_unmap_pte(struct kvm *kvm, pte_t *pte, unsigned long gpa, in kvmppc_unmap_pte() 447 static void kvmppc_unmap_free_pte(struct kvm *kvm, pte_t *pte, bool full, in kvmppc_unmap_free_pte() 468 static void kvmppc_unmap_free_pmd(struct kvm *kvm, pmd_t *pmd, bool full, in kvmppc_unmap_free_pmd() 497 static void kvmppc_unmap_free_pud(struct kvm *kvm, pud_t *pud, in kvmppc_unmap_free_pud() [all …]
|
D | book3s_64_mmu_hv.c | 51 struct kvm *kvm; member 116 void kvmppc_set_hpt(struct kvm *kvm, struct kvm_hpt_info *info) in kvmppc_set_hpt() 126 long kvmppc_alloc_reset_hpt(struct kvm *kvm, int order) in kvmppc_alloc_reset_hpt() 215 struct kvm *kvm = vcpu->kvm; in kvmppc_map_vrma() local 282 static long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags, in kvmppc_virtmode_do_h_enter() 334 struct kvm *kvm = vcpu->kvm; in kvmppc_mmu_book3s_64_hv_xlate() local 485 struct kvm *kvm = vcpu->kvm; in kvmppc_book3s_hv_page_fault() local 732 void kvmppc_rmap_reset(struct kvm *kvm) in kvmppc_rmap_reset() 757 static int kvm_handle_hva_range(struct kvm *kvm, in kvm_handle_hva_range() 793 static int kvm_handle_hva(struct kvm *kvm, unsigned long hva, in kvm_handle_hva() [all …]
|
D | book3s_hv_nested.c | 454 void kvmhv_vm_nested_init(struct kvm *kvm) in kvmhv_vm_nested_init() 466 struct kvm *kvm = vcpu->kvm; in kvmhv_set_partition_table() local 573 struct kvm *kvm = gp->l1_host; in kvmhv_update_ptbl_cache() local 593 static struct kvm_nested_guest *kvmhv_alloc_nested(struct kvm *kvm, unsigned int lpid) in kvmhv_alloc_nested() 629 struct kvm *kvm = gp->l1_host; in kvmhv_release_nested() local 648 struct kvm *kvm = gp->l1_host; in kvmhv_remove_nested() local 674 void kvmhv_release_all_nested(struct kvm *kvm) in kvmhv_release_all_nested() 709 struct kvm *kvm = gp->l1_host; in kvmhv_flush_nested() local 720 struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid, in kvmhv_get_nested() 764 struct kvm *kvm = gp->l1_host; in kvmhv_put_nested() local [all …]
|
D | book3s_hv_rm_mmu.c | 43 static int global_invalidates(struct kvm *kvm) in global_invalidates() 81 void kvmppc_add_revmap_chain(struct kvm *kvm, struct revmap_entry *rev, in kvmppc_add_revmap_chain() 122 static void kvmppc_set_dirty_from_hpte(struct kvm *kvm, in kvmppc_set_dirty_from_hpte() 137 static unsigned long *revmap_for_hpte(struct kvm *kvm, unsigned long hpte_v, in revmap_for_hpte() 160 static void remove_revmap_chain(struct kvm *kvm, long pte_index, in remove_revmap_chain() 197 long kvmppc_do_h_enter(struct kvm *kvm, unsigned long flags, in kvmppc_do_h_enter() 457 static void do_tlbies(struct kvm *kvm, unsigned long *rbvalues, in do_tlbies() 488 long kvmppc_do_h_remove(struct kvm *kvm, unsigned long flags, in kvmppc_do_h_remove() 559 struct kvm *kvm = vcpu->kvm; in kvmppc_h_bulk_remove() local 679 struct kvm *kvm = vcpu->kvm; in kvmppc_h_protect() local [all …]
|
D | book3s.c | 799 void kvm_arch_sync_dirty_log(struct kvm *kvm, struct kvm_memory_slot *memslot) in kvm_arch_sync_dirty_log() 804 int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log) in kvm_vm_ioctl_get_dirty_log() 809 void kvmppc_core_free_memslot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvmppc_core_free_memslot() 814 void kvmppc_core_flush_memslot(struct kvm *kvm, struct kvm_memory_slot *memslot) in kvmppc_core_flush_memslot() 819 int kvmppc_core_prepare_memory_region(struct kvm *kvm, in kvmppc_core_prepare_memory_region() 828 void kvmppc_core_commit_memory_region(struct kvm *kvm, in kvmppc_core_commit_memory_region() 837 int kvm_unmap_hva_range(struct kvm *kvm, unsigned long start, unsigned long end, in kvm_unmap_hva_range() 843 int kvm_age_hva(struct kvm *kvm, unsigned long start, unsigned long end) in kvm_age_hva() 848 int kvm_test_age_hva(struct kvm *kvm, unsigned long hva) in kvm_test_age_hva() 853 int kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte) in kvm_set_spte_hva() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | stage2_pgtable.h | 31 #define kvm_stage2_levels(kvm) VTCR_EL2_LVLS(kvm->arch.vtcr) argument 34 #define stage2_pgdir_shift(kvm) pt_levels_pgdir_shift(kvm_stage2_levels(kvm)) argument 35 #define stage2_pgdir_size(kvm) (1ULL << stage2_pgdir_shift(kvm)) argument 36 #define stage2_pgdir_mask(kvm) ~(stage2_pgdir_size(kvm) - 1) argument 43 #define kvm_mmu_cache_min_pages(kvm) (kvm_stage2_levels(kvm) - 1) argument 46 stage2_pgd_addr_end(struct kvm *kvm, phys_addr_t addr, phys_addr_t end) in stage2_pgd_addr_end()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | mmu.c | 42 static int stage2_apply_range(struct kvm *kvm, phys_addr_t addr, in stage2_apply_range() 67 #define stage2_apply_range_resched(kvm, addr, end, fn) \ argument 81 void kvm_flush_remote_tlbs(struct kvm *kvm) in kvm_flush_remote_tlbs() 130 struct kvm *kvm = mmu->kvm; in __unmap_stage2_range() local 144 static void stage2_flush_memslot(struct kvm *kvm, in stage2_flush_memslot() 160 static void stage2_flush_vm(struct kvm *kvm) in stage2_flush_vm() 363 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu) in kvm_init_stage2_mmu() 403 static void stage2_unmap_memslot(struct kvm *kvm, in stage2_unmap_memslot() 451 void stage2_unmap_vm(struct kvm *kvm) in stage2_unmap_vm() 472 struct kvm *kvm = mmu->kvm; in kvm_free_stage2_pgd() local [all …]
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-kvm.c | 103 static const char *get_exit_reason(struct perf_kvm_stat *kvm, in get_exit_reason() 118 void exit_event_decode_key(struct perf_kvm_stat *kvm, in exit_event_decode_key() 128 static bool register_kvm_events_ops(struct perf_kvm_stat *kvm) in register_kvm_events_ops() 149 static void init_kvm_event_record(struct perf_kvm_stat *kvm) in init_kvm_event_record() 226 static struct kvm_event *find_create_kvm_event(struct perf_kvm_stat *kvm, in find_create_kvm_event() 248 static bool handle_begin_event(struct perf_kvm_stat *kvm, in handle_begin_event() 295 static bool is_child_event(struct perf_kvm_stat *kvm, in is_child_event() 317 static bool handle_child_event(struct perf_kvm_stat *kvm, in handle_child_event() 343 static bool handle_end_event(struct perf_kvm_stat *kvm, in handle_end_event() 426 static bool handle_kvm_event(struct perf_kvm_stat *kvm, in handle_kvm_event() [all …]
|
/kernel/linux/linux-5.10/arch/s390/kvm/ |
D | kvm-s390.c | 278 struct kvm *kvm; in kvm_clock_sync() local 515 int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) in kvm_vm_ioctl_check_extension() 592 void kvm_arch_sync_dirty_log(struct kvm *kvm, struct kvm_memory_slot *memslot) in kvm_arch_sync_dirty_log() 628 int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, in kvm_vm_ioctl_get_dirty_log() 660 static void icpt_operexc_on_all_vcpus(struct kvm *kvm) in icpt_operexc_on_all_vcpus() 670 int kvm_vm_ioctl_enable_cap(struct kvm *kvm, struct kvm_enable_cap *cap) in kvm_vm_ioctl_enable_cap() 800 static int kvm_s390_get_mem_control(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_get_mem_control() 819 static int kvm_s390_set_mem_control(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_mem_control() 909 void kvm_s390_vcpu_crypto_reset_all(struct kvm *kvm) in kvm_s390_vcpu_crypto_reset_all() 925 static int kvm_s390_vm_set_crypto(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_vm_set_crypto() [all …]
|
D | pv.c | 106 static void kvm_s390_pv_dealloc_vm(struct kvm *kvm) in kvm_s390_pv_dealloc_vm() 114 static int kvm_s390_pv_alloc_vm(struct kvm *kvm) in kvm_s390_pv_alloc_vm() 153 int kvm_s390_pv_deinit_vm(struct kvm *kvm, u16 *rc, u16 *rrc) in kvm_s390_pv_deinit_vm() 175 int kvm_s390_pv_init_vm(struct kvm *kvm, u16 *rc, u16 *rrc) in kvm_s390_pv_init_vm() 216 int kvm_s390_pv_set_sec_parms(struct kvm *kvm, void *hdr, u64 length, u16 *rc, in kvm_s390_pv_set_sec_parms() 237 static int unpack_one(struct kvm *kvm, unsigned long addr, u64 tweak, in unpack_one() 259 int kvm_s390_pv_unpack(struct kvm *kvm, unsigned long addr, unsigned long size, in kvm_s390_pv_unpack()
|
D | kvm-s390.h | 85 static inline int kvm_is_ucontrol(struct kvm *kvm) in kvm_is_ucontrol() 182 static inline int test_kvm_facility(struct kvm *kvm, unsigned long nr) in test_kvm_facility() 199 static inline int test_kvm_cpu_feat(struct kvm *kvm, unsigned long nr) in test_kvm_cpu_feat() 206 static inline int kvm_s390_user_cpu_state_ctrl(struct kvm *kvm) in kvm_s390_user_cpu_state_ctrl() 222 static inline u64 kvm_s390_pv_get_handle(struct kvm *kvm) in kvm_s390_pv_get_handle() 232 static inline bool kvm_s390_pv_is_protected(struct kvm *kvm) in kvm_s390_pv_is_protected() 348 static inline void kvm_s390_vcpu_block_all(struct kvm *kvm) in kvm_s390_vcpu_block_all() 358 static inline void kvm_s390_vcpu_unblock_all(struct kvm *kvm) in kvm_s390_vcpu_unblock_all() 367 static inline u64 kvm_s390_get_tod_clock_fast(struct kvm *kvm) in kvm_s390_get_tod_clock_fast() 444 static inline union ipte_control *kvm_s390_get_ipte_control(struct kvm *kvm) in kvm_s390_get_ipte_control()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
D | vgic-init.c | 52 void kvm_vgic_early_init(struct kvm *kvm) in kvm_vgic_early_init() 71 int kvm_vgic_create(struct kvm *kvm, u32 type) in kvm_vgic_create() 131 static int kvm_vgic_dist_init(struct kvm *kvm, unsigned int nr_spis) in kvm_vgic_dist_init() 254 int vgic_init(struct kvm *kvm) in vgic_init() 327 static void kvm_vgic_dist_destroy(struct kvm *kvm) in kvm_vgic_dist_destroy() 368 static void __kvm_vgic_destroy(struct kvm *kvm) in __kvm_vgic_destroy() 381 void kvm_vgic_destroy(struct kvm *kvm) in kvm_vgic_destroy() 394 int vgic_lazy_init(struct kvm *kvm) in vgic_lazy_init() 426 int kvm_vgic_map_resources(struct kvm *kvm) in kvm_vgic_map_resources()
|
D | vgic-its.c | 39 static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid, in vgic_add_lpi() 280 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, in update_lpi_config() 319 int vgic_copy_lpi_list(struct kvm *kvm, struct kvm_vcpu *vcpu, u32 **intid_ptr) in vgic_copy_lpi_list() 387 static void update_affinity_ite(struct kvm *kvm, struct its_ite *ite) in update_affinity_ite() 402 static void update_affinity_collection(struct kvm *kvm, struct vgic_its *its, in update_affinity_collection() 476 static unsigned long vgic_mmio_read_its_typer(struct kvm *kvm, in vgic_mmio_read_its_typer() 498 static unsigned long vgic_mmio_read_its_iidr(struct kvm *kvm, in vgic_mmio_read_its_iidr() 509 static int vgic_mmio_uaccess_write_its_iidr(struct kvm *kvm, in vgic_mmio_uaccess_write_its_iidr() 521 static unsigned long vgic_mmio_read_its_idregs(struct kvm *kvm, in vgic_mmio_read_its_idregs() 579 static struct vgic_irq *vgic_its_check_cache(struct kvm *kvm, phys_addr_t db, in vgic_its_check_cache() [all …]
|
D | vgic-irqfd.c | 19 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() 86 struct kvm *kvm, int irq_source_id, in kvm_set_msi() 105 struct kvm *kvm, int irq_source_id, int level, in kvm_arch_set_irq_inatomic() 135 int kvm_vgic_setup_default_irq_routing(struct kvm *kvm) in kvm_vgic_setup_default_irq_routing()
|
D | vgic-debug.c | 55 static void iter_init(struct kvm *kvm, struct vgic_state_iter *iter, in iter_init() 85 struct kvm *kvm = (struct kvm *)s->private; in vgic_debug_start() local 113 struct kvm *kvm = (struct kvm *)s->private; in vgic_debug_next() local 125 struct kvm *kvm = (struct kvm *)s->private; in vgic_debug_stop() local 232 struct kvm *kvm = (struct kvm *)s->private; in vgic_debug_show() local 272 void vgic_debug_init(struct kvm *kvm) in vgic_debug_init() 278 void vgic_debug_destroy(struct kvm *kvm) in vgic_debug_destroy()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | sev.c | 108 static int sev_get_asid(struct kvm *kvm) in sev_get_asid() 150 static void sev_unbind_asid(struct kvm *kvm, unsigned int handle) in sev_unbind_asid() 174 static int sev_guest_init(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_guest_init() 205 static int sev_bind_asid(struct kvm *kvm, unsigned int handle, int *error) in sev_bind_asid() 239 static int sev_issue_cmd(struct kvm *kvm, int id, void *data, int *error) in sev_issue_cmd() 246 static int sev_launch_start(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_start() 324 static struct page **sev_pin_memory(struct kvm *kvm, unsigned long uaddr, in sev_pin_memory() 387 static void sev_unpin_memory(struct kvm *kvm, struct page **pages, in sev_unpin_memory() 434 static int sev_launch_update_data(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_update_data() 508 static int sev_launch_measure(struct kvm *kvm, struct kvm_sev_cmd *argp) in sev_launch_measure() [all …]
|