/openbmc/linux/include/linux/ |
H A D | bootmem_info.h | 40 VM_BUG_ON_PAGE(page_ref_count(page) != 2, page); in free_bootmem_page() 45 VM_BUG_ON_PAGE(1, page); in free_bootmem_page()
|
H A D | mmdebug.h | 20 #define VM_BUG_ON_PAGE(cond, page) \ macro 97 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) macro 124 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page)
|
H A D | rmap.h | 216 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in __page_dup_rmap() 248 VM_BUG_ON_PAGE(!PageAnon(page), page); in page_try_dup_anon_rmap() 298 VM_BUG_ON_PAGE(!PageAnon(page) || !PageAnonExclusive(page), page); in page_try_share_anon_rmap()
|
H A D | page-flags.h | 849 VM_BUG_ON_PAGE(PageTail(page), page); in PAGEFLAG() 950 VM_BUG_ON_PAGE(!PageType(page, 0), page); \ 955 VM_BUG_ON_PAGE(!Page##uname(page), page); \
|
H A D | page_ref.h | 287 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
|
H A D | pagemap.h | 1421 VM_BUG_ON_PAGE(!PageLocked(page), page); in __readahead_batch() 1422 VM_BUG_ON_PAGE(PageTail(page), page); in __readahead_batch()
|
/openbmc/linux/mm/ |
H A D | balloon_compaction.c | 245 VM_BUG_ON_PAGE(!PageLocked(page), page); in balloon_page_migrate() 246 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in balloon_page_migrate()
|
H A D | huge_memory.c | 1126 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd() 1306 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page() 1448 VM_BUG_ON_PAGE(!PageHead(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd() 1464 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_trans_huge_pmd() 1475 VM_BUG_ON_PAGE(!PageCompound(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd() 1683 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd() 1684 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd() 2166 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked() 2376 VM_BUG_ON_PAGE(!PageHead(head), head); in lru_add_page_tail() 2377 VM_BUG_ON_PAGE(PageCompound(tail), head); in lru_add_page_tail() [all …]
|
H A D | rmap.c | 1187 VM_BUG_ON_PAGE(page_to_pgoff(page) != linear_page_index(vma, address), in __page_check_anon_rmap() 1239 VM_BUG_ON_PAGE(!first && (flags & RMAP_EXCLUSIVE), page); in page_add_anon_rmap() 1240 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in page_add_anon_rmap() 1399 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_rmap() 1550 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one() 2065 VM_BUG_ON_PAGE(pte_write(pteval) && folio_test_anon(folio) && in try_to_migrate_one() 2554 VM_BUG_ON_PAGE(!first && (flags & RMAP_EXCLUSIVE), page); in hugepage_add_anon_rmap() 2555 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in hugepage_add_anon_rmap()
|
H A D | internal.h | 219 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted() 220 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted() 363 VM_BUG_ON_PAGE(page_count(buddy) != 0, buddy); in page_is_buddy() 737 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address()
|
H A D | folio-compat.c | 130 VM_BUG_ON_PAGE(PageTail(page), page); in page_add_new_anon_rmap()
|
H A D | zsmalloc.c | 455 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page() 805 VM_BUG_ON_PAGE(!is_first_page(page), page); in obj_allocated() 864 VM_BUG_ON_PAGE(!PageLocked(page), page); in __free_zspage() 1787 VM_BUG_ON_PAGE(PageIsolated(page), page); in zs_page_isolate() 1819 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_migrate() 1884 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_putback()
|
H A D | page_alloc.c | 420 VM_BUG_ON_PAGE(!zone_spans_pfn(page_zone(page), pfn), page); in set_pfnblock_flags_mask() 778 VM_BUG_ON_PAGE(page->flags & PAGE_FLAGS_CHECK_AT_PREP, page); in __free_one_page() 784 VM_BUG_ON_PAGE(pfn & ((1 << order) - 1), page); in __free_one_page() 785 VM_BUG_ON_PAGE(bad_range(zone, page), page); in __free_one_page() 1087 VM_BUG_ON_PAGE(PageTail(page), page); in free_pages_prepare() 1126 VM_BUG_ON_PAGE(compound && compound_order(page) != order, page); in free_pages_prepare() 1248 VM_BUG_ON_PAGE(is_migrate_isolate(mt), page); in free_pcppages_bulk() 1416 VM_BUG_ON_PAGE(bad_range(zone, &page[size]), &page[size]); in expand() 1663 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in move_freepages() 1664 VM_BUG_ON_PAGE(page_zon in move_freepages() [all...] |
H A D | z3fold.c | 1254 VM_BUG_ON_PAGE(PageIsolated(page), page); in z3fold_page_isolate() 1291 VM_BUG_ON_PAGE(!PageIsolated(page), page); in z3fold_page_migrate() 1292 VM_BUG_ON_PAGE(!test_bit(PAGE_CLAIMED, &page->private), page); in z3fold_page_migrate() 1293 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in z3fold_page_migrate()
|
H A D | mmu_gather.c | 140 VM_BUG_ON_PAGE(batch->nr > batch->max, encoded_page_ptr(page)); in __tlb_remove_page_size()
|
H A D | slab.h | 449 VM_BUG_ON_PAGE(memcg_data && !(memcg_data & MEMCG_DATA_OBJCGS), in slab_objcgs() 451 VM_BUG_ON_PAGE(memcg_data & MEMCG_DATA_KMEM, slab_page(slab)); in slab_objcgs()
|
H A D | khugepaged.c | 579 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate() 645 VM_BUG_ON_PAGE(!PageLocked(page), page); in __collapse_huge_page_isolate() 646 VM_BUG_ON_PAGE(PageLRU(page), page); in __collapse_huge_page_isolate() 1912 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_file() 1971 VM_BUG_ON_PAGE(page != xa_load(xas.xa, index), page); in collapse_file()
|
H A D | compaction.c | 115 VM_BUG_ON_PAGE(!PageLocked(page), page); in PageMovable() 128 VM_BUG_ON_PAGE(!PageLocked(page), page); in __SetPageMovable() 129 VM_BUG_ON_PAGE((unsigned long)mops & PAGE_MAPPING_MOVABLE, page); in __SetPageMovable() 136 VM_BUG_ON_PAGE(!PageMovable(page), page); in __ClearPageMovable()
|
H A D | memremap.c | 483 VM_BUG_ON_PAGE(PageAnon(page) && PageCompound(page), page); in free_zone_device_page()
|
H A D | page_io.c | 375 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage()
|
H A D | truncate.c | 255 VM_BUG_ON_PAGE(PageTail(page), page); in generic_error_remove_page()
|
H A D | gup.c | 59 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page), page); in sanity_check_pinned_pages() 62 VM_BUG_ON_PAGE(!PageAnonExclusive(&folio->page) && in sanity_check_pinned_pages() 559 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_page_pte()
|
H A D | ksm.c | 917 VM_BUG_ON_PAGE(PageAnon(page) && PageAnonExclusive(page), page); in set_page_stable_node() 1227 VM_BUG_ON_PAGE(PageAnonExclusive(page), page); in replace_page() 1228 VM_BUG_ON_PAGE(PageAnon(kpage) && PageAnonExclusive(kpage), kpage); in replace_page()
|
H A D | swap_state.c | 156 VM_BUG_ON_PAGE(entry != folio, entry); in __delete_from_swap_cache()
|
/openbmc/linux/drivers/virt/acrn/ |
H A D | mm.c | 280 VM_BUG_ON_PAGE(PageTail(page), page); in acrn_vm_ram_map() 303 VM_BUG_ON_PAGE(PageTail(page), page); in acrn_vm_ram_map()
|