Searched refs:BUG_ON (Results 1 – 25 of 44) sorted by relevance
12
22 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 …]
50 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) macro95 #define BUG_ON(condition) do { if (condition) ; } while(0) macro
7 #define VM_BUG_ON(cond) BUG_ON(cond)13 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
63 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()
61 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()
49 BUG_ON(attr >= DMA_ATTR_MAX); in dma_set_attr()62 BUG_ON(attr >= DMA_ATTR_MAX); in dma_get_attr()
54 BUG_ON(!test_bit(bitnum, addr)); in bit_spin_unlock()71 BUG_ON(!test_bit(bitnum, addr)); in __bit_spin_unlock()
226 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()
59 BUG_ON(!device); \68 BUG_ON(!device); \
79 BUG_ON(offset >= mapping->size); in io_mapping_map_atomic_wc()96 BUG_ON(offset >= mapping->size); in io_mapping_map_wc()
187 BUG_ON(!list_empty(&task->ptraced)); in ptrace_release_task()189 BUG_ON(!list_empty(&task->ptrace_entry)); in ptrace_release_task()
109 BUG_ON(sizeof(*elfregs) != sizeof(*regs)); in elf_core_copy_regs()
154 BUG_ON(radix_tree_is_indirect_ptr(item)); in radix_tree_replace_slot()
20 #define assert_spin_locked(x) BUG_ON(!spin_is_locked(x))
165 BUG_ON(timer_pending(timer)); in add_timer()
513 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()
133 BUG_ON(end1 > PAGE_SIZE || end2 > PAGE_SIZE); in zero_user_segments()
35 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()
250 BUG_ON(!wiphy); in wiphy_priv()283 BUG_ON(!wdev); in wdev_priv()
40 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()
94 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()
41 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()
41 BUG_ON(id == 0 || id > ng->len); in net_generic()
321 BUG_ON(!dentry); in fh_lock_nested()347 BUG_ON(!fhp->fh_dentry); in fh_unlock()
370 BUG_ON(_D_SUBMODULE_INDEX(D_SUBMODULE) >= D_LEVEL_SIZE);\