Searched refs:kvm_pgtable_prot (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/ |
D | mem_protect.h | 37 static inline enum kvm_pgtable_prot pkvm_mkstate(enum kvm_pgtable_prot prot, in pkvm_mkstate() 43 static inline enum pkvm_page_state pkvm_getstate(enum kvm_pgtable_prot prot) in pkvm_getstate() 74 int host_stage2_idmap_locked(phys_addr_t addr, u64 size, enum kvm_pgtable_prot prot);
|
D | mm.h | 24 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 25 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot); 27 enum kvm_pgtable_prot prot,
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_pgtable.h | 248 enum kvm_pgtable_prot { enum 274 enum kvm_pgtable_prot prot); 466 enum kvm_pgtable_prot prot); 575 enum kvm_pgtable_prot prot, 608 u64 phys, enum kvm_pgtable_prot prot, 722 enum kvm_pgtable_prot prot); 810 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte); 820 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte);
|
D | kvm_mmu.h | 157 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 159 unsigned long phys, enum kvm_pgtable_prot prot);
|
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | mem_protect.c | 136 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot); 165 enum kvm_pgtable_prot prot) in guest_stage2_force_pte_cb() 411 enum kvm_pgtable_prot prot) in __host_stage2_idmap() 475 enum kvm_pgtable_prot prot) in host_stage2_idmap_locked() 486 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte_cb() 512 enum kvm_pgtable_prot prot; in host_stage2_idmap() 575 const enum kvm_pgtable_prot completer_prot; 633 enum kvm_pgtable_prot prot = pkvm_mkstate(PKVM_HOST_MEM_PROT, state); in __host_set_page_state_range() 766 enum kvm_pgtable_prot perms) in hyp_ack_share() 804 enum kvm_pgtable_prot perms) in hyp_complete_share() [all …]
|
D | mm.c | 36 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 94 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping() 113 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 138 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
D | setup.c | 98 enum kvm_pgtable_prot prot; in recreate_hyp_mappings() 201 enum kvm_pgtable_prot prot; in fix_host_ownership_walker()
|
D | hyp-main.c | 326 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 3); in handle___pkvm_create_private_mapping()
|
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | pgtable.c | 347 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr() 382 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte) in kvm_pgtable_hyp_pte_prot() 384 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() 448 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map() 675 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr() 718 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte) in kvm_pgtable_stage2_pte_prot() 720 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() 1053 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map() 1314 enum kvm_pgtable_prot prot) in kvm_pgtable_stage2_relax_perms() 1371 enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_create_unlinked() [all …]
|
/linux-6.12.1/arch/arm64/kvm/ |
D | mmu.c | 413 unsigned long phys, enum kvm_pgtable_prot prot) in __create_hyp_mappings() 582 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in create_hyp_mappings() 671 enum kvm_pgtable_prot prot) in __create_hyp_private_mapping() 1116 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_DEVICE | in kvm_phys_addr_ioremap() 1441 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in user_mem_abort()
|