/Linux-v5.4/include/linux/ |
D | page-flags.h | 513 VM_BUG_ON_PAGE(PageTail(page), page); in __SetPageUptodate() 520 VM_BUG_ON_PAGE(PageTail(page), page); in SetPageUptodate() 598 VM_BUG_ON_PAGE(PageTail(page), page); in PageTransHuge() 679 VM_BUG_ON_PAGE(!PageHead(page), page); in SetPageDoubleMap() 685 VM_BUG_ON_PAGE(!PageHead(page), page); in ClearPageDoubleMap() 690 VM_BUG_ON_PAGE(!PageHead(page), page); in TestSetPageDoubleMap() 696 VM_BUG_ON_PAGE(!PageHead(page), page); in TestClearPageDoubleMap() 743 VM_BUG_ON_PAGE(!PageType(page, 0), page); \ 748 VM_BUG_ON_PAGE(!Page##uname(page), page); \ 793 VM_BUG_ON_PAGE(!PageSlab(page), page); in PageSlabPfmemalloc() [all …]
|
D | mmdebug.h | 19 #define VM_BUG_ON_PAGE(cond, page) \ macro 46 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) macro 62 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page)
|
D | hugetlb_cgroup.h | 31 VM_BUG_ON_PAGE(!PageHuge(page), page); in hugetlb_cgroup_from_page() 41 VM_BUG_ON_PAGE(!PageHuge(page), page); in set_hugetlb_cgroup()
|
D | pagemap.h | 182 VM_BUG_ON_PAGE(page_count(page) == 0, page); in __page_cache_add_speculative() 195 VM_BUG_ON_PAGE(PageTail(page), page); in __page_cache_add_speculative() 341 VM_BUG_ON_PAGE(PageTail(page), page); in find_subpage()
|
D | page_ref.h | 175 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
|
D | mm.h | 607 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero() 700 VM_BUG_ON_PAGE(!PageCompound(page), page); in compound_mapcount() 719 VM_BUG_ON_PAGE(PageSlab(page), page); in page_mapcount() 781 VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); in set_compound_page_dtor() 787 VM_BUG_ON_PAGE(page[1].compound_dtor >= NR_COMPOUND_DTORS, page); in get_compound_page_dtor() 1023 VM_BUG_ON_PAGE(page_ref_zero_or_close_to_overflow(page), page); in get_page() 1921 VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); in ptlock_init() 2014 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pgtable_pmd_page_dtor()
|
/Linux-v5.4/mm/ |
D | swap_state.c | 121 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap_cache() 122 VM_BUG_ON_PAGE(PageSwapCache(page), page); in add_to_swap_cache() 123 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in add_to_swap_cache() 134 VM_BUG_ON_PAGE(xas.xa_index != idx + i, page); in add_to_swap_cache() 165 VM_BUG_ON_PAGE(!PageLocked(page), page); in __delete_from_swap_cache() 166 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __delete_from_swap_cache() 167 VM_BUG_ON_PAGE(PageWriteback(page), page); in __delete_from_swap_cache() 171 VM_BUG_ON_PAGE(entry != page, entry); in __delete_from_swap_cache() 193 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap() 194 VM_BUG_ON_PAGE(!PageUptodate(page), page); in add_to_swap()
|
D | rmap.c | 1007 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_move_anon_rmap() 1107 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap() 1108 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in do_page_add_anon_rmap() 1130 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap() 1159 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in page_add_new_anon_rmap() 1165 VM_BUG_ON_PAGE(PageTransCompound(page), page); in page_add_new_anon_rmap() 1184 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap() 1217 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap() 1394 VM_BUG_ON_PAGE(PageHuge(page) || !PageTransCompound(page), page); in try_to_unmap_one() 1425 VM_BUG_ON_PAGE(!pvmw.pte, page); in try_to_unmap_one() [all …]
|
D | swap.c | 69 VM_BUG_ON_PAGE(!PageLRU(page), page); in __page_cache_release() 440 VM_BUG_ON_PAGE(PageActive(page) && PageUnevictable(page), page); in lru_cache_add() 441 VM_BUG_ON_PAGE(PageLRU(page), page); in lru_cache_add() 458 VM_BUG_ON_PAGE(PageLRU(page), page); in lru_cache_add_active_or_unevictable() 827 VM_BUG_ON_PAGE(!PageLRU(page), page); in release_pages() 874 VM_BUG_ON_PAGE(!PageHead(page), page); in lru_add_page_tail() 875 VM_BUG_ON_PAGE(PageCompound(page_tail), page); in lru_add_page_tail() 876 VM_BUG_ON_PAGE(PageLRU(page_tail), page); in lru_add_page_tail() 911 VM_BUG_ON_PAGE(PageLRU(page), page); in __pagevec_lru_add_fn()
|
D | page_io.c | 284 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage() 358 VM_BUG_ON_PAGE(!PageSwapCache(page) && !synchronous, page); in swap_readpage() 359 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage() 360 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage() 431 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in swap_set_page_dirty()
|
D | cleancache.c | 187 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_get_page() 225 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_put_page() 254 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_invalidate_page()
|
D | mlock.c | 93 VM_BUG_ON_PAGE(PageTail(page), page); in mlock_vma_page() 94 VM_BUG_ON_PAGE(PageCompound(page) && PageDoubleMap(page), page); in mlock_vma_page() 190 VM_BUG_ON_PAGE(PageTail(page), page); in munlock_vma_page() 249 VM_BUG_ON_PAGE(PageLRU(page), page); in __putback_lru_fast_prepare() 250 VM_BUG_ON_PAGE(!PageLocked(page), page); in __putback_lru_fast_prepare() 469 VM_BUG_ON_PAGE(PageMlocked(page), page); in munlock_vma_pages_range()
|
D | workingset.c | 232 VM_BUG_ON_PAGE(PageLRU(page), page); in workingset_eviction() 233 VM_BUG_ON_PAGE(page_count(page), page); in workingset_eviction() 234 VM_BUG_ON_PAGE(!PageLocked(page), page); in workingset_eviction()
|
D | migrate.c | 126 VM_BUG_ON_PAGE(!mapping, page); in isolate_movable_page() 151 VM_BUG_ON_PAGE(!PageLocked(page), page); in putback_movable_page() 152 VM_BUG_ON_PAGE(!PageMovable(page), page); in putback_movable_page() 153 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_page() 185 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_pages() 217 VM_BUG_ON_PAGE(PageTail(page), page); in remove_migration_pte() 228 VM_BUG_ON_PAGE(PageHuge(page) || !PageTransCompound(page), page); in remove_migration_pte() 447 VM_BUG_ON_PAGE(PageSwapCache(page), page); in migrate_page_move_mapping() 605 VM_BUG_ON_PAGE(PageUnevictable(page), page); in migrate_page_states() 934 VM_BUG_ON_PAGE(!PageLocked(page), page); in move_to_new_page() [all …]
|
D | balloon_compaction.c | 247 VM_BUG_ON_PAGE(!PageLocked(page), page); in balloon_page_migrate() 248 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in balloon_page_migrate()
|
D | huge_memory.c | 582 VM_BUG_ON_PAGE(!PageCompound(page), page); in __do_huge_pmd_anonymous_page() 1046 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd() 1252 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page_fallback() 1332 VM_BUG_ON_PAGE(!PageCompound(page) || !PageHead(page), page); in do_huge_pmd_wp_page() 1434 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page() 1486 VM_BUG_ON_PAGE(!PageHead(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd() 1524 VM_BUG_ON_PAGE(!PageCompound(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd() 1809 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd() 1810 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd() 2228 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked() [all …]
|
D | filemap.c | 133 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_cache_delete() 134 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_delete() 135 VM_BUG_ON_PAGE(nr != 1 && shadow, page); in page_cache_delete() 171 VM_BUG_ON_PAGE(PageTail(page), page); in unaccount_page_cache_page() 172 VM_BUG_ON_PAGE(page_mapped(page), page); in unaccount_page_cache_page() 252 VM_BUG_ON_PAGE(page_count(page) <= 0, page); in page_cache_free_page() 318 VM_BUG_ON_PAGE(page->index > pvec->pages[i]->index, in page_cache_delete_batch() 819 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page() 820 VM_BUG_ON_PAGE(!PageLocked(new), new); in replace_page_cache_page() 821 VM_BUG_ON_PAGE(new->mapping, new); in replace_page_cache_page() [all …]
|
D | khugepaged.c | 570 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate() 619 VM_BUG_ON_PAGE(!PageLocked(page), page); in __collapse_huge_page_isolate() 620 VM_BUG_ON_PAGE(PageLRU(page), page); in __collapse_huge_page_isolate() 675 VM_BUG_ON_PAGE(page_mapcount(src_page) != 1, src_page); in __collapse_huge_page_copy() 783 VM_BUG_ON_PAGE(*hpage, *hpage); in khugepaged_alloc_page() 1618 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_file() 1667 VM_BUG_ON_PAGE(page != xas_load(&xas), page); in collapse_file() 1668 VM_BUG_ON_PAGE(page_mapped(page), page); in collapse_file() 1789 VM_BUG_ON_PAGE(page->index != xas.xa_index, page); in collapse_file()
|
D | internal.h | 72 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted() 73 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
|
D | zsmalloc.c | 490 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page() 878 VM_BUG_ON_PAGE(!is_first_page(page), page); in obj_to_head() 951 VM_BUG_ON_PAGE(!PageLocked(page), page); in __free_zspage() 1928 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_isolate() 1929 VM_BUG_ON_PAGE(PageIsolated(page), page); in zs_page_isolate() 1995 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_migrate() 1996 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_migrate() 2104 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_putback() 2105 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_putback()
|
D | memcontrol.c | 849 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in mem_cgroup_charge_statistics() 2714 VM_BUG_ON_PAGE(PageLRU(page), page); in unlock_page_lru() 2726 VM_BUG_ON_PAGE(page->mem_cgroup, page); in commit_charge() 3032 VM_BUG_ON_PAGE(mem_cgroup_is_root(memcg), page); in __memcg_kmem_uncharge() 5440 VM_BUG_ON_PAGE(PageLRU(page), page); in mem_cgroup_move_account() 5619 VM_BUG_ON_PAGE(!page || !PageHead(page), page); in get_mctgt_type_thp() 6494 VM_BUG_ON_PAGE(!PageLocked(page), page); in mem_cgroup_try_charge() 6556 VM_BUG_ON_PAGE(!page->mapping, page); in mem_cgroup_commit_charge() 6557 VM_BUG_ON_PAGE(PageLRU(page) && !lrucare, page); in mem_cgroup_commit_charge() 6659 VM_BUG_ON_PAGE(PageLRU(page), page); in uncharge_page() [all …]
|
D | z3fold.c | 1342 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_isolate() 1343 VM_BUG_ON_PAGE(PageIsolated(page), page); in z3fold_page_isolate() 1380 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_migrate() 1381 VM_BUG_ON_PAGE(!PageIsolated(page), page); in z3fold_page_migrate() 1382 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in z3fold_page_migrate()
|
D | mmu_gather.c | 87 VM_BUG_ON_PAGE(batch->nr > batch->max, page); in __tlb_remove_page_size()
|
D | compaction.c | 100 VM_BUG_ON_PAGE(!PageLocked(page), page); in PageMovable() 114 VM_BUG_ON_PAGE(!PageLocked(page), page); in __SetPageMovable() 115 VM_BUG_ON_PAGE((unsigned long)mapping & PAGE_MAPPING_MOVABLE, page); in __SetPageMovable() 122 VM_BUG_ON_PAGE(!PageLocked(page), page); in __ClearPageMovable() 123 VM_BUG_ON_PAGE(!PageMovable(page), page); in __ClearPageMovable() 984 VM_BUG_ON_PAGE(PageCompound(page), page); in isolate_migratepages_block()
|
D | shmem.c | 614 VM_BUG_ON_PAGE(PageTail(page), page); in shmem_add_to_page_cache() 615 VM_BUG_ON_PAGE(index != round_down(index, nr), page); in shmem_add_to_page_cache() 616 VM_BUG_ON_PAGE(!PageLocked(page), page); in shmem_add_to_page_cache() 617 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in shmem_add_to_page_cache() 667 VM_BUG_ON_PAGE(PageCompound(page), page); in shmem_delete_from_page_cache() 836 VM_BUG_ON_PAGE(page_to_pgoff(page) != index, page); in shmem_undo_range() 861 VM_BUG_ON_PAGE(PageTail(page), page); in shmem_undo_range() 863 VM_BUG_ON_PAGE(PageWriteback(page), page); in shmem_undo_range() 966 VM_BUG_ON_PAGE(PageTail(page), page); in shmem_undo_range() 968 VM_BUG_ON_PAGE(PageWriteback(page), page); in shmem_undo_range() [all …]
|