Home
last modified time | relevance | path

Searched refs:WARN_ON (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/arch/powerpc/sysdev/
Dmsi_bitmap.c163 WARN_ON(msi_bitmap_alloc(&bmp, 0, NULL) == 0); in test_basics()
166 WARN_ON(msi_bitmap_alloc(&bmp, size, NULL)); in test_basics()
169 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
173 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp) <= 0); in test_basics()
176 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
181 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) < 0); in test_basics()
183 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) >= 0); in test_basics()
186 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0); in test_basics()
190 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) != size / 2); in test_basics()
197 WARN_ON(rc < 0 && rc % 2 != 0); in test_basics()
[all …]
/arch/arm64/kernel/
Dfpsimd.c156 WARN_ON(busy); in __get_cpu_fpsimd_context()
178 WARN_ON(!busy); /* No matching get_cpu_fpsimd_context()? */ in __put_cpu_fpsimd_context()
211 WARN_ON(test_tsk_thread_flag(task, TIF_SVE)); in sve_free()
272 WARN_ON(!system_supports_fpsimd()); in task_fpsimd_load()
273 WARN_ON(!have_cpu_fpsimd_context()); in task_fpsimd_load()
293 WARN_ON(!system_supports_fpsimd()); in fpsimd_save()
294 WARN_ON(!have_cpu_fpsimd_context()); in fpsimd_save()
298 if (WARN_ON(sve_get_vl() != last->sve_vl)) { in fpsimd_save()
327 if (WARN_ON(!sve_vl_valid(vl))) in find_supported_vector_length()
330 if (WARN_ON(!sve_vl_valid(max_vl))) in find_supported_vector_length()
[all …]
Dsuspend.c35 if (WARN_ON(hw_breakpoint_restore)) in cpu_suspend_set_dbg_restorer()
141 if (WARN_ON(!sleep_save_stash)) in cpu_suspend_init()
Ddebug-monitors.c84 WARN_ON(preemptible()); in enable_debug_monitors()
105 WARN_ON(preemptible()); in disable_debug_monitors()
231 if (WARN_ON(!user_mode(regs))) in send_user_sigtrap()
422 WARN_ON(!irqs_disabled()); in kernel_enable_single_step()
431 WARN_ON(!irqs_disabled()); in kernel_disable_single_step()
439 WARN_ON(!irqs_disabled()); in kernel_active_single_step()
/arch/powerpc/include/asm/book3s/64/
Dtlbflush-radix.h23 static inline void radix__tlbiel_all(unsigned int action) { WARN_ON(1); }; in radix__tlbiel_all()
28 WARN_ON(1); in radix__flush_tlb_lpid_page()
32 WARN_ON(1); in radix__flush_pwc_lpid()
36 WARN_ON(1); in radix__flush_all_lpid()
40 WARN_ON(1); in radix__flush_all_lpid_guest()
/arch/powerpc/mm/
Dioremap_64.c24 WARN_ON(pa & ~PAGE_MASK); in __ioremap_at()
25 WARN_ON(((unsigned long)ea) & ~PAGE_MASK); in __ioremap_at()
26 WARN_ON(size & ~PAGE_MASK); in __ioremap_at()
50 WARN_ON(((unsigned long)ea) & ~PAGE_MASK); in __iounmap_at()
51 WARN_ON(size & ~PAGE_MASK); in __iounmap_at()
Dhighmem.c46 WARN_ON(IS_ENABLED(CONFIG_DEBUG_HIGHMEM) && !pte_none(*(kmap_pte - idx))); in kmap_atomic_prot()
69 WARN_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
/arch/x86/mm/
Dpti.c222 WARN_ON(1); in pti_user_pagetable_walk_pmd()
257 WARN_ON(1); in pti_user_pagetable_walk_pte()
284 if (!pte || WARN_ON(level != PG_LEVEL_4K) || pte_none(*pte)) in pti_setup_vsyscall()
288 if (WARN_ON(!target_pte)) in pti_setup_vsyscall()
325 if (WARN_ON(pgd_none(*pgd))) in pti_clone_pgtable()
328 if (WARN_ON(p4d_none(*p4d))) in pti_clone_pgtable()
347 if (WARN_ON(!target_pmd)) in pti_clone_pgtable()
356 if (WARN_ON(!(pmd_flags(*pmd) & _PAGE_PRESENT))) in pti_clone_pgtable()
390 if (WARN_ON(!(pte_flags(*pte) & _PAGE_PRESENT))) in pti_clone_pgtable()
395 if (WARN_ON(!target_pte)) in pti_clone_pgtable()
[all …]
/arch/arm/mach-omap2/
Dpowerdomain-common.c61 WARN_ON(1); /* should never happen */ in omap2_pwrdm_get_mem_bank_onstate_mask()
81 WARN_ON(1); /* should never happen */ in omap2_pwrdm_get_mem_bank_retst_mask()
101 WARN_ON(1); /* should never happen */ in omap2_pwrdm_get_mem_bank_stst_mask()
Domap4-common.c256 if (WARN_ON(!l2cache_base)) in omap_l2_cache_init()
289 if (WARN_ON(!sar_ram_base)) in omap4_sar_ram_init()
306 if (WARN_ON(!intc_node)) { in omap_gic_of_init()
318 WARN_ON(!gic_dist_base_addr); in omap_gic_of_init()
323 WARN_ON(!twd_base); in omap_gic_of_init()
/arch/arm/mm/
Dl2c-common.c12 WARN_ON(!irqs_disabled()); in outer_disable()
13 WARN_ON(num_online_cpus() > 1); in outer_disable()
/arch/arm/include/asm/
Dkvm_mmu.h77 #define kvm_pud_pfn(pud) ({ WARN_ON(1); 0; })
82 #define kvm_pud_mkhuge(pud) ( {WARN_ON(1); pud; })
90 WARN_ON(1); in kvm_set_s2pud_readonly()
95 WARN_ON(1); in kvm_s2pud_readonly()
101 WARN_ON(1); in kvm_set_pud()
106 WARN_ON(1); in kvm_s2pud_mkwrite()
112 WARN_ON(1); in kvm_s2pud_mkexec()
118 WARN_ON(1); in kvm_s2pud_exec()
130 WARN_ON(1); in kvm_s2pud_young()
/arch/m68k/coldfire/
Dclk.c135 WARN_ON(clk); in clk_round_rate()
142 WARN_ON(clk); in clk_set_rate()
149 WARN_ON(clk); in clk_set_parent()
156 WARN_ON(clk); in clk_get_parent()
/arch/powerpc/include/asm/
Dxics.h112 if (WARN_ON(os_cppr->index >= MAX_NUM_PRIORITIES - 1)) in xics_push_cppr()
125 if (WARN_ON(os_cppr->index < 1)) in xics_pop_cppr()
138 WARN_ON(os_cppr->index != 0); in xics_set_base_cppr()
Dpte-walk.h24 WARN_ON(*hshift); in find_linux_pte()
54 WARN_ON(*hshift); in find_current_mm_pte()
/arch/arm/mach-s3c24xx/
Dmach-rx1950.c488 WARN_ON(gpio_request(S3C2410_GPB(0), "Backlight")); in rx1950_backlight_init()
787 WARN_ON(gpio_request(S3C2410_GPJ(1), "MMC power")); in rx1950_init_machine()
791 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine()
794 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine()
797 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine()
800 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine()
802 WARN_ON(gpio_request(S3C2410_GPB(1), "LCD power")); in rx1950_init_machine()
804 WARN_ON(gpio_request(S3C2410_GPA(3), "Red blink")); in rx1950_init_machine()
805 WARN_ON(gpio_request(S3C2410_GPA(4), "Green blink")); in rx1950_init_machine()
806 WARN_ON(gpio_request(S3C2410_GPJ(6), "LED blink")); in rx1950_init_machine()
/arch/arm64/include/asm/
Ddaifflags.h22 WARN_ON(system_has_prio_mask_debugging() && in local_daif_mask()
69 WARN_ON(system_has_prio_mask_debugging() && in local_daif_restore()
/arch/ia64/kernel/
Dnuma.c44 WARN_ON(!cpumask_test_cpu(cpu, &node_to_cpu_mask[nid])); in unmap_cpu_from_node()
45 WARN_ON(cpu_to_node_map[cpu] != nid); in unmap_cpu_from_node()
/arch/mips/kernel/
Djump_label.c59 WARN_ON((offset >= (long)BIT(25)) || in arch_jump_label_transform()
69 WARN_ON((e->target & ~J_RANGE_MASK) != in arch_jump_label_transform()
Dcmpxchg.c17 WARN_ON((unsigned long)ptr & (size - 1)); in __xchg_small()
58 WARN_ON((unsigned long)ptr & (size - 1)); in __cmpxchg_small()
/arch/powerpc/mm/book3s64/
Dhash_pgtable.c138 WARN_ON(rc == -ENOENT); in hash__vmemmap_remove_mapping()
197 WARN_ON(!hash__pmd_trans_huge(*pmdp) && !pmd_devmap(*pmdp)); in hash__pmd_hugepage_update()
332 WARN_ON(vsid == 0); in hpte_do_hugepage_flush()
447 WARN_ON(!hash__change_memory_range(start, end, PP_RXXX)); in hash__mark_rodata_ro()
459 WARN_ON(!hash__change_memory_range(start, end, pp)); in hash__mark_initmem_nx()
/arch/x86/kvm/
Dpage_track.c72 if (WARN_ON(val + count < 0 || val + count > USHRT_MAX)) in update_gfn_track()
95 if (WARN_ON(!page_track_mode_is_valid(mode))) in kvm_slot_page_track_add_page()
129 if (WARN_ON(!page_track_mode_is_valid(mode))) in kvm_slot_page_track_remove_page()
151 if (WARN_ON(!page_track_mode_is_valid(mode))) in kvm_page_track_is_active()
/arch/sh/kernel/
Ddma-coherent.c40 if (!WARN_ON(!dev)) in arch_dma_alloc()
53 if (!WARN_ON(!dev)) in arch_dma_free()
/arch/powerpc/platforms/cell/spufs/
Dgang.c37 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang()
64 WARN_ON(ctx->gang != gang); in spu_gang_remove_ctx()
/arch/powerpc/platforms/powernv/
Dopal-irqchip.c227 if (WARN_ON(!opal_irqs)) { in opal_event_init()
243 if (WARN_ON(rc < 0)) { in opal_event_init()
261 if (WARN_ON(rc < 0)) { in opal_event_init()
266 if (WARN_ON(rc < opal_irq_count)) in opal_event_init()

12345678910>>...16