Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/mm/
Dpgtable-frag.c27 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()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dpgtable.c322 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()
Dmmu_context.c255 if (atomic_sub_and_test(PMD_FRAG_NR - count, &page->pt_frag_refcount)) { in pmd_frag_destroy()
/linux-6.1.9/include/linux/
Dmm_types.h161 atomic_t pt_frag_refcount; /* powerpc */ member