Home
last modified time | relevance | path

Searched refs:refs (Results 1 – 5 of 5) sorted by relevance

/arch/s390/mm/
Dgup.c60 int refs; in gup_huge_pmd() local
68 refs = 0; in gup_huge_pmd()
77 refs++; in gup_huge_pmd()
81 || !page_cache_add_speculative(head, refs)) { in gup_huge_pmd()
82 *nr -= refs; in gup_huge_pmd()
87 *nr -= refs; in gup_huge_pmd()
88 while (refs--) in gup_huge_pmd()
97 while (refs--) { in gup_huge_pmd()
/arch/sparc/mm/
Dgup.c74 int refs; in gup_huge_pmd() local
82 refs = 0; in gup_huge_pmd()
91 refs++; in gup_huge_pmd()
94 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pmd()
95 *nr -= refs; in gup_huge_pmd()
100 *nr -= refs; in gup_huge_pmd()
101 while (refs--) in gup_huge_pmd()
109 while (refs--) { in gup_huge_pmd()
/arch/mips/mm/
Dgup.c76 int refs; in gup_huge_pmd() local
84 refs = 0; in gup_huge_pmd()
94 refs++; in gup_huge_pmd()
97 get_head_page_multiple(head, refs); in gup_huge_pmd()
142 int refs; in gup_huge_pud() local
150 refs = 0; in gup_huge_pud()
160 refs++; in gup_huge_pud()
163 get_head_page_multiple(head, refs); in gup_huge_pud()
/arch/x86/mm/
Dgup.c125 int refs; in gup_huge_pmd() local
136 refs = 0; in gup_huge_pmd()
148 refs++; in gup_huge_pmd()
150 get_head_page_multiple(head, refs); in gup_huge_pmd()
203 int refs; in gup_huge_pud() local
214 refs = 0; in gup_huge_pud()
226 refs++; in gup_huge_pud()
228 get_head_page_multiple(head, refs); in gup_huge_pud()
/arch/powerpc/mm/
Dhugetlbpage.c1076 int refs; in gup_hugepte() local
1093 refs = 0; in gup_hugepte()
1103 refs++; in gup_hugepte()
1106 if (!page_cache_add_speculative(head, refs)) { in gup_hugepte()
1107 *nr -= refs; in gup_hugepte()
1113 *nr -= refs; in gup_hugepte()
1114 while (refs--) in gup_hugepte()
1123 while (refs--) { in gup_hugepte()