Lines Matching refs:pageshift
179 unsigned long *paddr, int *pageshift) in non_atomic_pte_lookup() argument
184 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup()
186 *pageshift = PAGE_SHIFT; in non_atomic_pte_lookup()
206 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument
242 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup()
244 *pageshift = PAGE_SHIFT; in atomic_pte_lookup()
253 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument
280 *pageshift = ps; in gru_vtop()
317 int ret, pageshift; in gru_preload_tlb() local
332 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb()
334 GRU_PAGESIZE(pageshift))) in gru_preload_tlb()
339 vaddr, asid, write, pageshift, gpa); in gru_preload_tlb()
362 int pageshift = 0, asid, write, ret, atomic = !cbk, indexway; in gru_try_dropin() local
413 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_try_dropin()
419 if (!(gts->ts_sizeavail & GRU_SIZEAVAIL(pageshift))) { in gru_try_dropin()
420 gts->ts_sizeavail |= GRU_SIZEAVAIL(pageshift); in gru_try_dropin()
427 if (unlikely(cbe) && pageshift == PAGE_SHIFT) { in gru_try_dropin()
435 GRU_PAGESIZE(pageshift)); in gru_try_dropin()
440 indexway, write, pageshift, gpa); in gru_try_dropin()