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()
422 atomic_set(&ptdesc->pt_frag_refcount, 1); in __alloc_for_pmdcache()439 atomic_set(&ptdesc->pt_frag_refcount, PMD_FRAG_NR); in __alloc_for_pmdcache()465 BUG_ON(atomic_read(&ptdesc->pt_frag_refcount) <= 0); in pmd_fragment_free()466 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()
473 atomic_t pt_frag_refcount; member