Home
last modified time | relevance | path

Searched refs:vpage (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/arch/nios2/mm/
Dinit.c91 unsigned long vpage; in alloc_kuser_page() local
93 vpage = get_zeroed_page(GFP_ATOMIC); in alloc_kuser_page()
94 if (!vpage) in alloc_kuser_page()
98 memcpy((void *)vpage, __kuser_helper_start, kuser_sz); in alloc_kuser_page()
100 flush_icache_range(vpage, vpage + KUSER_SIZE); in alloc_kuser_page()
101 kuser_page[0] = virt_to_page(vpage); in alloc_kuser_page()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dtrace_pr.h42 __field( unsigned long long, vpage )
52 __entry->vpage = orig_pte->vpage;
58 __entry->hpteg, __entry->va, __entry->vpage, __entry->hpaddr)
71 __field( u64, vpage )
80 __entry->vpage = pte->pte.vpage;
89 __entry->vpage, __entry->raddr, __entry->flags)
100 __field( u64, vpage )
109 __entry->vpage = pte->pte.vpage;
118 __entry->vpage, __entry->raddr, __entry->flags)
Dbook3s_mmu_hpte.c37 static inline u64 kvmppc_mmu_hash_vpte(u64 vpage) in kvmppc_mmu_hash_vpte() argument
39 return hash_64(vpage & 0xfffffffffULL, HPTEG_HASH_BITS_VPTE); in kvmppc_mmu_hash_vpte()
42 static inline u64 kvmppc_mmu_hash_vpte_long(u64 vpage) in kvmppc_mmu_hash_vpte_long() argument
44 return hash_64((vpage & 0xffffff000ULL) >> 12, in kvmppc_mmu_hash_vpte_long()
49 static inline u64 kvmppc_mmu_hash_vpte_64k(u64 vpage) in kvmppc_mmu_hash_vpte_64k() argument
51 return hash_64((vpage & 0xffffffff0ULL) >> 4, in kvmppc_mmu_hash_vpte_64k()
75 index = kvmppc_mmu_hash_vpte(pte->pte.vpage); in kvmppc_mmu_hpte_cache_map()
79 index = kvmppc_mmu_hash_vpte_long(pte->pte.vpage); in kvmppc_mmu_hpte_cache_map()
85 index = kvmppc_mmu_hash_vpte_64k(pte->pte.vpage); in kvmppc_mmu_hpte_cache_map()
225 if ((pte->pte.vpage & vp_mask) == guest_vp) in kvmppc_mmu_pte_vflush_short()
[all …]
Dbook3s_32_mmu.c87 return pte.vpage; in kvmppc_mmu_book3s_32_ea_to_vp()
160 pte->vpage = (((u64)eaddr >> 12) & 0xffff) | vsid; in kvmppc_mmu_book3s_32_xlate_bat()
199 pte->vpage = kvmppc_mmu_book3s_32_ea_to_vp(vcpu, eaddr, data); in kvmppc_mmu_book3s_32_xlate_pte()
304 pte->vpage = kvmppc_mmu_book3s_32_ea_to_vp(vcpu, eaddr, data); in kvmppc_mmu_book3s_32_xlate()
Dbook3s_32_mmu_host.c244 orig_pte->vpage, hpaddr); in kvmppc_mmu_map_page()
260 kvmppc_mmu_pte_vflush(vcpu, pte->vpage, 0xfffffffffULL); in kvmppc_mmu_unmap_page()
Dbook3s_64_mmu.c214 gpte->vpage = kvmppc_mmu_book3s_64_ea_to_vp(vcpu, eaddr, data); in kvmppc_mmu_book3s_64_xlate()
295 gpte->vpage = kvmppc_mmu_book3s_64_ea_to_vp(vcpu, eaddr, data); in kvmppc_mmu_book3s_64_xlate()
325 eaddr, avpn, gpte->vpage, gpte->raddr); in kvmppc_mmu_book3s_64_xlate()
Dbook3s_pr.c729 pte.vpage = eaddr >> 12; in kvmppc_handle_pagefault()
736 pte.vpage |= ((u64)VSID_REAL << (SID_SHIFT - 12)); in kvmppc_handle_pagefault()
748 pte.vpage |= ((u64)VSID_REAL_DR << (SID_SHIFT - 12)); in kvmppc_handle_pagefault()
750 pte.vpage |= ((u64)VSID_REAL_IR << (SID_SHIFT - 12)); in kvmppc_handle_pagefault()
751 pte.vpage |= vsid; in kvmppc_handle_pagefault()
Dbook3s_64_mmu_host.c220 kvmppc_mmu_pte_vflush(vcpu, pte->vpage, mask); in kvmppc_mmu_unmap_page()
Dbook3s.c437 pte->vpage = VSID_REAL | eaddr >> 12; in kvmppc_xlate()
Dbooke.c1944 pte->vpage = eaddr >> PAGE_SHIFT; in kvmppc_xlate()
1973 pte->vpage = eaddr >> PAGE_SHIFT; in kvmppc_xlate()
Dbook3s_64_mmu_hv.c375 gpte->vpage = ((v & HPTE_V_AVPN) << 4) | ((eaddr >> 12) & 0xfff); in kvmppc_mmu_book3s_64_hv_xlate()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c115 void *vpage; in ehea_create_cq() local
140 vpage = hw_qpageit_get_inc(&cq->hw_queue); in ehea_create_cq()
141 if (!vpage) { in ehea_create_cq()
146 rpage = __pa(vpage); in ehea_create_cq()
157 vpage = hw_qpageit_get_inc(&cq->hw_queue); in ehea_create_cq()
159 if ((hret != H_SUCCESS) || (vpage)) { in ehea_create_cq()
235 void *vpage; in ehea_create_eq() local
263 vpage = hw_qpageit_get_inc(&eq->hw_queue); in ehea_create_eq()
264 if (!vpage) { in ehea_create_eq()
270 rpage = __pa(vpage); in ehea_create_eq()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c488 char *vpage; in _zero_pages() local
499 vpage = kmap_atomic(*page); in _zero_pages()
500 memset(vpage + pgbase, 0, zero); in _zero_pages()
501 kunmap_atomic(vpage); in _zero_pages()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h388 u64 vpage; member
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch43102 + void *vpage = (void *)__get_free_page(GFP_KERNEL);
43106 + if (vpage != NULL) {
43107 + page = virt_to_phys(vpage);