Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Dbootmem_info.h40 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 Dmmdebug.h20 #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 Drmap.h216 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 Dpage-flags.h849 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 Dpage_ref.h287 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
H A Dpagemap.h1421 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 Dballoon_compaction.c245 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 Dhuge_memory.c1137 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd()
1317 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page()
1459 VM_BUG_ON_PAGE(!PageHead(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd()
1475 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_trans_huge_pmd()
1694 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
1695 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd()
2177 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked()
2387 VM_BUG_ON_PAGE(!PageHead(head), head); in lru_add_page_tail()
2388 VM_BUG_ON_PAGE(PageCompound(tail), head); in lru_add_page_tail()
2389 VM_BUG_ON_PAGE(PageLRU(tail), head); in lru_add_page_tail()
[all …]
H A Dinternal.h174 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted()
175 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
318 VM_BUG_ON_PAGE(page_count(buddy) != 0, buddy); in page_is_buddy()
667 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address()
H A Dfolio-compat.c130 VM_BUG_ON_PAGE(PageTail(page), page); in page_add_new_anon_rmap()
H A Drmap.c1187 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 Dzsmalloc.c455 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 Dpage_alloc.c420 VM_BUG_ON_PAGE(!zone_spans_pfn(page_zone(page), pfn), page); in set_pfnblock_flags_mask()
786 VM_BUG_ON_PAGE(pfn & ((1 << order) - 1), page); in __free_one_page()
787 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()
1234 VM_BUG_ON_PAGE(is_migrate_isolate(mt), page); in free_pcppages_bulk()
1402 VM_BUG_ON_PAGE(bad_range(zone, &page[size]), &page[size]); in expand()
1650 VM_BUG_ON_PAGE(page_zone(page) != zone, page); in move_freepages()
2544 VM_BUG_ON_PAGE(PageCompound(page), page); in split_page()
2545 VM_BUG_ON_PAGE(!page_count(page), page); in split_page()
2805 VM_BUG_ON_PAGE(page && bad_range(zone, page), page); in rmqueue()
[all …]
H A Dz3fold.c1254 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 Dmmu_gather.c140 VM_BUG_ON_PAGE(batch->nr > batch->max, encoded_page_ptr(page)); in __tlb_remove_page_size()
H A Dslab.h444 VM_BUG_ON_PAGE(memcg_data && !(memcg_data & MEMCG_DATA_OBJCGS), in slab_objcgs()
446 VM_BUG_ON_PAGE(memcg_data & MEMCG_DATA_KMEM, slab_page(slab)); in slab_objcgs()
H A Dkhugepaged.c579 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()
1921 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_file()
1980 VM_BUG_ON_PAGE(page != xa_load(xas.xa, index), page); in collapse_file()
H A Dcompaction.c115 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 Dmemremap.c483 VM_BUG_ON_PAGE(PageAnon(page) && PageCompound(page), page); in free_zone_device_page()
H A Dpage_io.c375 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage()
H A Dtruncate.c255 VM_BUG_ON_PAGE(PageTail(page), page); in generic_error_remove_page()
H A Dgup.c59 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 Dksm.c917 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 Dswap_state.c156 VM_BUG_ON_PAGE(entry != folio, entry); in __delete_from_swap_cache()
/openbmc/linux/drivers/virt/acrn/
H A Dmm.c280 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()

12