Home
last modified time | relevance | path

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

/arch/sparc/mm/
Dgup.c75 int refs; in gup_huge_pmd() local
83 refs = 0; in gup_huge_pmd()
92 refs++; in gup_huge_pmd()
95 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pmd()
96 *nr -= refs; in gup_huge_pmd()
101 *nr -= refs; in gup_huge_pmd()
102 while (refs--) in gup_huge_pmd()
110 while (refs--) { in gup_huge_pmd()
/arch/s390/mm/
Dgup.c56 int refs; in gup_huge_pmd() local
64 refs = 0; in gup_huge_pmd()
73 refs++; in gup_huge_pmd()
76 if (!page_cache_add_speculative(head, refs)) { in gup_huge_pmd()
77 *nr -= refs; in gup_huge_pmd()
82 *nr -= refs; in gup_huge_pmd()
83 while (refs--) in gup_huge_pmd()
92 while (refs--) { in gup_huge_pmd()
/arch/mips/mm/
Dgup.c75 int refs; in gup_huge_pmd() local
83 refs = 0; in gup_huge_pmd()
93 refs++; in gup_huge_pmd()
96 get_head_page_multiple(head, refs); in gup_huge_pmd()
141 int refs; in gup_huge_pud() local
149 refs = 0; in gup_huge_pud()
159 refs++; in gup_huge_pud()
162 get_head_page_multiple(head, refs); in gup_huge_pud()
/arch/x86/mm/
Dgup.c117 int refs; in gup_huge_pmd() local
128 refs = 0; in gup_huge_pmd()
138 refs++; in gup_huge_pmd()
140 get_head_page_multiple(head, refs); in gup_huge_pmd()
187 int refs; in gup_huge_pud() local
198 refs = 0; in gup_huge_pud()
208 refs++; in gup_huge_pud()
210 get_head_page_multiple(head, refs); in gup_huge_pud()
/arch/powerpc/mm/
Dhugetlbpage.c769 int refs; in gup_hugepte() local
786 refs = 0; in gup_hugepte()
796 refs++; in gup_hugepte()
799 if (!page_cache_add_speculative(head, refs)) { in gup_hugepte()
800 *nr -= refs; in gup_hugepte()
806 *nr -= refs; in gup_hugepte()
807 while (refs--) in gup_hugepte()
816 while (refs--) { in gup_hugepte()