Home
last modified time | relevance | path

Searched refs:page_mapcount (Results 1 – 24 of 24) sorted by relevance

/linux-4.4.14/mm/
Dhuge_memory.c1174 if (page_mapcount(page) == 1) { in do_huge_pmd_wp_page()
1485 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
1724 BUG_ON(page_mapcount(page_tail) < 0); in __split_huge_page_refcount()
1725 tail_count += page_mapcount(page_tail); in __split_huge_page_refcount()
1742 atomic_add(page_mapcount(page) + page_mapcount(page_tail) + 1, in __split_huge_page_refcount()
1840 BUG_ON(page_mapcount(page) != 1); in __split_huge_page_map()
1928 if (mapcount != page_mapcount(page)) { in __split_huge_page()
1930 mapcount, page_mapcount(page)); in __split_huge_page()
1945 mapcount, mapcount2, page_mapcount(page)); in __split_huge_page()
2310 VM_BUG_ON_PAGE(page_mapcount(src_page) != 1, src_page); in __collapse_huge_page_copy()
Ddebug.c86 page, atomic_read(&page->_count), page_mapcount(page), in dump_page_badflags()
Dmlock.c128 if (page_mapcount(page) > 1) in __munlock_isolated_page()
238 if (page_mapcount(page) <= 1 && page_evictable(page)) { in __putback_lru_fast_prepare()
Dmigrate.c1277 if (page_mapcount(page) > 1 && in do_move_page_to_node_array()
1693 if (page_mapcount(page) != 1 && page_is_file_cache(page) && in migrate_misplaced_page()
Dswap.c214 VM_BUG_ON_PAGE(page_mapcount(page) <= 0, page); in put_refcounted_compound_page()
Dmemory-failure.c1015 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
Dcompaction.c777 page_count(page) > page_mapcount(page)) in isolate_migratepages_block()
Dmempolicy.c547 (flags & MPOL_MF_MOVE && page_mapcount(page) == 1)) in queue_pages_hugetlb()
930 if ((flags & MPOL_MF_MOVE_ALL) || page_mapcount(page) == 1) { in migrate_page_add()
Drmap.c936 .mapcount = page_mapcount(page), in page_referenced()
Dshmem.c1868 } else if (page_count(page) - page_mapcount(page) > 1) { in shmem_tag_pins()
1928 page_count(page) - page_mapcount(page) != 1) { in shmem_wait_for_pins()
Dksm.c901 if (page_mapcount(page) + 1 + swapped != page_count(page)) { in write_protect_page()
Dhugetlb.c1219 BUG_ON(page_mapcount(page)); in free_huge_page()
3365 if (page_mapcount(old_page) == 1 && PageAnon(old_page)) { in hugetlb_cow()
Dmemory.c1169 if (unlikely(page_mapcount(page) < 0)) in zap_pte_range()
3249 if (page_mapcount(page) > 1 && (vma->vm_flags & VM_SHARED)) in do_numa_page()
Dpage_alloc.c762 if (unlikely(page_mapcount(page))) in free_pages_check()
1359 if (unlikely(page_mapcount(page))) in check_new_page()
Dswapfile.c932 count = page_mapcount(page); in reuse_swap_page()
/linux-4.4.14/fs/proc/
Dtask_mmu.c468 mapcount = page_mapcount(page); in smaps_account()
649 int mapcount = page_mapcount(page); in smaps_hugetlb_range()
1097 if (page && page_mapcount(page) == 1) in pte_to_pagemap_entry()
1131 if (page_mapcount(page) == 1) in pagemap_pmd_range()
1199 if (page_mapcount(page) == 1) in pagemap_hugetlb_range()
1391 int count = page_mapcount(page); in gather_stats()
Dpage.c51 pcount = page_mapcount(ppage); in kpagecount_read()
/linux-4.4.14/arch/xtensa/mm/
Dtlb.c245 page_mapcount(p)); in check_tlb_entry()
/linux-4.4.14/arch/tile/mm/
Dhomecache.c369 BUG_ON(page_mapcount(page) != 0); in homecache_change_page_home()
/linux-4.4.14/include/linux/
Dswap.h542 #define reuse_swap_page(page) (page_mapcount(page) == 1)
Dmm.h443 static inline int page_mapcount(struct page *page) in page_mapcount() function
479 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in get_huge_page_tail()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_page.c391 page_mapcount(vmpage), vmpage->private, in vvp_page_print()
/linux-4.4.14/fs/fuse/
Ddev.c825 if (page_mapcount(page) || in fuse_check_page()
836 …=%i, mapping=%p\n", page, page->index, page->flags, page_count(page), page_mapcount(page), page->m… in fuse_check_page()
/linux-4.4.14/Documentation/cgroups/
Dmemory.txt712 | page_mapcount(page) > 1). You must enable Swap Extension (see 2.4) to