/linux-master/tools/virtio/linux/ |
H A D | bug.h | 7 #define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond)) macro
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mremap_dontunmap.c | 30 #define BUG_ON(condition, description) \ macro 48 BUG_ON(source_mapping == MAP_FAILED, "mmap"); 58 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, 62 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, 71 BUG_ON(size & (page_size - 1), 73 BUG_ON((unsigned long)addr & (page_size - 1), 102 BUG_ON(source_mapping == MAP_FAILED, "mmap"); 110 BUG_ON(dest_mapping == MAP_FAILED, "mremap"); 114 BUG_ON(check_region_contains_byte 117 BUG_ON(check_region_contains_byt [all...] |
H A D | map_populate.c | 23 #define BUG_ON(condition, description) \ macro 38 BUG_ON(ret <= 0, "read(sock)"); 42 BUG_ON(ret, "msync()"); 45 BUG_ON(ret <= 0, "write(sock)"); 60 BUG_ON(smap == MAP_FAILED, "mmap()"); 62 BUG_ON(*smap != 0xdeadbabe, "MAP_PRIVATE | MAP_POPULATE changed file"); 65 BUG_ON(ret <= 0, "write(sock)"); 68 BUG_ON(ret <= 0, "read(sock)"); 87 BUG_ON(!ftmp, "tmpfile()"); 90 BUG_ON(re [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | vga.h | 25 BUG_ON((long) addr >= 0); 32 BUG_ON((long) addr >= 0); 39 BUG_ON((long) p >= 0); 46 BUG_ON((long) d >= 0); 53 BUG_ON((long) d >= 0);
|
/linux-master/lib/ |
H A D | atomic64_test.c | 49 BUG_ON(atomic##bit##_##op(val, &v) != r); \ 50 BUG_ON(atomic##bit##_read(&v) != r); \ 58 BUG_ON(atomic##bit##_##op(val, &v) != v0); \ 59 BUG_ON(atomic##bit##_read(&v) != r); \ 75 BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \ 76 BUG_ON(atomic##bit##_read(&v) != expect); \ 159 BUG_ON(v.counter != r); 163 BUG_ON(v.counter != r); 164 BUG_ON(atomic64_read(&v) != r); 193 BUG_ON( [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | jump_label.c | 22 BUG_ON(off & 3); 34 BUG_ON(off > 0x7fffff); 35 BUG_ON(off < -0x800000);
|
/linux-master/drivers/ps3/ |
H A D | sys-manager-core.c | 32 BUG_ON(!ops); 33 BUG_ON(!ops->dev);
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | hyp-smp.c | 21 BUG_ON(cpu >= ARRAY_SIZE(hyp_cpu_logical_map)); 34 BUG_ON(cpu >= ARRAY_SIZE(kvm_arm_hyp_percpu_base));
|
/linux-master/fs/bcachefs/ |
H A D | errcode.c | 28 BUG_ON(err >= BCH_ERR_MAX); 44 BUG_ON(err >= BCH_ERR_MAX); 45 BUG_ON(class >= BCH_ERR_MAX); 56 BUG_ON((unsigned) std_err >= BCH_ERR_MAX);
|
/linux-master/mm/ |
H A D | page_table_check.c | 55 BUG_ON(!page_ext); 76 BUG_ON(PageSlab(page)); 83 BUG_ON(atomic_read(&ptc->file_map_count)); 84 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); 86 BUG_ON(atomic_read(&ptc->anon_map_count)); 87 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); 113 BUG_ON(PageSlab(page)); 120 BUG_ON(atomic_read(&ptc->file_map_count)); 121 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); 123 BUG_ON(atomic_rea [all...] |
/linux-master/net/mac802154/ |
H A D | mib.c | 29 BUG_ON(dev->type != ARPHRD_IEEE802154); 46 BUG_ON(dev->type != ARPHRD_IEEE802154); 62 BUG_ON(dev->type != ARPHRD_IEEE802154); 78 BUG_ON(dev->type != ARPHRD_IEEE802154); 93 BUG_ON(dev->type != ARPHRD_IEEE802154); 108 BUG_ON(dev->type != ARPHRD_IEEE802154); 122 BUG_ON(dev->type != ARPHRD_IEEE802154); 138 BUG_ON(dev->type != ARPHRD_IEEE802154); 154 BUG_ON(dev->type != ARPHRD_IEEE802154); 169 BUG_ON(de [all...] |
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | hw_ops.h | 18 BUG_ON(1); 28 BUG_ON(1); 39 BUG_ON(1); 49 BUG_ON(1); 67 BUG_ON(1); 99 BUG_ON(!wl->ops->convert_fw_status); 108 BUG_ON(1); 127 BUG_ON(1); 173 BUG_ON(1); 185 BUG_ON( [all...] |
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | time.c | 25 BUG_ON(result); 38 BUG_ON(result);
|
/linux-master/arch/powerpc/lib/ |
H A D | locks.c | 29 BUG_ON(holder_cpu >= NR_CPUS); 55 BUG_ON(holder_cpu >= NR_CPUS);
|
/linux-master/arch/x86/xen/ |
H A D | suspend_pv.c | 19 BUG_ON(!irqs_disabled()); 41 BUG_ON(xen_cpu_initialized_map == NULL);
|
H A D | suspend_hvm.c | 22 BUG_ON(xen_set_upcall_vector(cpu));
|
/linux-master/arch/riscv/mm/ |
H A D | physaddr.c | 39 BUG_ON(!kernel_map.va_pa_offset); 47 BUG_ON(!kernel_map.va_pa_offset);
|
/linux-master/arch/mips/include/asm/ |
H A D | bug.h | 34 #define BUG_ON(C) __BUG_ON((unsigned long)(C)) macro
|
/linux-master/arch/arm/include/asm/ |
H A D | firmware.h | 74 BUG_ON(!ops);
|
/linux-master/arch/arm/mach-mvebu/ |
H A D | dove.c | 23 BUG_ON(mvebu_mbus_dt_init(false));
|
/linux-master/fs/ocfs2/ |
H A D | heartbeat.c | 46 BUG_ON(osb->node_num == node_num); 69 BUG_ON(bit >= map->num_nodes); 81 BUG_ON(bit >= map->num_nodes);
|
/linux-master/arch/arm64/kvm/hyp/include/nvhe/ |
H A D | memory.h | 54 BUG_ON(p->refcount == USHRT_MAX); 60 BUG_ON(!p->refcount); 72 BUG_ON(p->refcount);
|
/linux-master/net/ceph/ |
H A D | messenger.c | 102 BUG_ON(!con_flag_valid(con_flag)); 109 BUG_ON(!con_flag_valid(con_flag)); 116 BUG_ON(!con_flag_valid(con_flag)); 124 BUG_ON(!con_flag_valid(con_flag)); 132 BUG_ON(!con_flag_valid(con_flag)); 213 BUG_ON(ceph_msg_cache); 223 BUG_ON(!ceph_msg_cache); 235 BUG_ON(!ceph_zero_page); 247 BUG_ON(ceph_zero_page); 267 BUG_ON(ceph_msgr_w [all...] |
/linux-master/tools/testing/radix-tree/ |
H A D | idr-test.c | 175 BUG_ON(id < 0); 176 BUG_ON(ptr != DUMMY_PTR); 187 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL)); 188 BUG_ON(id != handle); 189 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL) != -ENOSPC); 190 BUG_ON(id != handle); 195 BUG_ON(ptr != NULL); 196 BUG_ON(sid != 0); 198 BUG_ON(ptr != DUMMY_PTR); 199 BUG_ON(si [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regmap-spmi.c | 23 BUG_ON(reg_size != 1); 39 BUG_ON(reg_size != 1); 72 BUG_ON(count < 1); 113 BUG_ON(reg_size != 2); 157 BUG_ON(reg_size != 2); 192 BUG_ON(count < 2);
|