Home
last modified time | relevance | path

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

12

/include/asm-generic/
Ddma-mapping.h22 BUG_ON(dev->bus != &pci_bus_type); in dma_supported()
30 BUG_ON(dev->bus != &pci_bus_type); in dma_set_mask()
39 BUG_ON(dev->bus != &pci_bus_type); in dma_alloc_coherent()
48 BUG_ON(dev->bus != &pci_bus_type); in dma_free_coherent()
57 BUG_ON(dev->bus != &pci_bus_type); in dma_map_single()
66 BUG_ON(dev->bus != &pci_bus_type); in dma_unmap_single()
76 BUG_ON(dev->bus != &pci_bus_type); in dma_map_page()
85 BUG_ON(dev->bus != &pci_bus_type); in dma_unmap_page()
94 BUG_ON(dev->bus != &pci_bus_type); in dma_map_sg()
103 BUG_ON(dev->bus != &pci_bus_type); in dma_unmap_sg()
[all …]
Dbug.h50 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) macro
95 #define BUG_ON(condition) do { if (condition) ; } while(0) macro
/include/linux/
Dmmdebug.h7 #define VM_BUG_ON(cond) BUG_ON(cond)
13 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
Dscatterlist.h63 BUG_ON((unsigned long) page & 0x03); in sg_assign_page()
65 BUG_ON(sg->sg_magic != SG_MAGIC); in sg_assign_page()
66 BUG_ON(sg_is_chain(sg)); in sg_assign_page()
96 BUG_ON(sg->sg_magic != SG_MAGIC); in sg_page()
97 BUG_ON(sg_is_chain(sg)); in sg_page()
163 BUG_ON(sg->sg_magic != SG_MAGIC); in sg_mark_end()
Dswapops.h61 BUG_ON(pte_file(pte)); in pte_to_swp_entry()
75 BUG_ON(pte_file(__swp_entry_to_pte(arch_entry))); in swp_entry_to_pte()
82 BUG_ON(!PageLocked(page)); in make_migration_entry()
105 BUG_ON(!PageLocked(p)); in migration_entry_to_page()
Ddma-attrs.h49 BUG_ON(attr >= DMA_ATTR_MAX); in dma_set_attr()
62 BUG_ON(attr >= DMA_ATTR_MAX); in dma_get_attr()
Dbit_spinlock.h54 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock()
71 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock()
Dregset.h226 BUG_ON(*pos < start_pos); in user_regset_copyout()
251 BUG_ON(*pos < start_pos); in user_regset_copyin()
281 BUG_ON(*pos < start_pos); in user_regset_copyout_zero()
307 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
Draid_class.h59 BUG_ON(!device); \
68 BUG_ON(!device); \
Dio-mapping.h79 BUG_ON(offset >= mapping->size); in io_mapping_map_atomic_wc()
96 BUG_ON(offset >= mapping->size); in io_mapping_map_wc()
Dptrace.h187 BUG_ON(!list_empty(&task->ptraced)); in ptrace_release_task()
189 BUG_ON(!list_empty(&task->ptrace_entry)); in ptrace_release_task()
Delfcore.h109 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
Dradix-tree.h154 BUG_ON(radix_tree_is_indirect_ptr(item)); in radix_tree_replace_slot()
Dspinlock_api_smp.h20 #define assert_spin_locked(x) BUG_ON(!spin_is_locked(x))
Dtimer.h165 BUG_ON(timer_pending(timer)); in add_timer()
Dskbuff.h513 BUG_ON(skb_queue_is_last(list, skb)); in skb_queue_next()
531 BUG_ON(skb_queue_is_first(list, skb)); in skb_queue_prev()
596 BUG_ON(skb->nohdr); in skb_header_release()
1001 #define SKB_PAGE_ASSERT(skb) BUG_ON(skb_shinfo(skb)->nr_frags)
1002 #define SKB_FRAG_ASSERT(skb) BUG_ON(skb_shinfo(skb)->frag_list)
1003 #define SKB_LINEAR_ASSERT(skb) BUG_ON(skb_is_nonlinear(skb))
1064 BUG_ON(skb->len < skb->data_len); in __skb_pull()
1335 BUG_ON(err); in pskb_trim_unique()
Dhighmem.h133 BUG_ON(end1 > PAGE_SIZE || end2 > PAGE_SIZE); in zero_user_segments()
/include/net/
Dtimewait_sock.h35 BUG_ON(sk == NULL); in twsk_destructor()
36 BUG_ON(sk->sk_prot == NULL); in twsk_destructor()
37 BUG_ON(sk->sk_prot->twsk_prot == NULL); in twsk_destructor()
Dwireless.h250 BUG_ON(!wiphy); in wiphy_priv()
283 BUG_ON(!wdev); in wdev_priv()
/include/asm-mn10300/
Ddma-mapping.h40 BUG_ON(direction == DMA_NONE); in dma_map_single()
57 BUG_ON(direction == DMA_NONE); in dma_unmap_single()
81 BUG_ON(!valid_dma_direction(direction)); in dma_map_sg()
85 BUG_ON(!sg_page(sg)); in dma_map_sg()
103 BUG_ON(!valid_dma_direction(direction)); in dma_unmap_sg()
115 BUG_ON(direction == DMA_NONE); in dma_map_page()
123 BUG_ON(direction == DMA_NONE); in dma_unmap_page()
/include/scsi/
Dscsi_transport.h94 BUG_ON(t->target_private_offset != 0); in scsi_transport_reserve_target()
101 BUG_ON(t->device_private_offset != 0); in scsi_transport_reserve_device()
/include/asm-frv/
Ddma-mapping.h41 BUG_ON(direction == DMA_NONE); in dma_unmap_single()
72 BUG_ON(direction == DMA_NONE); in dma_unmap_sg()
83 BUG_ON(direction == DMA_NONE); in dma_unmap_page()
/include/net/netns/
Dgeneric.h41 BUG_ON(id == 0 || id > ng->len); in net_generic()
/include/linux/nfsd/
Dnfsfh.h321 BUG_ON(!dentry); in fh_lock_nested()
347 BUG_ON(!fhp->fh_dentry); in fh_unlock()
/include/linux/wimax/
Ddebug.h370 BUG_ON(_D_SUBMODULE_INDEX(D_SUBMODULE) >= D_LEVEL_SIZE);\

12