Home
last modified time | relevance | path

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

123

/include/linux/
A Dhardirq.h111 BUG_ON(in_nmi() == NMI_MASK); \
127 BUG_ON(!in_nmi()); \
A Dbit_spinlock.h60 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock()
77 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock()
A Dvfsdebug.h12 #define VFS_BUG_ON(cond) BUG_ON(cond)
21 BUG_ON(1); \
A Draid_class.h60 BUG_ON(!device); \
69 BUG_ON(!device); \
A 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()
A Diommu-helper.h23 BUG_ON(!is_power_of_2(boundary_size)); in iommu_is_span_boundary()
A 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()
A Dbug.h26 BUG_ON(cond); \
A Dscatterlist.h137 BUG_ON((unsigned long)page & SG_PAGE_LINK_MASK); in sg_assign_page()
139 BUG_ON(sg_is_chain(sg)); in sg_assign_page()
193 BUG_ON(sg_is_chain(sg)); in sg_page()
209 BUG_ON(!virt_addr_valid(buf)); in sg_set_buf()
A Dmmdebug.h21 #define VM_BUG_ON(cond) BUG_ON(cond)
142 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
A Dfixp-arith.h122 BUG_ON(twopi > 1 << 18); in fixp_sin32_rad()
A Delfcore.h82 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
A Dregset.h270 BUG_ON(*pos < start_pos); in user_regset_copyin()
297 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
A Dptrace.h229 BUG_ON(!list_empty(&task->ptraced)); in ptrace_release_task()
231 BUG_ON(!list_empty(&task->ptrace_entry)); in ptrace_release_task()
A Dswapops.h381 BUG_ON(!PageLocked(page)); in make_hwpoison_entry()
498 BUG_ON(is_migration_entry(entry) && !PageLocked(p)); in pfn_swap_entry_to_page()
511 BUG_ON(is_migration_entry(entry) && !folio_test_locked(folio)); in pfn_swap_entry_folio()
A Dseq_buf.h147 BUG_ON(s->len + num > s->size); in seq_buf_commit()
/include/scsi/
A 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/asm-generic/
A Dpgalloc.h159 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free()
207 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in __pud_free()
252 BUG_ON((unsigned long)p4d & (PAGE_SIZE-1)); in __p4d_free()
288 BUG_ON((unsigned long)pgd & (PAGE_SIZE-1)); in __pgd_free()
A 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
A Dfixmap.h38 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix()
/include/linux/dsa/
A Dsja1105.h69 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1105 && in sja1105_tagger_data()
/include/net/
A Dnetdev_rx_queue.h55 BUG_ON(index >= dev->num_rx_queues); in get_netdev_rx_queue_index()
/include/linux/platform_data/
A Ddma-iop32x.h18 #define iop_paranoia(x) BUG_ON(IOP_PARANOIA && (x))
/include/linux/ceph/
A Dlibceph.h196 BUG_ON(!RB_EMPTY_NODE(&t->nodefld)); \
223 BUG_ON(RB_EMPTY_NODE(&t->nodefld)); \
/include/xen/
A Dxen-ops.h127 BUG_ON(err_ptr == NULL); in xen_remap_domain_gfn_array()

Completed in 634 milliseconds

123