Searched refs:pt_frag_refcount (Results 1 – 4 of 4) sorted by relevance
27 if (atomic_sub_and_test(PTE_FRAG_NR - count, &ptdesc->pt_frag_refcount)) { in pte_frag_destroy()74 atomic_set(&ptdesc->pt_frag_refcount, 1); in __alloc_for_ptecache()90 atomic_set(&ptdesc->pt_frag_refcount, PTE_FRAG_NR); in __alloc_for_ptecache()125 BUG_ON(atomic_read(&ptdesc->pt_frag_refcount) <= 0); in pte_fragment_free()126 if (atomic_dec_and_test(&ptdesc->pt_frag_refcount)) { in pte_fragment_free()
401 atomic_set(&ptdesc->pt_frag_refcount, 1); in __alloc_for_pmdcache()418 atomic_set(&ptdesc->pt_frag_refcount, PMD_FRAG_NR); in __alloc_for_pmdcache()444 BUG_ON(atomic_read(&ptdesc->pt_frag_refcount) <= 0); in pmd_fragment_free()445 if (atomic_dec_and_test(&ptdesc->pt_frag_refcount)) { in pmd_fragment_free()
255 if (atomic_sub_and_test(PMD_FRAG_NR - count, &ptdesc->pt_frag_refcount)) { in pmd_frag_destroy()
426 atomic_t pt_frag_refcount; member