/Linux-v5.4/mm/ |
D | frontswap.c | 195 VM_BUG_ON(sis == NULL); in __frontswap_init() 254 VM_BUG_ON(!frontswap_ops); in __frontswap_store() 255 VM_BUG_ON(!PageLocked(page)); in __frontswap_store() 256 VM_BUG_ON(sis == NULL); in __frontswap_store() 303 VM_BUG_ON(!frontswap_ops); in __frontswap_load() 304 VM_BUG_ON(!PageLocked(page)); in __frontswap_load() 305 VM_BUG_ON(sis == NULL); in __frontswap_load() 336 VM_BUG_ON(!frontswap_ops); in __frontswap_invalidate_page() 337 VM_BUG_ON(sis == NULL); in __frontswap_invalidate_page() 358 VM_BUG_ON(!frontswap_ops); in __frontswap_invalidate_area() [all …]
|
D | pgtable-generic.c | 101 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags() 115 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_clear_flush_young() 128 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_huge_clear_flush() 129 VM_BUG_ON((pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_clear_flush() 142 VM_BUG_ON(address & ~HPAGE_PUD_MASK); in pudp_huge_clear_flush() 143 VM_BUG_ON(!pud_trans_huge(*pudp) && !pud_devmap(*pudp)); in pudp_huge_clear_flush() 204 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_collapse_flush() 205 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
|
D | ksm.c | 351 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup() 353 VM_BUG_ON(!is_stable_node_chain(chain)); in stable_node_chain_add_dup() 360 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del() 367 VM_BUG_ON(is_stable_node_chain(dup)); in stable_node_dup_del() 407 VM_BUG_ON(stable_node->rmap_hlist_len && in free_stable_node() 594 VM_BUG_ON(is_stable_node_chain(dup)); in alloc_stable_node_chain() 643 VM_BUG_ON(stable_node->rmap_hlist_len <= 0); in remove_node_from_stable_tree() 792 VM_BUG_ON(stable_node->rmap_hlist_len <= 0); in remove_rmap_item_from_tree() 920 VM_BUG_ON(is_stable_node_dup(stable_node)); in remove_stable_node_chain() 929 VM_BUG_ON(!is_stable_node_dup(dup)); in remove_stable_node_chain() [all …]
|
D | khugepaged.c | 847 VM_BUG_ON(!*hpage); in khugepaged_alloc_page() 962 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in collapse_huge_page() 1129 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in khugepaged_scan_pmd() 1273 VM_BUG_ON(addr & ~HPAGE_PMD_MASK); in khugepaged_add_pte_mapped_thp() 1506 VM_BUG_ON(!IS_ENABLED(CONFIG_READ_ONLY_THP_FOR_FS) && !is_shmem); in collapse_file() 1507 VM_BUG_ON(start & (HPAGE_PMD_NR - 1)); in collapse_file() 1553 VM_BUG_ON(index != xas.xa_index); in collapse_file() 1801 VM_BUG_ON(nr_none); in collapse_file() 1810 VM_BUG_ON(!list_empty(&pagelist)); in collapse_file() 1912 VM_BUG_ON(!pages); in khugepaged_scan_mm_slot() [all …]
|
D | huge_memory.c | 623 VM_BUG_ON(ret2 & VM_FAULT_FALLBACK); in __do_huge_pmd_anonymous_page() 744 VM_BUG_ON(ret & VM_FAULT_FALLBACK); in do_huge_pmd_anonymous_page() 1005 VM_BUG_ON(!is_pmd_migration_entry(pmd)); in copy_huge_pmd() 1277 VM_BUG_ON(!pte_none(*vmf->pte)); in do_huge_pmd_wp_page_fallback() 1713 VM_BUG_ON(thp_migration_supported() && in madvise_free_huge_pmd() 1814 VM_BUG_ON(!is_pmd_migration_entry(orig_pmd)); in zap_huge_pmd() 1882 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd() 1898 VM_BUG_ON(!pmd_none(*new_pmd)); in move_huge_pmd() 1943 VM_BUG_ON(!is_pmd_migration_entry(*pmd)); in change_huge_pmd() 2069 VM_BUG_ON(haddr & ~HPAGE_PUD_MASK); in __split_huge_pud_locked() [all …]
|
D | zsmalloc.c | 750 VM_BUG_ON(list_empty(&class->fullness_list[fullness])); in remove_zspage() 751 VM_BUG_ON(is_zspage_isolated(zspage)); in remove_zspage() 946 VM_BUG_ON(get_zspage_inuse(zspage)); in __free_zspage() 947 VM_BUG_ON(fg != ZS_EMPTY); in __free_zspage() 970 VM_BUG_ON(get_zspage_inuse(zspage)); in free_zspage() 971 VM_BUG_ON(list_empty(&zspage->list)); in free_zspage() 1760 VM_BUG_ON(is_zspage_isolated(zspage)); in isolate_zspage() 1781 VM_BUG_ON(is_zspage_isolated(zspage)); in putback_zspage() 1881 VM_BUG_ON(atomic_long_read(&pool->isolated_pages) <= 0); in zs_pool_dec_isolated() 2210 VM_BUG_ON(fullness != ZS_EMPTY); in async_free_zspage()
|
D | compaction.c | 2100 VM_BUG_ON(ret != COMPACT_CONTINUE); in compact_zone() 2268 VM_BUG_ON(free_pfn == 0); in compact_zone() 2318 VM_BUG_ON(!list_empty(&cc.freepages)); in compact_zone_order() 2319 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_zone_order() 2433 VM_BUG_ON(!list_empty(&cc.freepages)); in compact_node() 2434 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_node() 2583 VM_BUG_ON(!list_empty(&cc.freepages)); in kcompactd_do_work() 2584 VM_BUG_ON(!list_empty(&cc.migratepages)); in kcompactd_do_work()
|
D | gup.c | 344 VM_BUG_ON(thp_migration_supported() && in follow_pmd_mask() 589 VM_BUG_ON(pmd_trans_huge(*pmd)); in get_gate_page() 793 VM_BUG_ON(!!pages != !!(gup_flags & FOLL_GET)); in __get_user_pages() 1195 VM_BUG_ON(start & ~PAGE_MASK); in populate_vma_page_range() 1196 VM_BUG_ON(end & ~PAGE_MASK); in populate_vma_page_range() 1845 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_pte_range() 1994 VM_BUG_ON(!pfn_valid(pte_pfn(pte))); in gup_hugepte() 2001 VM_BUG_ON(compound_head(page) != head); in gup_hugepte()
|
D | frame_vector.c | 238 VM_BUG_ON(vec->nr_frames > 0); in frame_vector_destroy()
|
/Linux-v5.4/include/linux/ |
D | mmdebug.h | 18 #define VM_BUG_ON(cond) BUG_ON(cond) macro 45 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) macro 46 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) 47 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) 48 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond)
|
D | gfp.h | 448 VM_BUG_ON((GFP_ZONE_BAD >> bit) & 1); in gfp_zone() 506 VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES); in __alloc_pages_node()
|
D | percpu-defs.h | 360 VM_BUG_ON((unsigned long)(&(pcp1)) % (2 * sizeof(pcp1))); \ 361 VM_BUG_ON((unsigned long)(&(pcp2)) != \
|
/Linux-v5.4/arch/powerpc/mm/book3s64/ |
D | hash_pgtable.c | 227 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in hash__pmdp_collapse_flush() 228 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush() 229 VM_BUG_ON(pmd_devmap(*pmdp)); in hash__pmdp_collapse_flush()
|
/Linux-v5.4/fs/ |
D | userfaultfd.c | 167 VM_BUG_ON(spin_is_locked(&ctx->fault_pending_wqh.lock)); in userfaultfd_ctx_put() 168 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put() 169 VM_BUG_ON(spin_is_locked(&ctx->fault_wqh.lock)); in userfaultfd_ctx_put() 170 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put() 171 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock)); in userfaultfd_ctx_put() 172 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put() 173 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put() 174 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put() 237 VM_BUG_ON(!rwsem_is_locked(&mm->mmap_sem)); in userfaultfd_huge_must_wait() 289 VM_BUG_ON(!rwsem_is_locked(&mm->mmap_sem)); in userfaultfd_must_wait() [all …]
|
/Linux-v5.4/arch/x86/include/asm/ |
D | cmpxchg.h | 243 VM_BUG_ON((unsigned long)(p1) % (2 * sizeof(long))); \ 244 VM_BUG_ON((unsigned long)((p1) + 1) != (unsigned long)(p2)); \
|
/Linux-v5.4/arch/powerpc/mm/ |
D | slice.c | 473 VM_BUG_ON(radix_enabled()); in slice_get_unmapped_area() 667 VM_BUG_ON(radix_enabled()); in get_slice_psize() 734 VM_BUG_ON(radix_enabled()); in slice_set_range_psize() 766 VM_BUG_ON(radix_enabled()); in slice_is_hugepage_only_range()
|
/Linux-v5.4/arch/s390/include/asm/ |
D | cmpxchg.h | 60 VM_BUG_ON((unsigned long)((__p1) + 1) != (unsigned long)(__p2));\
|
/Linux-v5.4/drivers/misc/ |
D | vmw_balloon.c | 1122 VM_BUG_ON(!list_empty(&ctl.pages)); in vmballoon_inflate() 1123 VM_BUG_ON(ctl.n_pages != 0); in vmballoon_inflate() 1215 VM_BUG_ON(!list_empty(&ctl.pages)); in vmballoon_deflate() 1216 VM_BUG_ON(ctl.n_pages); in vmballoon_deflate() 1217 VM_BUG_ON(!list_empty(&ctl.refused_pages)); in vmballoon_deflate() 1218 VM_BUG_ON(ctl.n_refused_pages); in vmballoon_deflate()
|
/Linux-v5.4/virt/kvm/arm/ |
D | mmu.c | 167 VM_BUG_ON(stage2_pud_huge(kvm, *pud)); in clear_stage2_pud_entry() 177 VM_BUG_ON(pmd_thp_or_huge(*pmd)); in clear_stage2_pmd_entry() 459 VM_BUG_ON(pud_huge(*pud)); in clear_hyp_pud_entry() 468 VM_BUG_ON(pmd_thp_or_huge(*pmd)); in clear_hyp_pmd_entry() 1057 VM_BUG_ON(!pmd); in stage2_set_pmd_huge() 1121 VM_BUG_ON(!pudp); in stage2_set_pud_huge() 1226 VM_BUG_ON(logging_active && !cache); in stage2_set_pte() 1403 VM_BUG_ON((gfn & mask) != (pfn & mask)); in transparent_hugepage_adjust() 1683 VM_BUG_ON(write_fault && exec_fault); in user_mem_abort() 1984 VM_BUG_ON(fault_ipa >= kvm_phys_size(vcpu->kvm)); in kvm_handle_guest_abort()
|
/Linux-v5.4/arch/arm/include/asm/ |
D | kvm_mmu.h | 222 VM_BUG_ON(size & ~PAGE_MASK); in __clean_dcache_guest_page() 254 VM_BUG_ON(size & ~PAGE_MASK); in __invalidate_icache_guest_page()
|
/Linux-v5.4/arch/x86/mm/ |
D | pgtable.c | 498 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags() 518 VM_BUG_ON(address & ~HPAGE_PUD_MASK); in pudp_set_access_flags() 596 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_clear_flush_young()
|
D | hugetlbpage.c | 133 VM_BUG_ON(addr != -ENOMEM); in hugetlb_get_unmapped_area_topdown()
|
/Linux-v5.4/arch/sh/mm/ |
D | mmap.c | 136 VM_BUG_ON(addr != -ENOMEM); in arch_get_unmapped_area_topdown()
|
/Linux-v5.4/arch/arm/mm/ |
D | mmap.c | 137 VM_BUG_ON(addr != -ENOMEM); in arch_get_unmapped_area_topdown()
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | kvm_mmu.h | 398 VM_BUG_ON(pgd_val(merged_hyp_pgd[0])); 409 VM_BUG_ON(pgd_val(merged_hyp_pgd[idmap_idx]));
|