Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/linux/
Dbootmem_info.h39 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()
Dmmdebug.h18 #define VM_BUG_ON_PAGE(cond, page) \ macro
84 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) macro
110 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page)
Dhugetlb_cgroup.h72 VM_BUG_ON_PAGE(!PageHuge(page), page); in __hugetlb_cgroup_from_page()
96 VM_BUG_ON_PAGE(!PageHuge(page), page); in __set_hugetlb_cgroup()
Drmap.h237 VM_BUG_ON_PAGE(!PageAnon(page), page); in page_try_dup_anon_rmap()
287 VM_BUG_ON_PAGE(!PageAnon(page) || !PageAnonExclusive(page), page); in page_try_share_anon_rmap()
Dpage-flags.h849 VM_BUG_ON_PAGE(PageTail(page), page); in TESTPAGEFLAG_FALSE()
960 VM_BUG_ON_PAGE(!PageType(page, 0), page); \
965 VM_BUG_ON_PAGE(!Page##uname(page), page); \
Dpage_ref.h332 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
Dpagemap.h1309 VM_BUG_ON_PAGE(!PageLocked(page), page); in __readahead_batch()
1310 VM_BUG_ON_PAGE(PageTail(page), page); in __readahead_batch()
Dmm.h757 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero()
928 VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); in set_compound_page_dtor()
2356 VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); in ptlock_init()
2449 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pmd_ptlock_free()
/Linux-v6.1/mm/
Drmap.c1178 VM_BUG_ON_PAGE(page_to_pgoff(page) != linear_page_index(vma, address), in __page_check_anon_rmap()
1203 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_add_anon_rmap()
1207 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_add_anon_rmap()
1208 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in page_add_anon_rmap()
1214 VM_BUG_ON_PAGE(!first && (flags & RMAP_EXCLUSIVE), page); in page_add_anon_rmap()
1215 VM_BUG_ON_PAGE(!first && PageAnonExclusive(page), page); in page_add_anon_rmap()
1265 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in page_add_new_anon_rmap()
1292 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap()
1340 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap()
1543 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one()
[all …]
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()
Dpage_io.c342 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage()
458 VM_BUG_ON_PAGE(!PageSwapCache(page) && !synchronous, page); in swap_readpage()
459 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage()
460 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage()
Dinternal.h161 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted()
162 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
287 VM_BUG_ON_PAGE(page_count(buddy) != 0, buddy); in page_is_buddy()
579 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address()
Dhuge_memory.c660 VM_BUG_ON_PAGE(!PageCompound(page), page); in __do_huge_pmd_anonymous_page()
1146 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd()
1331 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page()
1442 VM_BUG_ON_PAGE(!PageHead(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd()
1459 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_trans_huge_pmd()
1469 VM_BUG_ON_PAGE(!PageCompound(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd()
1670 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
1671 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd()
2143 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked()
2398 VM_BUG_ON_PAGE(!PageHead(head), head); in lru_add_page_tail()
[all …]
Dzsmalloc.c471 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page()
868 VM_BUG_ON_PAGE(!is_first_page(page), page); in obj_allocated()
926 VM_BUG_ON_PAGE(!PageLocked(page), page); in __free_zspage()
1830 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_isolate()
1831 VM_BUG_ON_PAGE(PageIsolated(page), page); in zs_page_isolate()
1862 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_migrate()
1863 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_migrate()
1932 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_putback()
1933 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_putback()
Dz3fold.c1466 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_isolate()
1467 VM_BUG_ON_PAGE(PageIsolated(page), page); in z3fold_page_isolate()
1506 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_migrate()
1507 VM_BUG_ON_PAGE(!PageIsolated(page), page); in z3fold_page_migrate()
1508 VM_BUG_ON_PAGE(!test_bit(PAGE_CLAIMED, &page->private), page); in z3fold_page_migrate()
1509 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in z3fold_page_migrate()
Dmmu_gather.c101 VM_BUG_ON_PAGE(batch->nr > batch->max, page); in __tlb_remove_page_size()
Dkhugepaged.c570 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate()
636 VM_BUG_ON_PAGE(!PageLocked(page), page); in __collapse_huge_page_isolate()
637 VM_BUG_ON_PAGE(PageLRU(page), page); in __collapse_huge_page_isolate()
1890 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_file()
1949 VM_BUG_ON_PAGE(page != xas_load(&xas), page); in collapse_file()
2085 VM_BUG_ON_PAGE(page->index != xas.xa_index, page); in collapse_file()
Dslab.h442 VM_BUG_ON_PAGE(memcg_data && !(memcg_data & MEMCG_DATA_OBJCGS), in slab_objcgs()
444 VM_BUG_ON_PAGE(memcg_data & MEMCG_DATA_KMEM, slab_page(slab)); in slab_objcgs()
Dpage_alloc.c618 VM_BUG_ON_PAGE(!zone_spans_pfn(page_zone(page), pfn), page); in set_pfnblock_flags_mask()
1123 VM_BUG_ON_PAGE(page->flags & PAGE_FLAGS_CHECK_AT_PREP, page); in __free_one_page()
1129 VM_BUG_ON_PAGE(pfn & ((1 << order) - 1), page); in __free_one_page()
1130 VM_BUG_ON_PAGE(bad_range(zone, page), page); in __free_one_page()
1407 VM_BUG_ON_PAGE(PageTail(page), page); in free_pages_prepare()
1432 VM_BUG_ON_PAGE(compound && compound_order(page) != order, page); in free_pages_prepare()
1604 VM_BUG_ON_PAGE(is_migrate_isolate(mt), page); in free_pcppages_bulk()
2355 VM_BUG_ON_PAGE(bad_range(zone, &page[size]), &page[size]); in expand()
2640 VM_BUG_ON_PAGE(page_to_nid(page) != zone_to_nid(zone), page); in move_freepages()
2641 VM_BUG_ON_PAGE(page_zone(page) != zone, page); in move_freepages()
[all …]
Dcompaction.c115 VM_BUG_ON_PAGE(!PageLocked(page), page); in PageMovable()
129 VM_BUG_ON_PAGE(!PageLocked(page), page); in __SetPageMovable()
130 VM_BUG_ON_PAGE((unsigned long)mops & PAGE_MAPPING_MOVABLE, page); in __SetPageMovable()
137 VM_BUG_ON_PAGE(!PageMovable(page), page); in __ClearPageMovable()
Dmigrate.c102 VM_BUG_ON_PAGE(!mops, page); in isolate_movable_page()
155 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_pages()
2123 VM_BUG_ON_PAGE(order && !PageTransHuge(page), page); in numamigrate_isolate_page()
Dmemremap.c483 VM_BUG_ON_PAGE(PageAnon(page) && PageCompound(page), page); in free_zone_device_page()
Dhugetlb.c1135 VM_BUG_ON_PAGE(page_count(page), page); in enqueue_huge_page()
1450 VM_BUG_ON_PAGE(hugetlb_cgroup_from_page(page), page); in __remove_hugetlb_page()
1451 VM_BUG_ON_PAGE(hugetlb_cgroup_from_page_rsvd(page), page); in __remove_hugetlb_page()
1517 VM_BUG_ON_PAGE(!HPageVmemmapOptimized(page), page); in add_hugetlb_page()
1712 VM_BUG_ON_PAGE(page_count(page), page); in free_huge_page()
1713 VM_BUG_ON_PAGE(page_mapcount(page), page); in free_huge_page()
1845 VM_BUG_ON_PAGE(page_count(p), p); in __prep_compound_gigantic_page()
5350 VM_BUG_ON_PAGE(PageAnon(old_page) && PageAnonExclusive(old_page), in hugetlb_wp()
6340 VM_BUG_ON_PAGE((flags & FOLL_PIN) && PageAnon(page) && in follow_hugetlb_page()
Dtruncate.c256 VM_BUG_ON_PAGE(PageTail(page), page); in generic_error_remove_page()
/Linux-v6.1/drivers/virt/acrn/
Dmm.c240 VM_BUG_ON_PAGE(PageTail(page), page); in acrn_vm_ram_map()
265 VM_BUG_ON_PAGE(PageTail(page), page); in acrn_vm_ram_map()

12