Home
last modified time | relevance | path

Searched refs:VM_BUG_ON_PAGE (Results 1 – 30 of 30) sorted by relevance

/linux-4.4.14/mm/
Dswap.c62 VM_BUG_ON_PAGE(!PageLRU(page), page); in __page_cache_release()
134 VM_BUG_ON_PAGE(!PageHead(page_head), page_head); in put_unrefcounted_compound_page()
150 VM_BUG_ON_PAGE(PageSlab(page_head), page_head); in put_unrefcounted_compound_page()
204 VM_BUG_ON_PAGE(page_head != compound_head(page), page); in put_refcounted_compound_page()
212 VM_BUG_ON_PAGE(1, page_head); in put_refcounted_compound_page()
214 VM_BUG_ON_PAGE(page_mapcount(page) <= 0, page); in put_refcounted_compound_page()
216 VM_BUG_ON_PAGE(atomic_read(&page_head->_count) <= 0, page_head); in put_refcounted_compound_page()
217 VM_BUG_ON_PAGE(atomic_read(&page->_count) != 0, page); in put_refcounted_compound_page()
228 VM_BUG_ON_PAGE(PageTail(page), page); in put_refcounted_compound_page()
308 VM_BUG_ON_PAGE(!PageHead(page_head), page_head); in __get_page_tail()
[all …]
Dswap_state.c84 VM_BUG_ON_PAGE(!PageLocked(page), page); in __add_to_swap_cache()
85 VM_BUG_ON_PAGE(PageSwapCache(page), page); in __add_to_swap_cache()
86 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in __add_to_swap_cache()
140 VM_BUG_ON_PAGE(!PageLocked(page), page); in __delete_from_swap_cache()
141 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __delete_from_swap_cache()
142 VM_BUG_ON_PAGE(PageWriteback(page), page); in __delete_from_swap_cache()
166 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap()
167 VM_BUG_ON_PAGE(!PageUptodate(page), page); in add_to_swap()
Dinternal.h64 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted()
65 VM_BUG_ON_PAGE(atomic_read(&page->_count), page); in set_page_refcounted()
83 VM_BUG_ON_PAGE(atomic_read(&compound_head(page)->_count) <= 0, page); in __get_page_tail_foll()
108 VM_BUG_ON_PAGE(atomic_read(&page->_count) <= 0, page); in get_page_foll()
Dcleancache.c188 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_get_page()
226 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_put_page()
255 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_invalidate_page()
Dballoon_compaction.c202 VM_BUG_ON_PAGE(!PageLocked(page), page); in balloon_page_migrate()
203 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in balloon_page_migrate()
Dhuge_memory.c725 VM_BUG_ON_PAGE(!PageCompound(page), page); in __do_huge_pmd_anonymous_page()
969 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd()
1101 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page_fallback()
1173 VM_BUG_ON_PAGE(!PageCompound(page) || !PageHead(page), page); in do_huge_pmd_wp_page()
1256 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page()
1294 VM_BUG_ON_PAGE(!PageHead(page), page); in follow_trans_huge_pmd()
1319 VM_BUG_ON_PAGE(!PageCompound(page), page); in follow_trans_huge_pmd()
1485 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
1487 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd()
2221 VM_BUG_ON_PAGE(PageCompound(page), page); in __collapse_huge_page_isolate()
[all …]
Drmap.c1059 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_move_anon_rmap()
1061 VM_BUG_ON_PAGE(page->index != linear_page_index(vma, address), page); in page_move_anon_rmap()
1171 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap()
1402 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in try_to_unmap_one()
1482 VM_BUG_ON_PAGE(!PageHuge(page) && PageTransHuge(page), page); in try_to_unmap()
1528 VM_BUG_ON_PAGE(!PageLocked(page) || PageLRU(page), page); in try_to_munlock()
1636 VM_BUG_ON_PAGE(!PageLocked(page), page); in rmap_walk_file()
Dmemcontrol.c2202 VM_BUG_ON_PAGE(PageLRU(page), page); in unlock_page_lru()
2214 VM_BUG_ON_PAGE(page->mem_cgroup, page); in commit_charge()
2448 VM_BUG_ON_PAGE(mem_cgroup_is_root(memcg), page); in __memcg_kmem_uncharge()
4556 VM_BUG_ON_PAGE(PageLRU(page), page); in mem_cgroup_move_account()
4689 VM_BUG_ON_PAGE(!page || !PageHead(page), page); in get_mctgt_type_thp()
5344 VM_BUG_ON_PAGE(!PageLocked(page), page); in mem_cgroup_try_charge()
5362 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in mem_cgroup_try_charge()
5397 VM_BUG_ON_PAGE(!page->mapping, page); in mem_cgroup_commit_charge()
5398 VM_BUG_ON_PAGE(PageLRU(page) && !lrucare, page); in mem_cgroup_commit_charge()
5414 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in mem_cgroup_commit_charge()
[all …]
Dpage_io.c330 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage()
331 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage()
Dfilemap.c520 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page()
521 VM_BUG_ON_PAGE(!PageLocked(new), new); in replace_page_cache_page()
522 VM_BUG_ON_PAGE(new->mapping, new); in replace_page_cache_page()
616 VM_BUG_ON_PAGE(!PageLocked(page), page); in __add_to_page_cache_locked()
617 VM_BUG_ON_PAGE(PageSwapBacked(page), page); in __add_to_page_cache_locked()
812 VM_BUG_ON_PAGE(!PageLocked(page), page); in unlock_page()
1103 VM_BUG_ON_PAGE(page->index != offset, page); in find_lock_entry()
1160 VM_BUG_ON_PAGE(page->index != offset, page); in pagecache_get_page()
1980 VM_BUG_ON_PAGE(page->index != offset, page); in filemap_fault()
Dmigrate.c540 VM_BUG_ON_PAGE(PageUnevictable(page), page); in migrate_page_copy()
753 VM_BUG_ON_PAGE(!PageLocked(page), page); in move_to_new_page()
754 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in move_to_new_page()
881 VM_BUG_ON_PAGE(PageAnon(page), page); in __unmap_and_move()
888 VM_BUG_ON_PAGE(PageAnon(page) && !PageKsm(page) && !anon_vma, in __unmap_and_move()
1636 VM_BUG_ON_PAGE(compound_order(page) && !PageTransHuge(page), page); in numamigrate_isolate_page()
Dvmscan.c728 VM_BUG_ON_PAGE(PageLRU(page), page); in putback_lru_page()
918 VM_BUG_ON_PAGE(PageActive(page), page); in shrink_page_list()
919 VM_BUG_ON_PAGE(page_zone(page) != zone, page); in shrink_page_list()
1209 VM_BUG_ON_PAGE(PageActive(page), page); in shrink_page_list()
1216 VM_BUG_ON_PAGE(PageLRU(page) || PageUnevictable(page), page); in shrink_page_list()
1373 VM_BUG_ON_PAGE(!PageLRU(page), page); in isolate_lru_pages()
1428 VM_BUG_ON_PAGE(!page_count(page), page); in isolate_lru_page()
1499 VM_BUG_ON_PAGE(PageLRU(page), page); in putback_inactive_pages()
1734 VM_BUG_ON_PAGE(PageLRU(page), page); in move_active_pages_to_lru()
3875 VM_BUG_ON_PAGE(PageActive(page), page); in check_move_unevictable_pages()
Dksm.c1919 VM_BUG_ON_PAGE(!PageKsm(page), page); in rmap_walk_ksm()
1925 VM_BUG_ON_PAGE(!PageLocked(page), page); in rmap_walk_ksm()
1981 VM_BUG_ON_PAGE(!PageLocked(oldpage), oldpage); in ksm_migrate_page()
1982 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in ksm_migrate_page()
1983 VM_BUG_ON_PAGE(newpage->mapping != oldpage->mapping, newpage); in ksm_migrate_page()
1987 VM_BUG_ON_PAGE(stable_node->kpfn != page_to_pfn(oldpage), oldpage); in ksm_migrate_page()
Dmlock.c235 VM_BUG_ON_PAGE(PageLRU(page), page); in __putback_lru_fast_prepare()
236 VM_BUG_ON_PAGE(!PageLocked(page), page); in __putback_lru_fast_prepare()
Dpage_alloc.c610 VM_BUG_ON_PAGE(page_count(buddy) != 0, buddy); in page_is_buddy()
624 VM_BUG_ON_PAGE(page_count(buddy) != 0, buddy); in page_is_buddy()
670 VM_BUG_ON_PAGE(page->flags & PAGE_FLAGS_CHECK_AT_PREP, page); in __free_one_page()
678 VM_BUG_ON_PAGE(page_idx & ((1 << order) - 1), page); in __free_one_page()
679 VM_BUG_ON_PAGE(bad_range(zone, page), page); in __free_one_page()
841 VM_BUG_ON_PAGE(is_migrate_isolate(mt), page); in free_pcppages_bulk()
978 VM_BUG_ON_PAGE(PageTail(page), page); in free_pages_prepare()
979 VM_BUG_ON_PAGE(compound && compound_order(page) != order, page); in free_pages_prepare()
1331 VM_BUG_ON_PAGE(bad_range(zone, &page[size]), &page[size]); in expand()
1510 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in move_freepages()
[all …]
Dgup.c1133 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pmd()
1180 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pud()
1223 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pgd()
Dhugetlb_cgroup.c407 VM_BUG_ON_PAGE(!PageHuge(oldhpage), oldhpage); in hugetlb_cgroup_migrate()
Dhugetlb.c1157 VM_BUG_ON_PAGE(hugetlb_cgroup_from_page(page), page); in update_and_free_page()
1187 VM_BUG_ON_PAGE(!PageHuge(page), page); in page_huge_active()
1194 VM_BUG_ON_PAGE(!PageHeadHuge(page), page); in set_page_huge_active()
1200 VM_BUG_ON_PAGE(!PageHeadHuge(page), page); in clear_page_huge_active()
1710 VM_BUG_ON_PAGE(page_count(page), page); in gather_surplus_pages()
4420 VM_BUG_ON_PAGE(!PageHead(page), page); in isolate_huge_page()
4435 VM_BUG_ON_PAGE(!PageHead(page), page); in putback_active_hugepage()
Dswapfile.c929 VM_BUG_ON_PAGE(!PageLocked(page), page); in reuse_swap_page()
949 VM_BUG_ON_PAGE(!PageLocked(page), page); in try_to_free_swap()
2744 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __page_file_mapping()
2752 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __page_file_index()
Dshmem.c300 VM_BUG_ON_PAGE(!PageLocked(page), page); in shmem_add_to_page_cache()
301 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in shmem_add_to_page_cache()
441 VM_BUG_ON_PAGE(PageWriteback(page), page); in shmem_undo_range()
518 VM_BUG_ON_PAGE(PageWriteback(page), page); in shmem_undo_range()
Dmemory.c306 VM_BUG_ON_PAGE(batch->nr > batch->max, page); in __tlb_remove_page()
2021 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_mkwrite()
2064 VM_BUG_ON_PAGE(PageAnon(page), page); in wp_page_reuse()
2828 VM_BUG_ON_PAGE(!PageLocked(vmf.page), vmf.page); in __do_fault()
Dmemory-failure.c1162 VM_BUG_ON_PAGE(!page_count(p), p); in memory_failure()
Dcompaction.c808 VM_BUG_ON_PAGE(PageCompound(page), page); in isolate_migratepages_block()
/linux-4.4.14/include/linux/
Dpage-flags.h463 VM_BUG_ON_PAGE(PageTail(page), page); in PageTransHuge()
523 VM_BUG_ON_PAGE(atomic_read(&page->_mapcount) != -1, page); in __SetPageBuddy()
529 VM_BUG_ON_PAGE(!PageBuddy(page), page); in __ClearPageBuddy()
542 VM_BUG_ON_PAGE(atomic_read(&page->_mapcount) != -1, page); in __SetPageBalloon()
548 VM_BUG_ON_PAGE(!PageBalloon(page), page); in __ClearPageBalloon()
558 VM_BUG_ON_PAGE(!PageSlab(page), page); in PageSlabPfmemalloc()
564 VM_BUG_ON_PAGE(!PageSlab(page), page); in SetPageSlabPfmemalloc()
570 VM_BUG_ON_PAGE(!PageSlab(page), page); in __ClearPageSlabPfmemalloc()
576 VM_BUG_ON_PAGE(!PageSlab(page), page); in ClearPageSlabPfmemalloc()
Dmmdebug.h19 #define VM_BUG_ON_PAGE(cond, page) \ macro
45 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) macro
Dhugetlb_cgroup.h31 VM_BUG_ON_PAGE(!PageHuge(page), page); in hugetlb_cgroup_from_page()
41 VM_BUG_ON_PAGE(!PageHuge(page), page); in set_hugetlb_cgroup()
Dpagemap.h167 VM_BUG_ON_PAGE(page_count(page) == 0, page); in page_cache_get_speculative()
180 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_get_speculative()
196 VM_BUG_ON_PAGE(page_count(page) == 0, page); in page_cache_add_speculative()
203 VM_BUG_ON_PAGE(PageCompound(page) && page != compound_head(page), page); in page_cache_add_speculative()
215 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_unfreeze_refs()
Dmm.h342 VM_BUG_ON_PAGE(atomic_read(&page->_count) == 0, page); in put_page_testzero()
401 VM_BUG_ON_PAGE(PageSlab(page), page); in compound_lock()
409 VM_BUG_ON_PAGE(PageSlab(page), page); in compound_unlock()
445 VM_BUG_ON_PAGE(PageSlab(page), page); in page_mapcount()
469 VM_BUG_ON_PAGE(!PageHead(page), page); in compound_tail_refcounted()
478 VM_BUG_ON_PAGE(!PageTail(page), page); in get_huge_page_tail()
479 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in get_huge_page_tail()
480 VM_BUG_ON_PAGE(atomic_read(&page->_count) != 0, page); in get_huge_page_tail()
496 VM_BUG_ON_PAGE(atomic_read(&page->_count) <= 0, page); in get_page()
543 VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); in set_compound_page_dtor()
[all …]
Dhugetlb.h432 VM_BUG_ON_PAGE(!PageHuge(page), page); in page_hstate()
/linux-4.4.14/arch/x86/mm/
Dgup.c111 VM_BUG_ON_PAGE(page != compound_head(page), page); in get_head_page_multiple()
112 VM_BUG_ON_PAGE(page_count(page) == 0, page); in get_head_page_multiple()
137 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pmd()
213 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pud()