| /arch/sparc/kernel/ |
| A D | jump_label.c | 22 BUG_ON(off & 3); in arch_jump_label_transform() 34 BUG_ON(off > 0x7fffff); in arch_jump_label_transform() 35 BUG_ON(off < -0x800000); in arch_jump_label_transform()
|
| A D | irq_32.c | 163 BUG_ON(irq >= NR_IRQS); in irq_link() 169 BUG_ON(pil >= SUN4D_MAX_IRQ); in irq_link() 181 BUG_ON(irq >= NR_IRQS); in irq_unlink() 186 BUG_ON(p->pil >= SUN4D_MAX_IRQ); in irq_unlink() 223 BUG_ON(pil > 15); in handler_irq()
|
| /arch/arm/mach-versatile/ |
| A D | tc2_pm.c | 69 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_cpu_powerdown_prepare() 84 BUG_ON(cluster >= TC2_CLUSTERS); in tc2_pm_cluster_powerdown_prepare() 129 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_wait_for_powerdown() 163 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_cpu_is_up() 171 BUG_ON(cluster >= TC2_CLUSTERS); in tc2_pm_cluster_is_up() 255 BUG_ON(mcpm_loopback(tc2_pm_cluster_cache_disable) != 0); in tc2_pm_init()
|
| /arch/x86/xen/ |
| A D | multicalls.c | 151 BUG_ON(preemptible()); in xen_mc_flush() 168 BUG_ON(b->argidx != 0); in xen_mc_flush() 227 BUG_ON(preemptible()); in __xen_mc_entry() 228 BUG_ON(b->argidx >= MC_ARGS); in __xen_mc_entry() 250 BUG_ON(b->argidx >= MC_ARGS); in __xen_mc_entry() 259 BUG_ON(preemptible()); in xen_mc_extend_args() 260 BUG_ON(b->argidx >= MC_ARGS); in xen_mc_extend_args() 277 BUG_ON(b->argidx >= MC_ARGS); in xen_mc_extend_args()
|
| A D | suspend_pv.c | 19 BUG_ON(!irqs_disabled()); in xen_pv_pre_suspend() 41 BUG_ON(xen_cpu_initialized_map == NULL); in xen_pv_post_suspend()
|
| /arch/powerpc/platforms/pasemi/ |
| A D | dma_lib.c | 133 BUG_ON(test_bit(chan, txch_free)); in pasemi_free_tx_chan() 152 BUG_ON(test_bit(chan, rxch_free)); in pasemi_free_rx_chan() 178 BUG_ON(total_size < sizeof(struct pasemi_dmachan)); in pasemi_dma_alloc_chan() 244 BUG_ON(chan->ring_virt); in pasemi_dma_alloc_ring() 266 BUG_ON(!chan->ring_virt); in pasemi_dma_free_ring() 398 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag() 399 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag() 412 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_set_flag() 427 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_clear_flag() 463 BUG_ON(test_bit(fun, fun_free)); in pasemi_dma_free_fun() [all …]
|
| /arch/loongarch/kernel/ |
| A D | alternative.c | 82 BUG_ON(offset < -SZ_128M || offset >= SZ_128M); in recompute_jump() 93 BUG_ON(buf->reg1i21_format.rj & BIT(4)); in recompute_jump() 101 BUG_ON(offset < -SZ_4M || offset >= SZ_4M); in recompute_jump() 120 BUG_ON(offset < -SZ_128K || offset >= SZ_128K); in recompute_jump() 207 BUG_ON(a->instrlen > sizeof(insnbuf)); in apply_alternatives() 208 BUG_ON(a->instrlen & 0x3); in apply_alternatives() 209 BUG_ON(a->replacementlen & 0x3); in apply_alternatives()
|
| /arch/powerpc/platforms/ps3/ |
| A D | system-bus.c | 102 BUG_ON(result); in ps3_close_hv_device_sb() 147 BUG_ON(result); in ps3_close_hv_device_gpu() 156 BUG_ON(!dev); in ps3_open_hv_device() 194 BUG_ON(!dev); in ps3_close_hv_device() 368 BUG_ON(!dev); in ps3_system_bus_probe() 372 BUG_ON(!drv); in ps3_system_bus_probe() 389 BUG_ON(!dev); in ps3_system_bus_remove() 393 BUG_ON(!drv); in ps3_system_bus_remove() 409 BUG_ON(!dev); in ps3_system_bus_shutdown() 422 BUG_ON(!drv); in ps3_system_bus_shutdown() [all …]
|
| A D | mm.c | 464 BUG_ON(result); in dma_sb_free_chunk() 645 BUG_ON(!r); in dma_sb_region_create() 656 BUG_ON(!r->len); in dma_sb_region_create() 714 BUG_ON(!r); in dma_sb_region_free() 986 BUG_ON(result); in dma_sb_region_create_linear() 997 BUG_ON(result); in dma_sb_region_create_linear() 1011 BUG_ON(result); in dma_sb_region_create_linear() 1038 BUG_ON(result); in dma_sb_region_free_linear() 1055 BUG_ON(result); in dma_sb_region_free_linear() 1164 BUG_ON(!r); in ps3_dma_region_create() [all …]
|
| A D | interrupt.c | 336 BUG_ON(result); in ps3_event_receive_port_setup() 440 BUG_ON(result); in ps3_sb_event_receive_port_destroy() 448 BUG_ON(result); in ps3_sb_event_receive_port_destroy() 481 BUG_ON(result); in ps3_io_irq_setup() 500 BUG_ON(result); in ps3_io_irq_destroy() 530 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup() 543 BUG_ON(result); in ps3_vuart_irq_setup() 563 BUG_ON(result); in ps3_vuart_irq_destroy() 585 BUG_ON(class > 2); in ps3_spe_irq_setup() 596 BUG_ON(result); in ps3_spe_irq_setup() [all …]
|
| A D | time.c | 25 BUG_ON(result); in ps3_calibrate_decr() 38 BUG_ON(result); in read_rtc()
|
| /arch/powerpc/kernel/ |
| A D | syscall.c | 26 BUG_ON(irq_soft_mask_return() != IRQS_ALL_DISABLED); in system_call_exception() 33 BUG_ON(regs_is_unrecoverable(regs)); in system_call_exception() 34 BUG_ON(!user_mode(regs)); in system_call_exception() 35 BUG_ON(arch_irq_disabled_regs(regs)); in system_call_exception()
|
| /arch/arm64/kvm/hyp/nvhe/ |
| A D | hyp-smp.c | 21 BUG_ON(cpu >= ARRAY_SIZE(hyp_cpu_logical_map)); in cpu_logical_map() 34 BUG_ON(cpu >= ARRAY_SIZE(kvm_arm_hyp_percpu_base)); in __hyp_per_cpu_offset()
|
| /arch/x86/mm/ |
| A D | init_32.c | 79 BUG_ON(pmd_table != pmd_offset(pud, 0)); in one_md_table_init() 101 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in one_page_table_init() 175 BUG_ON(after_bootmem); in page_table_kmap_check() 182 BUG_ON(newpte != pte_offset_kernel(pmd, 0)); in page_table_kmap_check() 187 BUG_ON(vaddr < fix_to_virt(FIX_KMAP_BEGIN - 1) in page_table_kmap_check() 452 BUG_ON(1); in native_pagetable_init() 690 BUG_ON(!mem_map); in arch_mm_preinit() 714 BUG_ON(PKMAP_BASE + LAST_PKMAP*PAGE_SIZE > FIXADDR_START); in mem_init() 715 BUG_ON(VMALLOC_END > PKMAP_BASE); in mem_init() 717 BUG_ON(VMALLOC_START >= VMALLOC_END); in mem_init() [all …]
|
| /arch/arm/mach-bcm/ |
| A D | bcm_kona_smc.c | 112 BUG_ON(ip != SEC_EXIT_NORMAL); in bcm_kona_do_smc() 123 BUG_ON(smp_processor_id() != 0); in __bcm_kona_smc() 124 BUG_ON(!args); in __bcm_kona_smc()
|
| /arch/mips/kernel/ |
| A D | cpu-r3k-probe.c | 122 BUG_ON(!__cpu_name[cpu]); in cpu_probe() 123 BUG_ON(c->cputype == CPU_UNKNOWN); in cpu_probe() 130 BUG_ON(current_cpu_type() != c->cputype); in cpu_probe()
|
| /arch/powerpc/lib/ |
| A D | locks.c | 29 BUG_ON(holder_cpu >= NR_CPUS); in splpar_spin_yield() 55 BUG_ON(holder_cpu >= NR_CPUS); in splpar_rw_yield()
|
| /arch/riscv/mm/ |
| A D | physaddr.c | 39 BUG_ON(!kernel_map.va_pa_offset); in linear_mapping_va_to_pa() 47 BUG_ON(!kernel_map.va_pa_offset); in linear_mapping_pa_to_va()
|
| /arch/mips/bcm63xx/ |
| A D | gpio.c | 45 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_set() 73 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_get() 94 BUG_ON(gpio >= chip->ngpio); in bcm63xx_gpio_set_direction()
|
| /arch/x86/include/asm/xen/ |
| A D | hypervisor.h | 78 BUG_ON(this_cpu_read(xen_lazy_mode) != XEN_LAZY_NONE); in enter_lazy() 85 BUG_ON(this_cpu_read(xen_lazy_mode) != mode); in leave_lazy()
|
| /arch/sh/mm/ |
| A D | kmap.c | 34 BUG_ON(!test_bit(PG_dcache_clean, &folio->flags)); in kmap_coherent() 45 BUG_ON(!pte_none(*(kmap_coherent_pte - idx))); in kmap_coherent()
|
| A D | tlb-urb.c | 34 BUG_ON(!--urb); in tlb_wire_entry() 84 BUG_ON(urb++ == MMUCR_URB_NENTRIES); in tlb_unwire_entry()
|
| /arch/arm64/kvm/hyp/include/nvhe/ |
| A D | memory.h | 132 BUG_ON(p->refcount == USHRT_MAX); in hyp_page_ref_inc() 138 BUG_ON(!p->refcount); in hyp_page_ref_dec() 150 BUG_ON(p->refcount); in hyp_set_page_refcounted()
|
| /arch/mips/include/asm/ |
| A D | maar.h | 44 BUG_ON(lower & (0xffff | ~(MIPS_MAAR_ADDR << 4))); in write_maar_pair() 45 BUG_ON(((upper & 0xffff) != 0xffff) in write_maar_pair()
|
| /arch/arm64/mm/ |
| A D | mmu.c | 210 BUG_ON(pmd_sect(pmd)); in alloc_init_cont_pte() 217 BUG_ON(!pgtable_alloc); in alloc_init_cont_pte() 224 BUG_ON(pmd_bad(pmd)); in alloc_init_cont_pte() 298 BUG_ON(pud_sect(pud)); in alloc_init_cont_pmd() 305 BUG_ON(!pgtable_alloc); in alloc_init_cont_pmd() 312 BUG_ON(pud_bad(pud)); in alloc_init_cont_pmd() 350 BUG_ON(!pgtable_alloc); in alloc_init_pud() 357 BUG_ON(p4d_bad(p4d)); in alloc_init_pud() 415 BUG_ON(pgd_bad(pgd)); in alloc_init_p4d() 491 BUG_ON(!ptdesc); in __pgd_pgtable_alloc() [all …]
|