Lines Matching refs:BUG_ON
209 BUG_ON(atomic_dec_and_test(&huge_zero_refcount)); in put_huge_zero_page()
224 BUG_ON(zero_page == NULL); in shrink_huge_zero_page_scan()
901 BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))); in vmf_insert_pfn_pmd()
902 BUG_ON((vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) == in vmf_insert_pfn_pmd()
904 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pmd()
905 BUG_ON((vma->vm_flags & VM_MIXEDMAP) && pfn_valid(pfn)); in vmf_insert_pfn_pmd()
1343 BUG_ON(!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE))); in do_huge_pmd_numa_page()
1362 BUG_ON(is_huge_zero_page(page)); in do_huge_pmd_numa_page()
1434 BUG_ON(!PageLocked(page)); in do_huge_pmd_numa_page()
1583 BUG_ON(!preserve_write && pmd_write(entry)); in change_huge_pmd()
1724 BUG_ON(page_mapcount(page_tail) < 0); in __split_huge_page_refcount()
1727 BUG_ON(tail_count < 0); in __split_huge_page_refcount()
1728 BUG_ON(atomic_read(&page_tail->_count) != 0); in __split_huge_page_refcount()
1781 BUG_ON(page_tail->mapping); in __split_huge_page_refcount()
1787 BUG_ON(!PageAnon(page_tail)); in __split_huge_page_refcount()
1788 BUG_ON(!PageUptodate(page_tail)); in __split_huge_page_refcount()
1789 BUG_ON(!PageDirty(page_tail)); in __split_huge_page_refcount()
1790 BUG_ON(!PageSwapBacked(page_tail)); in __split_huge_page_refcount()
1795 BUG_ON(atomic_read(&page->_count) <= 0); in __split_huge_page_refcount()
1805 BUG_ON(page_count(page_tail) <= 0); in __split_huge_page_refcount()
1820 BUG_ON(page_count(page) <= 0); in __split_huge_page_refcount()
1840 BUG_ON(page_mapcount(page) != 1); in __split_huge_page_map()
1845 BUG_ON(PageCompound(page+i)); in __split_huge_page_map()
1858 BUG_ON(!pte_none(*pte)); in __split_huge_page_map()
1908 BUG_ON(!PageHead(page)); in __split_huge_page()
1909 BUG_ON(PageTail(page)); in __split_huge_page()
1915 BUG_ON(is_vma_temporary_stack(vma)); in __split_huge_page()
1940 BUG_ON(is_vma_temporary_stack(vma)); in __split_huge_page()
1962 BUG_ON(is_huge_zero_page(page)); in split_huge_page_to_list()
1963 BUG_ON(!PageAnon(page)); in split_huge_page_to_list()
1981 BUG_ON(!PageSwapBacked(page)); in split_huge_page_to_list()
1985 BUG_ON(PageCompound(page)); in split_huge_page_to_list()
2584 BUG_ON(!pmd_none(*pmd)); in collapse_huge_page()
2618 BUG_ON(!pmd_none(*pmd)); in collapse_huge_page()
2969 BUG_ON(vma->vm_start > haddr || vma->vm_end < haddr + HPAGE_PMD_SIZE); in __split_huge_page_pmd()
3014 BUG_ON(vma == NULL); in split_huge_page_pmd_mm()