Home
last modified time | relevance | path

Searched refs:pgsize (Results 1 – 7 of 7) sorted by relevance

/arch/arm64/mm/
Dhugetlbpage.c55 pte_t *ptep, size_t *pgsize) in find_num_contig() argument
61 *pgsize = PAGE_SIZE; in find_num_contig()
65 *pgsize = PMD_SIZE; in find_num_contig()
71 static inline int num_contig_ptes(unsigned long size, size_t *pgsize) in num_contig_ptes() argument
75 *pgsize = size; in num_contig_ptes()
85 *pgsize = PMD_SIZE; in num_contig_ptes()
89 *pgsize = PAGE_SIZE; in num_contig_ptes()
108 unsigned long pgsize, in get_clear_flush() argument
116 for (i = 0; i < ncontig; i++, addr += pgsize, ptep++) { in get_clear_flush()
148 unsigned long pgsize, in clear_flush() argument
[all …]
/arch/powerpc/kvm/
Dbook3s_64_mmu.c223 int pgsize; in kvmppc_mmu_book3s_64_xlate() local
259 pgsize = slbe->large ? MMU_PAGE_16M : MMU_PAGE_4K; in kvmppc_mmu_book3s_64_xlate()
288 pgsize = decode_pagesize(slbe, pte1); in kvmppc_mmu_book3s_64_xlate()
289 if (pgsize < 0) in kvmppc_mmu_book3s_64_xlate()
314 eaddr_mask = (1ull << mmu_pagesize(pgsize)) - 1; in kvmppc_mmu_book3s_64_xlate()
316 gpte->page_size = pgsize; in kvmppc_mmu_book3s_64_xlate()
De500.h166 unsigned int pgsize = get_tlb_size(tlbe); in get_tlb_bytes() local
167 return 1ULL << 10 << pgsize; in get_tlb_bytes()
Dbook3s_64_vio_hv.c202 const unsigned long pgsize = 1ULL << tbl->it_page_shift; in kvmppc_rm_tce_iommu_mapped_dec() local
213 mem = mm_iommu_lookup_rm(kvm->mm, *pua, pgsize); in kvmppc_rm_tce_iommu_mapped_dec()
Dbook3s_64_vio.c380 const unsigned long pgsize = 1ULL << tbl->it_page_shift; in kvmppc_tce_iommu_mapped_dec() local
387 mem = mm_iommu_lookup(kvm->mm, *pua, pgsize); in kvmppc_tce_iommu_mapped_dec()
Dbook3s_64_mmu_hv.c204 static inline unsigned long hpte0_pgsize_encoding(unsigned long pgsize) in hpte0_pgsize_encoding() argument
206 return (pgsize > 0x1000) ? HPTE_V_LARGE : 0; in hpte0_pgsize_encoding()
210 static inline unsigned long hpte1_pgsize_encoding(unsigned long pgsize) in hpte1_pgsize_encoding() argument
212 return (pgsize == 0x10000) ? 0x1000 : 0; in hpte1_pgsize_encoding()
/arch/ia64/kernel/
Dhead.S165 #define SET_ONE_RR(num, pgsize, _tmp1, _tmp2, vhpt) \ argument
167 mov _tmp2=((ia64_rid(IA64_REGION_ID_KERNEL, (num<<61)) << 8) | (pgsize << 2) | vhpt);; \