Searched refs:kvm_pgtable_prot (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/arch/arm64/include/asm/ |
D | kvm_pgtable.h | 137 enum kvm_pgtable_prot { enum 162 enum kvm_pgtable_prot prot); 260 enum kvm_pgtable_prot prot); 356 u64 phys, enum kvm_pgtable_prot prot, 466 enum kvm_pgtable_prot prot); 547 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte); 557 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.1.9/arch/arm64/kvm/hyp/include/nvhe/ |
D | mem_protect.h | 35 static inline enum kvm_pgtable_prot pkvm_mkstate(enum kvm_pgtable_prot prot, in pkvm_mkstate() 41 static inline enum pkvm_page_state pkvm_getstate(enum kvm_pgtable_prot prot) in pkvm_getstate() 61 int host_stage2_idmap_locked(phys_addr_t addr, u64 size, enum kvm_pgtable_prot prot);
|
D | mm.h | 20 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot); 21 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot); 23 enum kvm_pgtable_prot prot,
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | mm.c | 29 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 77 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping() 96 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 121 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
D | mem_protect.c | 118 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot); 251 enum kvm_pgtable_prot prot) in __host_stage2_idmap() 315 enum kvm_pgtable_prot prot) in host_stage2_idmap_locked() 326 static bool host_stage2_force_pte_cb(u64 addr, u64 end, enum kvm_pgtable_prot prot) in host_stage2_force_pte_cb() 352 enum kvm_pgtable_prot prot; in host_stage2_idmap() 412 const enum kvm_pgtable_prot completer_prot; 469 enum kvm_pgtable_prot prot = pkvm_mkstate(PKVM_HOST_MEM_PROT, state); in __host_set_page_state_range() 541 enum kvm_pgtable_prot perms) in hyp_ack_share() 566 enum kvm_pgtable_prot perms) in hyp_complete_share() 569 enum kvm_pgtable_prot prot; in hyp_complete_share()
|
D | setup.c | 63 enum kvm_pgtable_prot prot; in recreate_hyp_mappings() 195 enum kvm_pgtable_prot prot; in finalize_host_mappings_walker()
|
D | hyp-main.c | 161 DECLARE_REG(enum kvm_pgtable_prot, prot, host_ctxt, 3); in handle___pkvm_create_private_mapping()
|
/linux-6.1.9/arch/arm64/kvm/hyp/ |
D | pgtable.c | 335 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr() 366 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte) in kvm_pgtable_hyp_pte_prot() 368 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() 431 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map() 623 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr() 650 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte) in kvm_pgtable_stage2_pte_prot() 652 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() 894 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map() 1119 enum kvm_pgtable_prot prot) in kvm_pgtable_stage2_relax_perms()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | mmu.c | 297 unsigned long phys, enum kvm_pgtable_prot prot) in __create_hyp_mappings() 466 int create_hyp_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in create_hyp_mappings() 543 enum kvm_pgtable_prot prot) in __create_hyp_private_mapping() 826 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_DEVICE | in kvm_phys_addr_ioremap() 1142 enum kvm_pgtable_prot prot = KVM_PGTABLE_PROT_R; in user_mem_abort()
|