Lines Matching refs:sz
210 pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz) in huge_pte_alloc() argument
216 unsigned pshift = __ffs(sz); in huge_pte_alloc()
219 addr &= ~(sz-1); in huge_pte_alloc()
260 pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz) in huge_pte_alloc() argument
266 unsigned pshift = __ffs(sz); in huge_pte_alloc()
269 addr &= ~(sz-1); in huge_pte_alloc()
756 unsigned long sz) in hugepte_addr_end() argument
758 unsigned long __boundary = (addr + sz) & ~(sz-1); in hugepte_addr_end()
766 unsigned long sz = 1UL << hugepd_shift(hugepd); in gup_huge_pd() local
771 next = hugepte_addr_end(addr, end, sz); in gup_huge_pd()
772 if (!gup_hugepte(ptep, sz, addr, end, write, pages, nr)) in gup_huge_pd()
1069 int gup_hugepte(pte_t *ptep, unsigned long sz, unsigned long addr, in gup_hugepte() argument
1078 pte_end = (addr + sz) & ~(sz-1); in gup_hugepte()
1096 page = head + ((addr & (sz-1)) >> PAGE_SHIFT); in gup_hugepte()