Lines Matching refs:sz
191 pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz) in huge_pte_alloc() argument
197 unsigned pshift = __ffs(sz); in huge_pte_alloc()
200 addr &= ~(sz-1); in huge_pte_alloc()
241 pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz) in huge_pte_alloc() argument
247 unsigned pshift = __ffs(sz); in huge_pte_alloc()
250 addr &= ~(sz-1); in huge_pte_alloc()
741 unsigned long sz) in hugepte_addr_end() argument
743 unsigned long __boundary = (addr + sz) & ~(sz-1); in hugepte_addr_end()
751 unsigned long sz = 1UL << hugepd_shift(hugepd); in gup_huge_pd() local
756 next = hugepte_addr_end(addr, end, sz); in gup_huge_pd()
757 if (!gup_hugepte(ptep, sz, addr, end, write, pages, nr)) in gup_huge_pd()
1052 int gup_hugepte(pte_t *ptep, unsigned long sz, unsigned long addr, in gup_hugepte() argument
1061 pte_end = (addr + sz) & ~(sz-1); in gup_hugepte()
1079 page = head + ((addr & (sz-1)) >> PAGE_SHIFT); in gup_hugepte()