Lines Matching refs:VM_BUG_ON_PAGE
133 VM_BUG_ON_PAGE(!PageLocked(page), page); in page_cache_delete()
134 VM_BUG_ON_PAGE(PageTail(page), page); in page_cache_delete()
135 VM_BUG_ON_PAGE(nr != 1 && shadow, page); in page_cache_delete()
171 VM_BUG_ON_PAGE(PageTail(page), page); in unaccount_page_cache_page()
172 VM_BUG_ON_PAGE(page_mapped(page), page); in unaccount_page_cache_page()
252 VM_BUG_ON_PAGE(page_count(page) <= 0, page); in page_cache_free_page()
318 VM_BUG_ON_PAGE(page->index > pvec->pages[i]->index, in page_cache_delete_batch()
819 VM_BUG_ON_PAGE(!PageLocked(old), old); in replace_page_cache_page()
820 VM_BUG_ON_PAGE(!PageLocked(new), new); in replace_page_cache_page()
821 VM_BUG_ON_PAGE(new->mapping, new); in replace_page_cache_page()
861 VM_BUG_ON_PAGE(!PageLocked(page), page); in __add_to_page_cache_locked()
862 VM_BUG_ON_PAGE(PageSwapBacked(page), page); in __add_to_page_cache_locked()
1315 VM_BUG_ON_PAGE(!PageLocked(page), page); in unlock_page()
1593 VM_BUG_ON_PAGE(page_to_pgoff(page) != offset, page); in find_lock_entry()
1657 VM_BUG_ON_PAGE(page->index != offset, page); in pagecache_get_page()
2550 VM_BUG_ON_PAGE(page_to_pgoff(page) != offset, page); in filemap_fault()