/arch/sparc/include/asm/ |
D | vga.h | 25 BUG_ON((long) addr >= 0); in scr_writew() 32 BUG_ON((long) addr >= 0); in scr_readw() 39 BUG_ON((long) p >= 0); in scr_memsetw() 46 BUG_ON((long) d >= 0); in scr_memcpyw() 53 BUG_ON((long) d >= 0); in scr_memmovew()
|
D | highmem.h | 58 BUG_ON(in_interrupt()); in kmap() 66 BUG_ON(in_interrupt()); in kunmap()
|
/arch/arm/kvm/ |
D | coproc.h | 76 BUG_ON(!r->reg); in reset_unknown() 77 BUG_ON(r->reg >= ARRAY_SIZE(vcpu->arch.ctxt.cp15)); in reset_unknown() 83 BUG_ON(!r->reg); in reset_val() 84 BUG_ON(r->reg >= ARRAY_SIZE(vcpu->arch.ctxt.cp15)); in reset_val() 91 BUG_ON(!r->reg); in reset_unknown64() 92 BUG_ON(r->reg + 1 >= ARRAY_SIZE(vcpu->arch.ctxt.cp15)); in reset_unknown64() 101 BUG_ON(i1 == i2); in cmp_reg()
|
/arch/x86/xen/ |
D | multicalls.c | 64 BUG_ON(preemptible()); in xen_mc_flush() 80 BUG_ON(b->argidx != 0); in xen_mc_flush() 146 BUG_ON(preemptible()); in __xen_mc_entry() 147 BUG_ON(b->argidx >= MC_ARGS); in __xen_mc_entry() 165 BUG_ON(b->argidx >= MC_ARGS); in __xen_mc_entry() 174 BUG_ON(preemptible()); in xen_mc_extend_args() 175 BUG_ON(b->argidx >= MC_ARGS); in xen_mc_extend_args() 192 BUG_ON(b->argidx >= MC_ARGS); in xen_mc_extend_args()
|
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/sparc/kernel/ |
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()
|
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/nds32/mm/ |
D | init.c | 194 BUG_ON(!mem_map); in mem_init() 245 BUG_ON(PKMAP_BASE + LAST_PKMAP * PAGE_SIZE > FIXADDR_START); in mem_init() 246 BUG_ON(CONSISTENT_END > PKMAP_BASE); in mem_init() 248 BUG_ON(VMALLOC_END > CONSISTENT_BASE); in mem_init() 249 BUG_ON(VMALLOC_START >= VMALLOC_END); in mem_init() 250 BUG_ON((unsigned long)high_memory > VMALLOC_START); in mem_init() 261 BUG_ON(idx <= FIX_HOLE || idx >= __end_of_fixed_addresses); in __set_fixmap()
|
/arch/arm/mach-vexpress/ |
D | tc2_pm.c | 71 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_cpu_powerdown_prepare() 86 BUG_ON(cluster >= TC2_CLUSTERS); in tc2_pm_cluster_powerdown_prepare() 131 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_wait_for_powerdown() 165 BUG_ON(cluster >= TC2_CLUSTERS || cpu >= TC2_MAX_CPUS_PER_CLUSTER); in tc2_pm_cpu_is_up() 173 BUG_ON(cluster >= TC2_CLUSTERS); in tc2_pm_cluster_is_up() 257 BUG_ON(mcpm_loopback(tc2_pm_cluster_cache_disable) != 0); in tc2_pm_init()
|
/arch/arm64/mm/ |
D | mmu.c | 155 BUG_ON(!pgattr_change_is_safe(pte_val(old_pte), in init_pte() 173 BUG_ON(pmd_sect(pmd)); in alloc_init_cont_pte() 176 BUG_ON(!pgtable_alloc); in alloc_init_cont_pte() 181 BUG_ON(pmd_bad(pmd)); in alloc_init_cont_pte() 221 BUG_ON(!pgattr_change_is_safe(pmd_val(old_pmd), in init_pmd() 227 BUG_ON(pmd_val(old_pmd) != 0 && in init_pmd() 247 BUG_ON(pud_sect(pud)); in alloc_init_cont_pmd() 250 BUG_ON(!pgtable_alloc); in alloc_init_cont_pmd() 255 BUG_ON(pud_bad(pud)); in alloc_init_cont_pmd() 296 BUG_ON(!pgtable_alloc); in alloc_init_pud() [all …]
|
/arch/arm64/kvm/ |
D | sys_regs.h | 89 BUG_ON(!r->reg); in reset_unknown() 90 BUG_ON(r->reg >= NR_SYS_REGS); in reset_unknown() 96 BUG_ON(!r->reg); in reset_val() 97 BUG_ON(r->reg >= NR_SYS_REGS); in reset_val() 122 BUG_ON(i1 == i2); in cmp_sys_reg()
|
/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 131 BUG_ON(test_bit(chan, txch_free)); in pasemi_free_tx_chan() 150 BUG_ON(test_bit(chan, rxch_free)); in pasemi_free_rx_chan() 176 BUG_ON(total_size < sizeof(struct pasemi_dmachan)); in pasemi_dma_alloc_chan() 242 BUG_ON(chan->ring_virt); in pasemi_dma_alloc_ring() 264 BUG_ON(!chan->ring_virt); in pasemi_dma_free_ring() 396 BUG_ON(test_bit(flag, flags_free)); in pasemi_dma_free_flag() 397 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_free_flag() 410 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_set_flag() 425 BUG_ON(flag >= MAX_FLAGS); in pasemi_dma_clear_flag() 461 BUG_ON(test_bit(fun, fun_free)); in pasemi_dma_free_fun() [all …]
|
/arch/arm/mm/ |
D | highmem.c | 45 BUG_ON(in_interrupt()); in kunmap() 86 BUG_ON(!pte_none(get_fixmap_pte(vaddr))); in kmap_atomic() 111 BUG_ON(vaddr != __fix_to_virt(idx)); in __kunmap_atomic() 141 BUG_ON(!pte_none(get_fixmap_pte(vaddr))); in kmap_atomic_pfn()
|
/arch/powerpc/platforms/ps3/ |
D | system-bus.c | 45 BUG_ON(!dev->bus_id); in ps3_open_hv_device_sb() 81 BUG_ON(!dev->bus_id); in ps3_close_hv_device_sb() 101 BUG_ON(result); in ps3_close_hv_device_sb() 146 BUG_ON(result); in ps3_close_hv_device_gpu() 155 BUG_ON(!dev); in ps3_open_hv_device() 193 BUG_ON(!dev); in ps3_close_hv_device() 367 BUG_ON(!dev); in ps3_system_bus_probe() 371 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() [all …]
|
D | time.c | 25 BUG_ON(result); in ps3_calibrate_decr() 38 BUG_ON(result); in read_rtc()
|
D | mm.c | 128 BUG_ON(is_kernel_addr(phys_addr)); in ps3_mm_phys_to_lpar() 341 BUG_ON(lpar_addr < r->offset); in dma_sb_lpar_to_bus() 342 BUG_ON(lpar_addr >= r->offset + r->len); in dma_sb_lpar_to_bus() 463 BUG_ON(result); in dma_sb_free_chunk() 529 BUG_ON(iopte_flag != 0xf800000000000000UL); in dma_sb_map_pages() 644 BUG_ON(!r); in dma_sb_region_create() 655 BUG_ON(!r->len); in dma_sb_region_create() 656 BUG_ON(!r->page_size); in dma_sb_region_create() 657 BUG_ON(!r->region_ops); in dma_sb_region_create() 713 BUG_ON(!r); in dma_sb_region_free() [all …]
|
D | interrupt.c | 335 BUG_ON(result); in ps3_event_receive_port_setup() 439 BUG_ON(result); in ps3_sb_event_receive_port_destroy() 447 BUG_ON(result); in ps3_sb_event_receive_port_destroy() 480 BUG_ON(result); in ps3_io_irq_setup() 499 BUG_ON(result); in ps3_io_irq_destroy() 529 BUG_ON(!is_kernel_addr((u64)virt_addr_bmp)); in ps3_vuart_irq_setup() 542 BUG_ON(result); in ps3_vuart_irq_setup() 562 BUG_ON(result); in ps3_vuart_irq_destroy() 584 BUG_ON(class > 2); in ps3_spe_irq_setup() 595 BUG_ON(result); in ps3_spe_irq_setup() [all …]
|
/arch/riscv/mm/ |
D | init.c | 51 BUG_ON(!mem_map); in mem_init() 113 BUG_ON(mem_size == 0); in setup_bootmem() 166 BUG_ON(idx <= FIX_HOLE || idx >= __end_of_fixed_addresses); in __set_fixmap() 193 BUG_ON(!mmu_enabled); in alloc_pte() 204 BUG_ON(sz != PAGE_SIZE); in create_pte_mapping() 240 BUG_ON(pmd_num >= NUM_EARLY_PMDS); in alloc_pmd() 359 BUG_ON(map_size == PAGE_SIZE); in setup_vm() 362 BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0); in setup_vm() 363 BUG_ON((load_pa % map_size) != 0); in setup_vm() 364 BUG_ON(load_sz > MAX_EARLY_MAPPING_SIZE); in setup_vm()
|
/arch/mips/mm/ |
D | highmem.c | 31 BUG_ON(in_interrupt()); in kunmap() 61 BUG_ON(!pte_none(*(kmap_pte - idx))); in kmap_atomic() 86 BUG_ON(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
|
/arch/x86/mm/ |
D | highmem_32.c | 48 BUG_ON(!pte_none(*(kmap_pte-idx))); in kmap_atomic_prot() 98 BUG_ON(vaddr < PAGE_OFFSET); in __kunmap_atomic() 99 BUG_ON(vaddr >= (unsigned long)high_memory); in __kunmap_atomic()
|
/arch/powerpc/lib/ |
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/arm/mach-bcm/ |
D | bcm_kona_smc.c | 135 BUG_ON(ip != SEC_EXIT_NORMAL); in bcm_kona_do_smc() 146 BUG_ON(smp_processor_id() != 0); in __bcm_kona_smc() 147 BUG_ON(!args); in __bcm_kona_smc()
|
/arch/mips/include/asm/ |
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/arm/mach-ebsa110/ |
D | io.c | 110 BUG_ON((unsigned long)addr & 1); in readsw() 120 BUG_ON((unsigned long)addr & 3); in readsl() 165 BUG_ON((unsigned long)addr & 1); in writesw() 175 BUG_ON((unsigned long)addr & 3); in writesl() 263 BUG_ON(port & 1); in __inw() 334 BUG_ON(port & 1); in __outw()
|
/arch/sh/mm/ |
D | kmap.c | 36 BUG_ON(!test_bit(PG_dcache_clean, &page->flags)); in kmap_coherent() 47 BUG_ON(!pte_none(*(kmap_coherent_pte - idx))); in kmap_coherent()
|