/linux/mm/ |
A D | swap_state.c | 109 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap_cache() 110 VM_BUG_ON_PAGE(PageSwapCache(page), page); in add_to_swap_cache() 111 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in add_to_swap_cache() 122 VM_BUG_ON_PAGE(xas.xa_index != idx + i, page); in add_to_swap_cache() 160 VM_BUG_ON_PAGE(!PageLocked(page), page); in __delete_from_swap_cache() 161 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __delete_from_swap_cache() 162 VM_BUG_ON_PAGE(PageWriteback(page), page); in __delete_from_swap_cache() 166 VM_BUG_ON_PAGE(entry != page, entry); in __delete_from_swap_cache() 189 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap() 190 VM_BUG_ON_PAGE(!PageUptodate(page), page); in add_to_swap()
|
A D | rmap.c | 1025 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_move_anon_rmap() 1130 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap() 1134 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap() 1135 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in do_page_add_anon_rmap() 1463 VM_BUG_ON_PAGE(!pvmw.pte, page); in try_to_unmap_one() 1750 VM_BUG_ON_PAGE(PageHuge(page) || in try_to_migrate_one() 1759 VM_BUG_ON_PAGE(!pvmw.pte, page); in try_to_migrate_one() 2072 VM_BUG_ON_PAGE(!pvmw.pte, page); in page_make_device_exclusive_one() 2281 VM_BUG_ON_PAGE(!anon_vma, page); in rmap_walk_anon() 2337 VM_BUG_ON_PAGE(!PageLocked(page), page); in rmap_walk_file() [all …]
|
A D | page_io.c | 292 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage() 363 VM_BUG_ON_PAGE(!PageSwapCache(page) && !synchronous, page); in swap_readpage() 364 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage() 365 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage() 445 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in swap_set_page_dirty()
|
A 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()
|
A D | mlock.c | 96 VM_BUG_ON_PAGE(PageTail(page), page); in mlock_vma_page() 97 VM_BUG_ON_PAGE(PageCompound(page) && PageDoubleMap(page), page); in mlock_vma_page() 174 VM_BUG_ON_PAGE(PageTail(page), page); in munlock_vma_page() 219 VM_BUG_ON_PAGE(PageLRU(page), page); in __putback_lru_fast_prepare() 220 VM_BUG_ON_PAGE(!PageLocked(page), page); in __putback_lru_fast_prepare() 446 VM_BUG_ON_PAGE(PageMlocked(page), page); in munlock_vma_pages_range()
|
A D | huge_memory.c | 604 VM_BUG_ON_PAGE(!PageCompound(page), page); in __do_huge_pmd_anonymous_page() 1304 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page() 1615 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd() 2059 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked() 2289 VM_BUG_ON_PAGE(!PageHead(page), page); in unmap_page() 2322 VM_BUG_ON_PAGE(!PageHead(head), head); in lru_add_page_tail() 2323 VM_BUG_ON_PAGE(PageCompound(tail), head); in lru_add_page_tail() 2324 VM_BUG_ON_PAGE(PageLRU(tail), head); in lru_add_page_tail() 2501 VM_BUG_ON_PAGE(PageTail(page), page); in total_mapcount() 2550 VM_BUG_ON_PAGE(PageHuge(page), page); in page_trans_huge_mapcount() [all …]
|
A D | internal.h | 135 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted() 136 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted() 436 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address() 465 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address_end()
|
A D | workingset.c | 263 VM_BUG_ON_PAGE(PageLRU(page), page); in workingset_eviction() 264 VM_BUG_ON_PAGE(page_count(page), page); in workingset_eviction() 265 VM_BUG_ON_PAGE(!PageLocked(page), page); in workingset_eviction()
|
A 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()
|
A D | migrate.c | 102 VM_BUG_ON_PAGE(!mapping, page); in isolate_movable_page() 156 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_pages() 188 VM_BUG_ON_PAGE(PageTail(page), page); in remove_migration_pte() 199 VM_BUG_ON_PAGE(PageHuge(page) || !PageTransCompound(page), page); in remove_migration_pte() 882 VM_BUG_ON_PAGE(!PageLocked(page), page); in move_to_new_page() 883 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in move_to_new_page() 908 VM_BUG_ON_PAGE(!PageIsolated(page), page); in move_to_new_page() 927 VM_BUG_ON_PAGE(!PageIsolated(page), page); in move_to_new_page() 1049 VM_BUG_ON_PAGE(PageAnon(page), page); in __unmap_and_move() 1056 VM_BUG_ON_PAGE(PageAnon(page) && !PageKsm(page) && !anon_vma, in __unmap_and_move() [all …]
|
A D | filemap.c | 137 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_cache_delete() 138 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_delete() 139 VM_BUG_ON_PAGE(nr != 1 && shadow, page); in page_cache_delete() 164 VM_BUG_ON_PAGE(PageTail(page), page); in unaccount_page_cache_page() 165 VM_BUG_ON_PAGE(page_mapped(page), page); in unaccount_page_cache_page() 245 VM_BUG_ON_PAGE(page_count(page) <= 0, page); in page_cache_free_page() 314 VM_BUG_ON_PAGE(page->index > pvec->pages[i]->index, in page_cache_delete_batch() 859 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page() 860 VM_BUG_ON_PAGE(!PageLocked(new), new); in replace_page_cache_page() 861 VM_BUG_ON_PAGE(new->mapping, new); in replace_page_cache_page() [all …]
|
A D | zsmalloc.c | 486 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page() 871 VM_BUG_ON_PAGE(!is_first_page(page), page); in obj_to_head() 944 VM_BUG_ON_PAGE(!PageLocked(page), page); in __free_zspage() 1878 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_isolate() 1879 VM_BUG_ON_PAGE(PageIsolated(page), page); in zs_page_isolate() 1945 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_migrate() 1946 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_migrate() 2057 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_putback() 2058 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_putback()
|
A D | khugepaged.c | 634 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate() 706 VM_BUG_ON_PAGE(!PageLocked(page), page); in __collapse_huge_page_isolate() 707 VM_BUG_ON_PAGE(PageLRU(page), page); in __collapse_huge_page_isolate() 882 VM_BUG_ON_PAGE(*hpage, *hpage); in khugepaged_alloc_page() 1786 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_file() 1837 VM_BUG_ON_PAGE(page != xas_load(&xas), page); in collapse_file() 1838 VM_BUG_ON_PAGE(page_mapped(page), page); in collapse_file() 1964 VM_BUG_ON_PAGE(page->index != xas.xa_index, page); in collapse_file()
|
A D | z3fold.c | 1567 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_isolate() 1568 VM_BUG_ON_PAGE(PageIsolated(page), page); in z3fold_page_isolate() 1608 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_migrate() 1609 VM_BUG_ON_PAGE(!PageIsolated(page), page); in z3fold_page_migrate() 1610 VM_BUG_ON_PAGE(!test_bit(PAGE_CLAIMED, &page->private), page); in z3fold_page_migrate() 1611 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in z3fold_page_migrate()
|
A D | mmu_gather.c | 87 VM_BUG_ON_PAGE(batch->nr > batch->max, page); in __tlb_remove_page_size()
|
A D | page_alloc.c | 547 VM_BUG_ON_PAGE(!zone_spans_pfn(page_zone(page), pfn), page); in set_pfnblock_flags_mask() 905 VM_BUG_ON_PAGE(page_count(buddy) != 0, buddy); in page_is_buddy() 1077 VM_BUG_ON_PAGE(pfn & ((1 << order) - 1), page); in __free_one_page() 1078 VM_BUG_ON_PAGE(bad_range(zone, page), page); in __free_one_page() 1288 VM_BUG_ON_PAGE(PageTail(page), page); in free_pages_prepare() 1526 VM_BUG_ON_PAGE(is_migrate_isolate(mt), page); in free_pcppages_bulk() 2521 VM_BUG_ON_PAGE(page_zone(page) != zone, page); in move_freepages() 3485 VM_BUG_ON_PAGE(PageCompound(page), page); in split_page() 3486 VM_BUG_ON_PAGE(!page_count(page), page); in split_page() 3728 VM_BUG_ON_PAGE(page && bad_range(zone, page), page); in rmqueue() [all …]
|
A D | gup.c | 34 VM_BUG_ON_PAGE(!hpage_pincount_available(page), page); in hpage_pincount_add() 35 VM_BUG_ON_PAGE(page != compound_head(page), page); in hpage_pincount_add() 42 VM_BUG_ON_PAGE(!hpage_pincount_available(page), page); in hpage_pincount_sub() 43 VM_BUG_ON_PAGE(page != compound_head(page), page); in hpage_pincount_sub() 2314 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_pte_range()
|
/linux/include/linux/ |
A D | mmdebug.h | 18 #define VM_BUG_ON_PAGE(cond, page) \ macro 75 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) macro 94 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page)
|
A D | bootmem_info.h | 39 VM_BUG_ON_PAGE(page_ref_count(page) != 2, page); in free_bootmem_page() 44 VM_BUG_ON_PAGE(1, page); in free_bootmem_page()
|
A D | page-flags.h | 743 VM_BUG_ON_PAGE(PageTail(page), page); in TESTPAGEFLAG_FALSE() 854 VM_BUG_ON_PAGE(!PageType(page, 0), page); \ 859 VM_BUG_ON_PAGE(!Page##uname(page), page); \ 918 VM_BUG_ON_PAGE(!PageSlab(page), page); in PageSlabPfmemalloc() 933 VM_BUG_ON_PAGE(!PageSlab(page), page); in SetPageSlabPfmemalloc() 939 VM_BUG_ON_PAGE(!PageSlab(page), page); in __ClearPageSlabPfmemalloc() 945 VM_BUG_ON_PAGE(!PageSlab(page), page); in ClearPageSlabPfmemalloc()
|
A D | hugetlb_cgroup.h | 65 VM_BUG_ON_PAGE(!PageHuge(page), page); in __hugetlb_cgroup_from_page() 89 VM_BUG_ON_PAGE(!PageHuge(page), page); in __set_hugetlb_cgroup()
|
A D | mm.h | 737 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero() 809 VM_BUG_ON_PAGE(!PageCompound(page), page); in compound_mapcount() 899 VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); in set_compound_page_dtor() 905 VM_BUG_ON_PAGE(page[1].compound_dtor >= NR_COMPOUND_DTORS, page); in destroy_compound_page() 948 VM_BUG_ON_PAGE(!hpage_pincount_available(page), page); in compound_pincount() 2331 VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); in ptlock_init() 2424 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pmd_ptlock_free()
|
A D | page_ref.h | 332 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
|
A D | memcontrol.h | 553 VM_BUG_ON_PAGE(memcg_data && !(memcg_data & MEMCG_DATA_OBJCGS), page); in page_objcgs() 554 VM_BUG_ON_PAGE(memcg_data & MEMCG_DATA_KMEM, page); in page_objcgs() 574 VM_BUG_ON_PAGE(memcg_data & MEMCG_DATA_KMEM, page); in page_objcgs_check()
|
/linux/drivers/virt/acrn/ |
A D | mm.c | 216 VM_BUG_ON_PAGE(PageTail(page), page); in acrn_vm_ram_map() 242 VM_BUG_ON_PAGE(PageTail(page), page); in acrn_vm_ram_map()
|