| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mmdebug.h | 19 #define VM_BUG_ON_PAGE(cond, page) \ macro 58 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) macro 75 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page)
|
| H A D | page-flags.h | 543 VM_BUG_ON_PAGE(PageTail(page), page); in __SetPageUptodate() 550 VM_BUG_ON_PAGE(PageTail(page), page); in SetPageUptodate() 628 VM_BUG_ON_PAGE(PageTail(page), page); in PageTransHuge() 746 VM_BUG_ON_PAGE(!PageType(page, 0), page); \ 751 VM_BUG_ON_PAGE(!Page##uname(page), page); \ 806 VM_BUG_ON_PAGE(!PageSlab(page), page); in PageSlabPfmemalloc() 812 VM_BUG_ON_PAGE(!PageSlab(page), page); in SetPageSlabPfmemalloc() 818 VM_BUG_ON_PAGE(!PageSlab(page), page); in __ClearPageSlabPfmemalloc() 824 VM_BUG_ON_PAGE(!PageSlab(page), page); in ClearPageSlabPfmemalloc()
|
| H A D | pagemap.h | 220 VM_BUG_ON_PAGE(page_count(page) == 0, page); in __page_cache_add_speculative() 233 VM_BUG_ON_PAGE(PageTail(page), page); in __page_cache_add_speculative() 886 VM_BUG_ON_PAGE(!PageLocked(page), page); in readahead_page() 909 VM_BUG_ON_PAGE(!PageLocked(page), page); in __readahead_batch() 910 VM_BUG_ON_PAGE(PageTail(page), page); in __readahead_batch()
|
| H A D | hugetlb_cgroup.h | 64 VM_BUG_ON_PAGE(!PageHuge(page), page); in __hugetlb_cgroup_from_page() 88 VM_BUG_ON_PAGE(!PageHuge(page), page); in __set_hugetlb_cgroup()
|
| H A D | mm.h | 761 VM_BUG_ON_PAGE(page_ref_count(page) == 0, page); in put_page_testzero() 865 VM_BUG_ON_PAGE(!PageCompound(page), page); in compound_mapcount() 952 VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); in set_compound_page_dtor() 958 VM_BUG_ON_PAGE(page[1].compound_dtor >= NR_COMPOUND_DTORS, page); in destroy_compound_page() 987 VM_BUG_ON_PAGE(!hpage_pincount_available(page), page); in compound_pincount() 1224 VM_BUG_ON_PAGE(page_ref_zero_or_close_to_overflow(page), page); in get_page() 2338 VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); in ptlock_init() 2431 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pmd_ptlock_free()
|
| H A D | page_ref.h | 184 VM_BUG_ON_PAGE(page_count(page) != 0, page); in page_ref_unfreeze()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | rmap.c | 1038 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_move_anon_rmap() 1101 VM_BUG_ON_PAGE(page_anon_vma(page)->root != vma->anon_vma->root, page); in __page_check_anon_rmap() 1102 VM_BUG_ON_PAGE(page_to_pgoff(page) != linear_page_index(vma, address), in __page_check_anon_rmap() 1139 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap() 1143 VM_BUG_ON_PAGE(!PageLocked(page), page); in do_page_add_anon_rmap() 1144 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in do_page_add_anon_rmap() 1198 VM_BUG_ON_PAGE(!PageTransHuge(page), page); in __page_add_new_anon_rmap() 1207 VM_BUG_ON_PAGE(PageTransCompound(page), page); in __page_add_new_anon_rmap() 1228 VM_BUG_ON_PAGE(compound && !PageTransHuge(page), page); in page_add_file_rmap() 1277 VM_BUG_ON_PAGE(compound && !PageHead(page), page); in page_remove_file_rmap() [all …]
|
| H A D | swap_state.c | 138 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap_cache() 139 VM_BUG_ON_PAGE(PageSwapCache(page), page); in add_to_swap_cache() 140 VM_BUG_ON_PAGE(!PageSwapBacked(page), page); in add_to_swap_cache() 153 VM_BUG_ON_PAGE(xas.xa_index != idx + i, page); in add_to_swap_cache() 192 VM_BUG_ON_PAGE(!PageLocked(page), page); in __delete_from_swap_cache() 193 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __delete_from_swap_cache() 194 VM_BUG_ON_PAGE(PageWriteback(page), page); in __delete_from_swap_cache() 198 VM_BUG_ON_PAGE(entry != page, entry); in __delete_from_swap_cache() 222 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap() 223 VM_BUG_ON_PAGE(!PageUptodate(page), page); in add_to_swap()
|
| H A D | page_io.c | 262 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage() 340 VM_BUG_ON_PAGE(!PageSwapCache(page) && !synchronous, page); in swap_readpage() 341 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage() 342 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage() 423 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in swap_set_page_dirty()
|
| H A D | swap.c | 90 VM_BUG_ON_PAGE(!PageLRU(page), page); in __page_cache_release() 481 VM_BUG_ON_PAGE(PageActive(page) && PageUnevictable(page), page); in lru_cache_add() 482 VM_BUG_ON_PAGE(PageLRU(page), page); in lru_cache_add() 506 VM_BUG_ON_PAGE(PageLRU(page), page); in __lru_cache_add_inactive_or_unevictable() 1069 VM_BUG_ON_PAGE(!PageLRU(page), page); in release_pages() 1112 VM_BUG_ON_PAGE(!PageHead(page), page); in lru_add_page_tail() 1113 VM_BUG_ON_PAGE(PageCompound(page_tail), page); in lru_add_page_tail() 1114 VM_BUG_ON_PAGE(PageLRU(page_tail), page); in lru_add_page_tail() 1147 VM_BUG_ON_PAGE(PageLRU(page), page); in __pagevec_lru_add_fn()
|
| H 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()
|
| H 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() 196 VM_BUG_ON_PAGE(PageTail(page), page); in munlock_vma_page() 255 VM_BUG_ON_PAGE(PageLRU(page), page); in __putback_lru_fast_prepare() 256 VM_BUG_ON_PAGE(!PageLocked(page), page); in __putback_lru_fast_prepare() 484 VM_BUG_ON_PAGE(PageMlocked(page), page); in munlock_vma_pages_range()
|
| H A D | internal.h | 115 VM_BUG_ON_PAGE(PageTail(page), page); in set_page_refcounted() 116 VM_BUG_ON_PAGE(page_ref_count(page), page); in set_page_refcounted() 412 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address() 441 VM_BUG_ON_PAGE(PageKsm(page), page); /* KSM page->index unusable */ in vma_address_end()
|
| H A D | migrate.c | 104 VM_BUG_ON_PAGE(!mapping, page); in isolate_movable_page() 129 VM_BUG_ON_PAGE(!PageLocked(page), page); in putback_movable_page() 130 VM_BUG_ON_PAGE(!PageMovable(page), page); in putback_movable_page() 131 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_page() 163 VM_BUG_ON_PAGE(!PageIsolated(page), page); in putback_movable_pages() 196 VM_BUG_ON_PAGE(PageTail(page), page); in remove_migration_pte() 207 VM_BUG_ON_PAGE(PageHuge(page) || !PageTransCompound(page), page); in remove_migration_pte() 433 VM_BUG_ON_PAGE(PageSwapCache(page), page); in migrate_page_move_mapping() 600 VM_BUG_ON_PAGE(PageUnevictable(page), page); in migrate_page_states() 933 VM_BUG_ON_PAGE(!PageLocked(page), page); in move_to_new_page() [all …]
|
| H A D | workingset.c | 261 VM_BUG_ON_PAGE(PageLRU(page), page); in workingset_eviction() 262 VM_BUG_ON_PAGE(page_count(page), page); in workingset_eviction() 263 VM_BUG_ON_PAGE(!PageLocked(page), page); in workingset_eviction()
|
| H A D | filemap.c | 139 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_cache_delete() 140 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_delete() 141 VM_BUG_ON_PAGE(nr != 1 && shadow, page); in page_cache_delete() 177 VM_BUG_ON_PAGE(PageTail(page), page); in unaccount_page_cache_page() 178 VM_BUG_ON_PAGE(page_mapped(page), page); in unaccount_page_cache_page() 258 VM_BUG_ON_PAGE(page_count(page) <= 0, page); in page_cache_free_page() 324 VM_BUG_ON_PAGE(page->index > pvec->pages[i]->index, in page_cache_delete_batch() 803 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page() 804 VM_BUG_ON_PAGE(!PageLocked(new), new); in replace_page_cache_page() 805 VM_BUG_ON_PAGE(new->mapping, new); in replace_page_cache_page() [all …]
|
| H 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()
|
| H A D | huge_memory.c | 589 VM_BUG_ON_PAGE(!PageCompound(page), page); in __do_huge_pmd_anonymous_page() 1083 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd() 1291 VM_BUG_ON_PAGE(!PageCompound(page) || !PageHead(page), page); in do_huge_pmd_wp_page() 1362 VM_BUG_ON_PAGE(!PageHead(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd() 1404 VM_BUG_ON_PAGE(!PageCompound(page) && !is_zone_device_page(page), page); in follow_trans_huge_pmd() 1687 VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); in zap_huge_pmd() 1688 VM_BUG_ON_PAGE(!PageHead(page), page); in zap_huge_pmd() 2128 VM_BUG_ON_PAGE(!page_count(page), page); in __split_huge_pmd_locked() 2370 VM_BUG_ON_PAGE(!PageHead(page), page); in unmap_page() 2396 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail() [all …]
|
| H A D | khugepaged.c | 632 VM_BUG_ON_PAGE(!PageAnon(page), page); in __collapse_huge_page_isolate() 704 VM_BUG_ON_PAGE(!PageLocked(page), page); in __collapse_huge_page_isolate() 705 VM_BUG_ON_PAGE(PageLRU(page), page); in __collapse_huge_page_isolate() 880 VM_BUG_ON_PAGE(*hpage, *hpage); in khugepaged_alloc_page() 1831 VM_BUG_ON_PAGE(!PageLocked(page), page); in collapse_file() 1882 VM_BUG_ON_PAGE(page != xas_load(&xas), page); in collapse_file() 1883 VM_BUG_ON_PAGE(page_mapped(page), page); in collapse_file() 2008 VM_BUG_ON_PAGE(page->index != xas.xa_index, page); in collapse_file()
|
| H A D | zsmalloc.c | 486 VM_BUG_ON_PAGE(!is_first_page(first_page), first_page); in get_first_page() 874 VM_BUG_ON_PAGE(!is_first_page(page), page); in obj_to_head() 947 VM_BUG_ON_PAGE(!PageLocked(page), page); in __free_zspage() 1912 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_isolate() 1913 VM_BUG_ON_PAGE(PageIsolated(page), page); in zs_page_isolate() 1979 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_migrate() 1980 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_migrate() 2093 VM_BUG_ON_PAGE(!PageMovable(page), page); in zs_page_putback() 2094 VM_BUG_ON_PAGE(!PageIsolated(page), page); in zs_page_putback()
|
| H A D | z3fold.c | 1582 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_isolate() 1583 VM_BUG_ON_PAGE(PageIsolated(page), page); in z3fold_page_isolate() 1623 VM_BUG_ON_PAGE(!PageMovable(page), page); in z3fold_page_migrate() 1624 VM_BUG_ON_PAGE(!PageIsolated(page), page); in z3fold_page_migrate() 1625 VM_BUG_ON_PAGE(!test_bit(PAGE_CLAIMED, &page->private), page); in z3fold_page_migrate() 1626 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in z3fold_page_migrate()
|
| H A D | mmu_gather.c | 87 VM_BUG_ON_PAGE(batch->nr > batch->max, page); in __tlb_remove_page_size()
|
| H A D | memcontrol.c | 2910 VM_BUG_ON_PAGE(page->mem_cgroup, page); in commit_charge() 3154 VM_BUG_ON_PAGE(mem_cgroup_is_root(memcg), page); in __memcg_kmem_uncharge_page() 5695 VM_BUG_ON_PAGE(PageLRU(page), page); in mem_cgroup_move_account() 5882 VM_BUG_ON_PAGE(!page || !PageHead(page), page); in get_mctgt_type_thp() 6832 VM_BUG_ON_PAGE(!PageLocked(page), page); in __mem_cgroup_charge() 6927 VM_BUG_ON_PAGE(PageLRU(page), page); in uncharge_page() 7037 VM_BUG_ON_PAGE(!PageLocked(oldpage), oldpage); in mem_cgroup_migrate() 7038 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in mem_cgroup_migrate() 7039 VM_BUG_ON_PAGE(PageAnon(oldpage) != PageAnon(newpage), newpage); in mem_cgroup_migrate() 7040 VM_BUG_ON_PAGE(PageTransHuge(oldpage) != PageTransHuge(newpage), in mem_cgroup_migrate() [all …]
|
| H A D | ksm.c | 2611 VM_BUG_ON_PAGE(!PageKsm(page), page); in rmap_walk_ksm() 2617 VM_BUG_ON_PAGE(!PageLocked(page), page); in rmap_walk_ksm() 2680 VM_BUG_ON_PAGE(!PageLocked(oldpage), oldpage); in ksm_migrate_page() 2681 VM_BUG_ON_PAGE(!PageLocked(newpage), newpage); in ksm_migrate_page() 2682 VM_BUG_ON_PAGE(newpage->mapping != oldpage->mapping, newpage); in ksm_migrate_page() 2686 VM_BUG_ON_PAGE(stable_node->kpfn != page_to_pfn(oldpage), oldpage); in ksm_migrate_page()
|
| H A D | compaction.c | 118 VM_BUG_ON_PAGE(!PageLocked(page), page); in PageMovable() 132 VM_BUG_ON_PAGE(!PageLocked(page), page); in __SetPageMovable() 133 VM_BUG_ON_PAGE((unsigned long)mapping & PAGE_MAPPING_MOVABLE, page); in __SetPageMovable() 140 VM_BUG_ON_PAGE(!PageLocked(page), page); in __ClearPageMovable() 141 VM_BUG_ON_PAGE(!PageMovable(page), page); in __ClearPageMovable()
|