Home
last modified time | relevance | path

Searched refs:VM_WARN_ON_ONCE (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/arch/powerpc/include/asm/book3s/64/
Dtlbflush.h182 VM_WARN_ON_ONCE(oldval & _PAGE_PRIVILEGED); in __pte_flags_need_flush()
183 VM_WARN_ON_ONCE(newval & _PAGE_PRIVILEGED); in __pte_flags_need_flush()
184 VM_WARN_ON_ONCE(!(oldval & _PAGE_PTE)); in __pte_flags_need_flush()
185 VM_WARN_ON_ONCE(!(newval & _PAGE_PTE)); in __pte_flags_need_flush()
186 VM_WARN_ON_ONCE(!(oldval & _PAGE_PRESENT)); in __pte_flags_need_flush()
187 VM_WARN_ON_ONCE(!(newval & _PAGE_PRESENT)); in __pte_flags_need_flush()
/linux-6.1.9/arch/x86/mm/
Dtlb.c114 VM_WARN_ON_ONCE(asid > MAX_ASID_AVAILABLE); in kern_pcid()
127 VM_WARN_ON_ONCE(asid & (1 << X86_CR3_PTI_PCID_USER_BIT)); in kern_pcid()
162 VM_WARN_ON_ONCE(asid != 0); in build_cr3()
169 VM_WARN_ON_ONCE(asid > MAX_ASID_AVAILABLE); in build_cr3_noflush()
175 VM_WARN_ON_ONCE(!boot_cpu_has(X86_FEATURE_PCID)); in build_cr3_noflush()
606 VM_WARN_ON_ONCE(!cpumask_test_cpu(cpu, in switch_mm_irqs_off()
1206 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
1259 VM_WARN_ON_ONCE(!loaded_mm); in nmi_uaccess_okay()
1274 VM_WARN_ON_ONCE(current_mm->pgd != __va(read_cr3_pa())); in nmi_uaccess_okay()
/linux-6.1.9/include/linux/
Dmm_inline.h137 VM_WARN_ON_ONCE(refs > BIT(LRU_REFS_WIDTH)); in lru_tier_from_refs()
168 VM_WARN_ON_ONCE(gen >= MAX_NR_GENS); in lru_gen_is_active()
183 VM_WARN_ON_ONCE(old_gen != -1 && old_gen >= MAX_NR_GENS); in lru_gen_update_size()
184 VM_WARN_ON_ONCE(new_gen != -1 && new_gen >= MAX_NR_GENS); in lru_gen_update_size()
185 VM_WARN_ON_ONCE(old_gen == -1 && new_gen == -1); in lru_gen_update_size()
217 VM_WARN_ON_ONCE(lru_gen_is_active(lruvec, old_gen) && !lru_gen_is_active(lruvec, new_gen)); in lru_gen_update_size()
Dmmdebug.h79 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) macro
89 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) macro
Dvmstat.h196 VM_WARN_ON_ONCE(vmstat_item_in_bytes(item)); in global_node_page_state()
329 VM_WARN_ON_ONCE(delta & (PAGE_SIZE - 1)); in __mod_node_page_state()
/linux-6.1.9/mm/
Dvmscan.c3155 VM_WARN_ON_ONCE(!mem_cgroup_disabled()); in get_lruvec()
3200 VM_WARN_ON_ONCE(!mem_cgroup_disabled()); in get_mm_list()
3211 VM_WARN_ON_ONCE(!list_empty(&mm->lru_gen.list)); in lru_gen_add_mm()
3213 VM_WARN_ON_ONCE(mm->lru_gen.memcg); in lru_gen_add_mm()
3286 VM_WARN_ON_ONCE(task->mm != mm); in lru_gen_migrate_mm()
3299 VM_WARN_ON_ONCE(!mm->lru_gen.memcg); in lru_gen_migrate_mm()
3300 VM_WARN_ON_ONCE(list_empty(&mm->lru_gen.list)); in lru_gen_migrate_mm()
3467 VM_WARN_ON_ONCE(mm_state->seq + 1 < walk->max_seq); in iterate_mm_list()
3468 VM_WARN_ON_ONCE(*iter && mm_state->seq > walk->max_seq); in iterate_mm_list()
3469 VM_WARN_ON_ONCE(*iter && !mm_state->nr_walkers); in iterate_mm_list()
[all …]
Dvmstat.c388 VM_WARN_ON_ONCE(delta & (PAGE_SIZE - 1)); in __mod_node_page_state()
459 VM_WARN_ON_ONCE(vmstat_item_in_bytes(item)); in __inc_node_state()
515 VM_WARN_ON_ONCE(vmstat_item_in_bytes(item)); in __dec_node_state()
628 VM_WARN_ON_ONCE(delta & (PAGE_SIZE - 1)); in mod_node_state()
1026 VM_WARN_ON_ONCE(vmstat_item_in_bytes(item)); in node_page_state()
Dmempool.c381 VM_WARN_ON_ONCE(gfp_mask & __GFP_ZERO); in mempool_alloc()
Dslab.h424 VM_WARN_ON_ONCE(!(flags & SLAB_DEBUG_FLAGS)); in kmem_cache_debug_flags()
Dswap_state.c693 VM_WARN_ON_ONCE(!mapping_empty(&spaces[i])); in exit_swap_address_space()
Drmap.c1310 VM_WARN_ON_ONCE(!PageLocked(page)); in page_add_file_rmap()
1322 VM_WARN_ON_ONCE(!PageLocked(page)); in page_add_file_rmap()
Dmemory.c1114 VM_WARN_ON_ONCE(!entry.val); in copy_pte_range()
1127 VM_WARN_ON_ONCE(1); in copy_pte_range()
Dmemcontrol.c7700 VM_WARN_ON_ONCE(!(current->flags & PF_MEMALLOC)); in obj_cgroup_charge_zswap()
7704 VM_WARN_ON_ONCE(1); in obj_cgroup_charge_zswap()
Dhuge_memory.c2284 VM_WARN_ON_ONCE(folio && !folio_test_locked(folio)); in __split_huge_pmd()
Dswapfile.c1013 VM_WARN_ON_ONCE(1); in swap_alloc_cluster()
/linux-6.1.9/arch/x86/include/asm/
Dtlbflush.h307 VM_WARN_ON_ONCE(1); in pte_flags_need_flush()