Searched refs:pt_frag_refcount (Results 1 – 3 of 3) sorted by relevance
273 atomic_set(&page->pt_frag_refcount, 1); in __alloc_for_pmdcache()290 atomic_set(&page->pt_frag_refcount, PMD_FRAG_NR); in __alloc_for_pmdcache()313 BUG_ON(atomic_read(&page->pt_frag_refcount) <= 0); in pmd_fragment_free()314 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pmd_fragment_free()358 atomic_set(&page->pt_frag_refcount, 1); in __alloc_for_ptecache()374 atomic_set(&page->pt_frag_refcount, PTE_FRAG_NR); in __alloc_for_ptecache()397 BUG_ON(atomic_read(&page->pt_frag_refcount) <= 0); in pte_fragment_free()398 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pte_fragment_free()
167 if (atomic_sub_and_test(PTE_FRAG_NR - count, &page->pt_frag_refcount)) { in pte_frag_destroy()182 if (atomic_sub_and_test(PMD_FRAG_NR - count, &page->pt_frag_refcount)) { in pmd_frag_destroy()
144 atomic_t pt_frag_refcount; /* powerpc */ member