Lines Matching refs:pageshift
192 unsigned long *paddr, int *pageshift) in non_atomic_pte_lookup() argument
197 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup()
199 *pageshift = PAGE_SHIFT; in non_atomic_pte_lookup()
220 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument
251 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup()
253 *pageshift = PAGE_SHIFT; in atomic_pte_lookup()
262 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument
289 *pageshift = ps; in gru_vtop()
326 int ret, pageshift; in gru_preload_tlb() local
341 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb()
343 GRU_PAGESIZE(pageshift))) in gru_preload_tlb()
348 vaddr, asid, write, pageshift, gpa); in gru_preload_tlb()
371 int pageshift = 0, asid, write, ret, atomic = !cbk, indexway; in gru_try_dropin() local
422 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_try_dropin()
428 if (!(gts->ts_sizeavail & GRU_SIZEAVAIL(pageshift))) { in gru_try_dropin()
429 gts->ts_sizeavail |= GRU_SIZEAVAIL(pageshift); in gru_try_dropin()
436 if (unlikely(cbe) && pageshift == PAGE_SHIFT) { in gru_try_dropin()
444 GRU_PAGESIZE(pageshift)); in gru_try_dropin()
449 indexway, write, pageshift, gpa); in gru_try_dropin()