Home
last modified time | relevance | path

Searched refs:BUG_ON (Results 1 – 25 of 59) sorted by relevance

123

/include/linux/
Dhardirq.h111 BUG_ON(in_nmi() == NMI_MASK); \
127 BUG_ON(!in_nmi()); \
Dbit_spinlock.h60 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock()
77 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock()
Draid_class.h60 BUG_ON(!device); \
69 BUG_ON(!device); \
Dio-mapping.h70 BUG_ON(offset >= mapping->size); in io_mapping_map_atomic_wc()
96 BUG_ON(offset >= mapping->size); in io_mapping_map_local_wc()
113 BUG_ON(offset >= mapping->size); in io_mapping_map_wc()
Diommu-helper.h23 BUG_ON(!is_power_of_2(boundary_size)); in iommu_is_span_boundary()
Dclosure.h191 BUG_ON(closure_nr_remaining(cl) != 1 && !cl->closure_get_happened); in closure_sync()
203 BUG_ON(closure_nr_remaining(cl) != 1 && !cl->closure_get_happened); in closure_sync_timeout()
268 BUG_ON(!queue_work(wq, &cl->work)); in closure_queue()
281 BUG_ON((atomic_inc_return(&cl->remaining) & in closure_get()
Dbug.h26 BUG_ON(cond); \
Dmmdebug.h19 #define VM_BUG_ON(cond) BUG_ON(cond)
118 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
Dscatterlist.h115 BUG_ON((unsigned long)page & SG_PAGE_LINK_MASK); in sg_assign_page()
117 BUG_ON(sg_is_chain(sg)); in sg_assign_page()
171 BUG_ON(sg_is_chain(sg)); in sg_page()
187 BUG_ON(!virt_addr_valid(buf)); in sg_set_buf()
Dregset.h260 BUG_ON(*pos < start_pos); in user_regset_copyin()
287 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
Dfixp-arith.h122 BUG_ON(twopi > 1 << 18); in fixp_sin32_rad()
Delfcore.h82 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
Dptrace.h229 BUG_ON(!list_empty(&task->ptraced)); in ptrace_release_task()
231 BUG_ON(!list_empty(&task->ptrace_entry)); in ptrace_release_task()
Dswapops.h400 BUG_ON(!PageLocked(page)); in make_hwpoison_entry()
517 BUG_ON(is_migration_entry(entry) && !PageLocked(p)); in pfn_swap_entry_to_page()
530 BUG_ON(is_migration_entry(entry) && !folio_test_locked(folio)); in pfn_swap_entry_folio()
Dvirtio_config.h154 BUG_ON(fbit >= 64); in __virtio_test_bit()
171 BUG_ON(fbit >= 64); in __virtio_set_bit()
188 BUG_ON(fbit >= 64); in __virtio_clear_bit()
Dseq_buf.h147 BUG_ON(s->len + num > s->size); in seq_buf_commit()
Dktime.h134 BUG_ON(div < 0); in ktime_divns()
/include/scsi/
Dscsi_transport.h59 BUG_ON(t->target_private_offset != 0); in scsi_transport_reserve_target()
66 BUG_ON(t->device_private_offset != 0); in scsi_transport_reserve_device()
/include/linux/dsa/
Dsja1105.h69 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1105 && in sja1105_tagger_data()
/include/net/
Dnetdev_rx_queue.h59 BUG_ON(index >= dev->num_rx_queues); in get_netdev_rx_queue_index()
/include/asm-generic/
Dpgalloc.h155 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free()
204 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in __pud_free()
Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) macro
166 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) macro
Dfixmap.h38 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix()
/include/linux/platform_data/
Ddma-iop32x.h18 #define iop_paranoia(x) BUG_ON(IOP_PARANOIA && (x))
/include/linux/ceph/
Dlibceph.h196 BUG_ON(!RB_EMPTY_NODE(&t->nodefld)); \
223 BUG_ON(RB_EMPTY_NODE(&t->nodefld)); \

123