Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dpage-flags.h468 VM_BUG_ON_PAGE(PageTail(page), page); in __SetPageUptodate()
475 VM_BUG_ON_PAGE(PageTail(page), page); in SetPageUptodate()
553 VM_BUG_ON_PAGE(PageTail(page), page); in PageTransHuge()
618 VM_BUG_ON_PAGE(!PageHead(page), page); in SetPageDoubleMap()
624 VM_BUG_ON_PAGE(!PageHead(page), page); in ClearPageDoubleMap()
629 VM_BUG_ON_PAGE(!PageHead(page), page); in TestSetPageDoubleMap()
635 VM_BUG_ON_PAGE(!PageHead(page), page); in TestClearPageDoubleMap()
675 VM_BUG_ON_PAGE(!PageType(page, 0), page); \
680 VM_BUG_ON_PAGE(!Page##uname(page), page); \
717 VM_BUG_ON_PAGE(!PageSlab(page), page); in PageSlabPfmemalloc()
[all …]
Dmmdebug.h19 #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)
Dhugetlb_cgroup.h31 VM_BUG_ON_PAGE(!PageHuge(page), page); in hugetlb_cgroup_from_page()
41 VM_BUG_ON_PAGE(!PageHuge(page), page); in set_hugetlb_cgroup()
Dpagemap.h182 VM_BUG_ON_PAGE(page_count(page) == 0, page); in page_cache_get_speculative()
195 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_get_speculative()
211 VM_BUG_ON_PAGE(page_count(page) == 0, page); in page_cache_add_speculative()
218 VM_BUG_ON_PAGE(PageCompound(page) && page != compound_head(page), page); in page_cache_add_speculative()
Dmm.h519 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero()
612 VM_BUG_ON_PAGE(!PageCompound(page), page); in compound_mapcount()
631 VM_BUG_ON_PAGE(PageSlab(page), page); in page_mapcount()
693 VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); in set_compound_page_dtor()
699 VM_BUG_ON_PAGE(page[1].compound_dtor >= NR_COMPOUND_DTORS, page); in get_compound_page_dtor()
925 VM_BUG_ON_PAGE(page_ref_count(page) <= 0, page); in get_page()
1868 VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); in ptlock_init()
1969 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pgtable_pmd_page_dtor()
Dpage_ref.h175 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
/Linux-v4.19/mm/
Drmap.c1006 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_move_anon_rmap()
1106 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap()
1107 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in do_page_add_anon_rmap()
1129 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap()
1158 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in page_add_new_anon_rmap()
1164 VM_BUG_ON_PAGE(PageTransCompound(page), page); in page_add_new_anon_rmap()
1183 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap()
1192 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in page_add_file_rmap()
1214 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap()
1232 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in page_remove_file_rmap()
[all …]
Dswap.c68 VM_BUG_ON_PAGE(!PageLRU(page), page); in __page_cache_release()
444 VM_BUG_ON_PAGE(PageActive(page) && PageUnevictable(page), page); in lru_cache_add()
445 VM_BUG_ON_PAGE(PageLRU(page), page); in lru_cache_add()
462 VM_BUG_ON_PAGE(PageLRU(page), page); in lru_cache_add_active_or_unevictable()
777 VM_BUG_ON_PAGE(!PageLRU(page), page); in release_pages()
824 VM_BUG_ON_PAGE(!PageHead(page), page); in lru_add_page_tail()
825 VM_BUG_ON_PAGE(PageCompound(page_tail), page); in lru_add_page_tail()
826 VM_BUG_ON_PAGE(PageLRU(page_tail), page); in lru_add_page_tail()
864 VM_BUG_ON_PAGE(PageLRU(page), page); in __pagevec_lru_add_fn()
Dswap_state.c119 VM_BUG_ON_PAGE(!PageLocked(page), page); in __add_to_swap_cache()
120 VM_BUG_ON_PAGE(PageSwapCache(page), page); in __add_to_swap_cache()
121 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in __add_to_swap_cache()
183 VM_BUG_ON_PAGE(!PageLocked(page), page); in __delete_from_swap_cache()
184 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __delete_from_swap_cache()
185 VM_BUG_ON_PAGE(PageWriteback(page), page); in __delete_from_swap_cache()
212 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap()
213 VM_BUG_ON_PAGE(!PageUptodate(page), page); in add_to_swap()
Dpage_io.c285 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage()
359 VM_BUG_ON_PAGE(!PageSwapCache(page) && !synchronous, page); in swap_readpage()
360 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage()
361 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage()
429 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in swap_set_page_dirty()
Dcleancache.c188 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_get_page()
226 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_put_page()
255 VM_BUG_ON_PAGE(!PageLocked(page), page); in __cleancache_invalidate_page()
Dballoon_compaction.c164 VM_BUG_ON_PAGE(!PageLocked(page), page); in balloon_page_migrate()
165 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in balloon_page_migrate()
Dmlock.c93 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()
Dworkingset.c217 VM_BUG_ON_PAGE(PageLRU(page), page); in workingset_eviction()
218 VM_BUG_ON_PAGE(page_count(page), page); in workingset_eviction()
219 VM_BUG_ON_PAGE(!PageLocked(page), page); in workingset_eviction()
Dfilemap.c151 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_cache_tree_delete()
152 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_tree_delete()
153 VM_BUG_ON_PAGE(nr != 1 && shadow, page); in page_cache_tree_delete()
162 VM_BUG_ON_PAGE(!node && nr != 1, page); in page_cache_tree_delete()
200 VM_BUG_ON_PAGE(PageTail(page), page); in unaccount_page_cache_page()
201 VM_BUG_ON_PAGE(page_mapped(page), page); in unaccount_page_cache_page()
237 VM_BUG_ON_PAGE(PageTransHuge(page), page); in unaccount_page_cache_page()
280 VM_BUG_ON_PAGE(page_count(page) <= 0, page); in page_cache_free_page()
785 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page()
786 VM_BUG_ON_PAGE(!PageLocked(new), new); in replace_page_cache_page()
[all …]
Dhuge_memory.c553 VM_BUG_ON_PAGE(!PageCompound(page), page); in __do_huge_pmd_anonymous_page()
969 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd()
1178 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page_fallback()
1260 VM_BUG_ON_PAGE(!PageCompound(page) || !PageHead(page), page); in do_huge_pmd_wp_page()
1361 VM_BUG_ON_PAGE(!PageHead(page), page); in do_huge_pmd_wp_page()
1414 VM_BUG_ON_PAGE(!PageHead(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd()
1452 VM_BUG_ON_PAGE(!PageCompound(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd()
1727 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd()
1728 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd()
2140 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked()
[all …]
Dkhugepaged.c558 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate()
607 VM_BUG_ON_PAGE(!PageLocked(page), page); in __collapse_huge_page_isolate()
608 VM_BUG_ON_PAGE(PageLRU(page), page); in __collapse_huge_page_isolate()
663 VM_BUG_ON_PAGE(page_mapcount(src_page) != 1, src_page); in __collapse_huge_page_copy()
771 VM_BUG_ON_PAGE(*hpage, *hpage); in khugepaged_alloc_page()
1392 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_shmem()
1393 VM_BUG_ON_PAGE(!PageUptodate(page), page); in collapse_shmem()
1394 VM_BUG_ON_PAGE(PageTransCompound(page), page); in collapse_shmem()
1413 VM_BUG_ON_PAGE(page != radix_tree_deref_slot_protected(slot, in collapse_shmem()
1415 VM_BUG_ON_PAGE(page_mapped(page), page); in collapse_shmem()
[all …]
Dmigrate.c125 VM_BUG_ON_PAGE(!mapping, page); in isolate_movable_page()
150 VM_BUG_ON_PAGE(!PageLocked(page), page); in putback_movable_page()
151 VM_BUG_ON_PAGE(!PageMovable(page), page); in putback_movable_page()
152 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_page()
184 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_pages()
216 VM_BUG_ON_PAGE(PageTail(page), page); in remove_migration_pte()
227 VM_BUG_ON_PAGE(PageHuge(page) || !PageTransCompound(page), page); in remove_migration_pte()
519 VM_BUG_ON_PAGE(PageSwapCache(page), page); in migrate_page_move_mapping()
684 VM_BUG_ON_PAGE(PageUnevictable(page), page); in migrate_page_states()
925 VM_BUG_ON_PAGE(!PageLocked(page), page); in move_to_new_page()
[all …]
Dinternal.h76 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted()
77 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted()
Dzsmalloc.c487 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page()
891 VM_BUG_ON_PAGE(!is_first_page(page), page); in obj_to_head()
964 VM_BUG_ON_PAGE(!PageLocked(page), page); in __free_zspage()
1921 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_isolate()
1922 VM_BUG_ON_PAGE(PageIsolated(page), page); in zs_page_isolate()
1987 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_migrate()
1988 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_migrate()
2088 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_putback()
2089 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_putback()
Dcompaction.c99 VM_BUG_ON_PAGE(!PageLocked(page), page); in PageMovable()
113 VM_BUG_ON_PAGE(!PageLocked(page), page); in __SetPageMovable()
114 VM_BUG_ON_PAGE((unsigned long)mapping & PAGE_MAPPING_MOVABLE, page); in __SetPageMovable()
121 VM_BUG_ON_PAGE(!PageLocked(page), page); in __ClearPageMovable()
122 VM_BUG_ON_PAGE(!PageMovable(page), page); in __ClearPageMovable()
876 VM_BUG_ON_PAGE(PageCompound(page), page); in isolate_migratepages_block()
Dmemcontrol.c706 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in mem_cgroup_charge_statistics()
2354 VM_BUG_ON_PAGE(PageLRU(page), page); in unlock_page_lru()
2366 VM_BUG_ON_PAGE(page->mem_cgroup, page); in commit_charge()
2643 VM_BUG_ON_PAGE(mem_cgroup_is_root(memcg), page); in memcg_kmem_uncharge()
4791 VM_BUG_ON_PAGE(PageLRU(page), page); in mem_cgroup_move_account()
4948 VM_BUG_ON_PAGE(!page || !PageHead(page), page); in get_mctgt_type_thp()
5893 VM_BUG_ON_PAGE(!PageLocked(page), page); in mem_cgroup_try_charge()
5955 VM_BUG_ON_PAGE(!page->mapping, page); in mem_cgroup_commit_charge()
5956 VM_BUG_ON_PAGE(PageLRU(page) && !lrucare, page); in mem_cgroup_commit_charge()
6058 VM_BUG_ON_PAGE(PageLRU(page), page); in uncharge_page()
[all …]
Dshmem.c593 VM_BUG_ON_PAGE(PageTail(page), page); in shmem_add_to_page_cache()
594 VM_BUG_ON_PAGE(index != round_down(index, nr), page); in shmem_add_to_page_cache()
595 VM_BUG_ON_PAGE(!PageLocked(page), page); in shmem_add_to_page_cache()
596 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in shmem_add_to_page_cache()
654 VM_BUG_ON_PAGE(PageCompound(page), page); in shmem_delete_from_page_cache()
835 VM_BUG_ON_PAGE(page_to_pgoff(page) != index, page); in shmem_undo_range()
860 VM_BUG_ON_PAGE(PageTail(page), page); in shmem_undo_range()
862 VM_BUG_ON_PAGE(PageWriteback(page), page); in shmem_undo_range()
965 VM_BUG_ON_PAGE(PageTail(page), page); in shmem_undo_range()
967 VM_BUG_ON_PAGE(PageWriteback(page), page); in shmem_undo_range()
[all …]
Dvmscan.c1132 VM_BUG_ON_PAGE(PageActive(page), page); in shrink_page_list()
1476 VM_BUG_ON_PAGE(PageActive(page), page); in shrink_page_list()
1486 VM_BUG_ON_PAGE(PageLRU(page) || PageUnevictable(page), page); in shrink_page_list()
1677 VM_BUG_ON_PAGE(!PageLRU(page), page); in isolate_lru_pages()
1766 VM_BUG_ON_PAGE(!page_count(page), page); in isolate_lru_page()
1838 VM_BUG_ON_PAGE(PageLRU(page), page); in putback_inactive_pages()
2041 VM_BUG_ON_PAGE(PageLRU(page), page); in move_active_pages_to_lru()
4201 VM_BUG_ON_PAGE(PageActive(page), page); in check_move_unevictable_pages()
/Linux-v4.19/arch/s390/mm/
Dgup.c48 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_pte_range()
147 VM_BUG_ON_PAGE(compound_head(page) != head, page); in gup_huge_pud()

12