Lines Matching refs:refs
1077 int refs; in gup_huge_pmd() local
1082 refs = 0; in gup_huge_pmd()
1091 refs++; in gup_huge_pmd()
1094 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pmd()
1095 *nr -= refs; in gup_huge_pmd()
1100 *nr -= refs; in gup_huge_pmd()
1101 while (refs--) in gup_huge_pmd()
1111 while (refs--) { in gup_huge_pmd()
1124 int refs; in gup_huge_pud() local
1129 refs = 0; in gup_huge_pud()
1138 refs++; in gup_huge_pud()
1141 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pud()
1142 *nr -= refs; in gup_huge_pud()
1147 *nr -= refs; in gup_huge_pud()
1148 while (refs--) in gup_huge_pud()
1153 while (refs--) { in gup_huge_pud()
1166 int refs; in gup_huge_pgd() local
1172 refs = 0; in gup_huge_pgd()
1181 refs++; in gup_huge_pgd()
1184 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pgd()
1185 *nr -= refs; in gup_huge_pgd()
1190 *nr -= refs; in gup_huge_pgd()
1191 while (refs--) in gup_huge_pgd()
1196 while (refs--) { in gup_huge_pgd()