Searched refs:BUG_ON (Results 1 – 21 of 21) sorted by relevance
24 BUG_ON(!valid_dma_direction(direction)); in dma_map_single()34 BUG_ON(!valid_dma_direction(direction)); in dma_unmap_single()44 BUG_ON(!valid_dma_direction(direction)); in dma_map_sg()48 BUG_ON(!sg_page(sg)); in dma_map_sg()61 BUG_ON(!valid_dma_direction(direction)); in dma_map_page()69 BUG_ON(!valid_dma_direction(direction)); in dma_unmap_page()77 BUG_ON(!valid_dma_direction(direction)); in dma_unmap_sg()
152 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix()
15 #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) macro33 #define BUG_ON(condition) do { if (condition) ; } while(0) macro
38 #ifndef BUG_ON39 #define BUG_ON(p) do { if (p) BUG(); } while (0) macro
251 BUG_ON(!oprof_note_opened); in oprof_note_release()403 BUG_ON(!oprof_opened); in oprof_release()540 BUG_ON(state == STOPPED); in oprof_partial_stop()558 BUG_ON(state == STOPPED); in oprof_stop()
30 #define BUG_ON(cond) assert(!(cond)) macro113 BUG_ON(buffer_length < 2); in wchar_to_utf8()118 BUG_ON(buffer_length < 3); in wchar_to_utf8()124 BUG_ON(buffer_length < 4); in wchar_to_utf8()
480 BUG_ON(skb->nohdr); in skb_header_release()814 #define SKB_PAGE_ASSERT(skb) BUG_ON(skb_shinfo(skb)->nr_frags)815 #define SKB_FRAG_ASSERT(skb) BUG_ON(skb_shinfo(skb)->frag_list)816 #define SKB_LINEAR_ASSERT(skb) BUG_ON(skb_is_nonlinear(skb))878 BUG_ON(skb->len < skb->data_len); in __skb_pull()1054 BUG_ON(err); in pskb_trim_unique()1298 BUG_ON(in_irq()); in kmap_skb_frag()
82 BUG_ON(timer_pending(timer)); in add_timer()
45 #define BIO_BUG_ON BUG_ON331 BUG_ON(addr & ~PAGE_MASK); in bvec_kmap_irq()
84 BUG_ON(offset + size > PAGE_SIZE); in memclear_highpage_flush()
20 #define assert_spin_locked(x) BUG_ON(!spin_is_locked(x))
270 BUG_ON(length >= buf->chan->subbuf_size - 1); in subbuf_start_reserve()
82 BUG_ON(zone >= GFP_ZONETYPES); in gfp_zone()
886 BUG_ON(!test_bit(__LINK_STATE_RX_SCHED, &dev->state)); in netif_rx_complete()910 BUG_ON(!test_bit(__LINK_STATE_RX_SCHED, &dev->state)); in __netif_rx_complete()
461 BUG_ON(!test_bit(ATM_DF_REMOVED, &dev->flags)); in atm_dev_put()
388 BUG_ON(module_refcount(module) == 0); in __module_get()
300 BUG_ON(atomic_read(&page->_count) == 0); in put_page_testzero()
1867 BUG_ON(n > SIMPLE_TRANSACTION_LIMIT); in simple_transaction_set()
431 #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth))
494 BUG_ON(!PageLocked(pg)); in yaffs_readpage_nolock()
1939 add BUG_ON()1943 * module/oprofile.c: use BUG_ON() in release functions,