Searched refs:pt_frag_refcount (Results 1 – 4 of 4) sorted by relevance
27 if (atomic_sub_and_test(PTE_FRAG_NR - count, &page->pt_frag_refcount)) { in pte_frag_destroy()74 atomic_set(&page->pt_frag_refcount, 1); in __alloc_for_ptecache()90 atomic_set(&page->pt_frag_refcount, PTE_FRAG_NR); in __alloc_for_ptecache()116 BUG_ON(atomic_read(&page->pt_frag_refcount) <= 0); in pte_fragment_free()117 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pte_fragment_free()
322 atomic_set(&page->pt_frag_refcount, 1); in __alloc_for_pmdcache()339 atomic_set(&page->pt_frag_refcount, PMD_FRAG_NR); in __alloc_for_pmdcache()365 BUG_ON(atomic_read(&page->pt_frag_refcount) <= 0); in pmd_fragment_free()366 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pmd_fragment_free()
255 if (atomic_sub_and_test(PMD_FRAG_NR - count, &page->pt_frag_refcount)) { in pmd_frag_destroy()
161 atomic_t pt_frag_refcount; /* powerpc */ member