Lines Matching refs:refs
1123 int refs; in gup_huge_pmd() local
1128 refs = 0; in gup_huge_pmd()
1137 refs++; in gup_huge_pmd()
1140 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pmd()
1141 *nr -= refs; in gup_huge_pmd()
1146 *nr -= refs; in gup_huge_pmd()
1147 while (refs--) in gup_huge_pmd()
1157 while (refs--) { in gup_huge_pmd()
1170 int refs; in gup_huge_pud() local
1175 refs = 0; in gup_huge_pud()
1184 refs++; in gup_huge_pud()
1187 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pud()
1188 *nr -= refs; in gup_huge_pud()
1193 *nr -= refs; in gup_huge_pud()
1194 while (refs--) in gup_huge_pud()
1199 while (refs--) { in gup_huge_pud()
1212 int refs; in gup_huge_pgd() local
1218 refs = 0; in gup_huge_pgd()
1227 refs++; in gup_huge_pgd()
1230 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pgd()
1231 *nr -= refs; in gup_huge_pgd()
1236 *nr -= refs; in gup_huge_pgd()
1237 while (refs--) in gup_huge_pgd()
1242 while (refs--) { in gup_huge_pgd()