Home
last modified time | relevance | path

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

/external/kernel-headers/original/asm-x86/
Ddma-mapping_32.h24 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()
Dfixmap_32.h152 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix()
/external/kernel-headers/original/asm-generic/
Dbug.h15 #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) macro
33 #define BUG_ON(condition) do { if (condition) ; } while(0) macro
/external/oprofile/module/
Dcompat.h38 #ifndef BUG_ON
39 #define BUG_ON(p) do { if (p) BUG(); } while (0) macro
Doprofile.c251 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()
/external/qemu/
Djson-parser.c30 #define BUG_ON(cond) assert(!(cond)) macro
113 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()
/external/kernel-headers/original/linux/
Dskbuff.h480 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()
Dtimer.h82 BUG_ON(timer_pending(timer)); in add_timer()
Dbio.h45 #define BIO_BUG_ON BUG_ON
331 BUG_ON(addr & ~PAGE_MASK); in bvec_kmap_irq()
Dhighmem.h84 BUG_ON(offset + size > PAGE_SIZE); in memclear_highpage_flush()
Dspinlock_api_smp.h20 #define assert_spin_locked(x) BUG_ON(!spin_is_locked(x))
Drelay.h270 BUG_ON(length >= buf->chan->subbuf_size - 1); in subbuf_start_reserve()
Dgfp.h82 BUG_ON(zone >= GFP_ZONETYPES); in gfp_zone()
Dnetdevice.h886 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()
Datmdev.h461 BUG_ON(!test_bit(ATM_DF_REMOVED, &dev->flags)); in atm_dev_put()
Dmodule.h388 BUG_ON(module_refcount(module) == 0); in __module_get()
Dmm.h300 BUG_ON(atomic_read(&page->_count) == 0); in put_page_testzero()
Dfs.h1867 BUG_ON(n > SIMPLE_TRANSACTION_LIMIT); in simple_transaction_set()
/external/kernel-headers/original/linux/mtd/
Dmap.h431 #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth))
/external/yaffs2/yaffs2/
Dyaffs_fs.c494 BUG_ON(!PageLocked(pg)); in yaffs_readpage_nolock()
/external/oprofile/
DChangeLog-20021939 add BUG_ON()
1943 * module/oprofile.c: use BUG_ON() in release functions,