Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/vm/
Dmap_populate.c24 #define BUG_ON(condition, description) \ macro
38 BUG_ON(ret <= 0, "read(sock)"); in parent_f()
42 BUG_ON(ret, "msync()"); in parent_f()
45 BUG_ON(ret <= 0, "write(sock)"); in parent_f()
48 BUG_ON(!WIFEXITED(status), "child in unexpected state"); in parent_f()
59 BUG_ON(smap == MAP_FAILED, "mmap()"); in child_f()
61 BUG_ON(*smap != 0xdeadbabe, "MAP_PRIVATE | MAP_POPULATE changed file"); in child_f()
64 BUG_ON(ret <= 0, "write(sock)"); in child_f()
67 BUG_ON(ret <= 0, "read(sock)"); in child_f()
69 BUG_ON(*smap == 0x22222BAD, "MAP_POPULATE didn't COW private page"); in child_f()
[all …]
/external/u-boot/drivers/net/fsl-mc/dpio/
Dqbman_private.h28 do {if (!(loopvar--)) BUG_ON(NULL == "DBG_POLL_CHECK"); } while (0)
61 BUG_ON(width > (sizeof(t) * 8)); \
66 BUG_ON(width > (sizeof(t) * 8)); \
72 BUG_ON(width > (sizeof(t) * 8)); \
78 BUG_ON(width > (sizeof(t) * 8)); \
148 BUG_ON((unsigned long)ptr & 63); in dcbz()
Dqbman_portal.c120 BUG_ON(p->mc.check != swp_mc_can_start); in qbman_swp_mc_start()
135 BUG_ON(p->mc.check != swp_mc_can_submit); in qbman_swp_mc_submit()
142 BUG_ON((*v & cmd_verb) != *v); in qbman_swp_mc_submit()
155 BUG_ON(p->mc.check != swp_mc_can_poll); in qbman_swp_mc_result()
304 BUG_ON(!numframes || (numframes > 16)); in qbman_pull_desc_set_numframes()
552 BUG_ON(!num_buffers || (num_buffers > 7)); in qbman_swp_release()
583 BUG_ON(!num_buffers || (num_buffers > 7)); in qbman_swp_acquire()
602 BUG_ON(verb != QBMAN_MC_ACQUIRE); in qbman_swp_acquire()
610 BUG_ON(num > num_buffers); in qbman_swp_acquire()
Dqbman_sys.h157 BUG_ON(offset & 63); in qbman_cena_write_start()
271 BUG_ON(reg); in qbman_swp_sys_init()
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dlocks.h28 BUG_ON(pthread_mutex_lock(&lock->mutex)); in lock_impl_lock()
33 BUG_ON(pthread_mutex_unlock(&lock->mutex)); in lock_impl_unlock()
96 BUG_ON(!__sync_bool_compare_and_swap(&lock->locked, true, false)); in lock_impl_unlock()
106 BUG_ON(!old_locked); in lock_impl_unlock()
201 BUG_ON(prev_count == UINT_MAX); in complete()
Dbug_on.h8 #define BUG_ON(x) assert(!(x)) macro
12 #define WARN_ON(x) (BUG_ON(x), false)
Dpreempt.c60 BUG_ON(preempt_disable_count < 0 || preempt_disable_count == INT_MAX); in preempt_disable()
73 BUG_ON(preempt_disable_count < 1); in preempt_enable()
Dpreempt.h56 BUG_ON(preempt_disable_count); in might_sleep()
Dpercpu.h68 BUG_ON(preemptible()); \
/external/u-boot/drivers/usb/host/
Dxhci-ring.c277 BUG_ON(prepare_ring(ctrl, ctrl->cmd_ring, EP_STATE_RUNNING)); in xhci_queue_command()
455 BUG_ON(GET_COMP_CODE( in xhci_wait_for_event()
495 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in abort_td()
496 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in abort_td()
497 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->trans_event.transfer_len in abort_td()
502 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
510 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
524 BUG_ON(udev->act_len != length); in record_transfer_result()
724 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_bulk_tx()
725 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in xhci_bulk_tx()
[all …]
Dxhci-mem.c36 BUG_ON((void *)addr == NULL || len == 0); in xhci_flush_cache()
51 BUG_ON((void *)addr == NULL || len == 0); in xhci_inval_cache()
83 BUG_ON(!ring); in xhci_ring_free()
195 BUG_ON(!ptr); in xhci_malloc()
278 BUG_ON(!seg); in xhci_segment_alloc()
308 BUG_ON(!ring); in xhci_ring_alloc()
314 BUG_ON(!ring->first_seg); in xhci_ring_alloc()
323 BUG_ON(!next); in xhci_ring_alloc()
378 BUG_ON(i == 16); in xhci_scratchpad_alloc()
419 BUG_ON(!ctx); in xhci_alloc_container_ctx()
[all …]
Dxhci.c463 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in xhci_configure_endpoints()
649 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) != slot_id); in xhci_address_device()
724 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->event_cmd.status)) in _xhci_alloc_device()
1420 BUG_ON(!virt_dev); in xhci_update_hub_device()
/external/u-boot/drivers/net/
Dep93xx_eth.c378 BUG_ON(packet == NULL); in ep93xx_eth_send_packet()
565 BUG_ON(bus->name == NULL); in ep93xx_miiphy_read()
566 BUG_ON(addr > MII_ADDRESS_MAX); in ep93xx_miiphy_read()
567 BUG_ON(reg > MII_REGISTER_MAX); in ep93xx_miiphy_read()
618 BUG_ON(bus->name == NULL); in ep93xx_miiphy_write()
619 BUG_ON(addr > MII_ADDRESS_MAX); in ep93xx_miiphy_write()
620 BUG_ON(reg > MII_REGISTER_MAX); in ep93xx_miiphy_write()
/external/u-boot/arch/arm/mach-tegra/
Divc.c91 BUG_ON(frame >= ivc->nframes); in tegra_ivc_frame_addr()
487 BUG_ON(offsetof(struct tegra_ivc_channel_header, w_count) & in check_ivc_params()
489 BUG_ON(offsetof(struct tegra_ivc_channel_header, r_count) & in check_ivc_params()
491 BUG_ON(sizeof(struct tegra_ivc_channel_header) & in check_ivc_params()
/external/u-boot/drivers/mtd/nand/
Dnand_bbt.c489 BUG_ON(bd->options & NAND_BBT_NO_OOB); in create_bbt()
1034 BUG_ON((this->bbt_options & NAND_BBT_NO_OOB) && in verify_bbt_descr()
1036 BUG_ON(!bits); in verify_bbt_descr()
1042 BUG_ON(!(this->bbt_options & NAND_BBT_USE_FLASH)); in verify_bbt_descr()
1043 BUG_ON(!(this->bbt_options & NAND_BBT_NO_OOB)); in verify_bbt_descr()
1044 BUG_ON(bd->offs); in verify_bbt_descr()
1046 BUG_ON(bd->veroffs != bd->len); in verify_bbt_descr()
1047 BUG_ON(bd->options & NAND_BBT_SAVECONTENT); in verify_bbt_descr()
1058 BUG_ON(table_size > (1 << this->bbt_erase_shift)); in verify_bbt_descr()
/external/libnl/lib/
Dsocket.c128 BUG_ON(port == 0); in release_local_port()
135 BUG_ON((used_ports_map[nr] & mask) != mask); in release_local_port()
149 BUG_ON((used_ports_map[i] & used_ports[i]) != used_ports[i]); in _nl_socket_used_ports_release_all()
/external/u-boot/drivers/core/
Ddevres.c83 BUG_ON(!list_empty(&dr->entry)); in devres_free()
93 BUG_ON(!list_empty(&dr->entry)); in devres_add()
/external/u-boot/include/linux/
Dbug.h14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) macro
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h49 #define BUG_ON(condition) assert(!(condition)) macro
/external/u-boot/arch/arm/mach-uniphier/boot-device/
Dboot-device.c139 BUG_ON(!is_power_of_2(*info->boot_device_count)); in UNIPHIER_DEFINE_SOCDATA_FUNC()
/external/libnl/include/netlink-private/
Dnetlink.h105 #define BUG_ON(condition) \ macro
/external/bcc/tools/
Dinject_example.txt50 there is a BUG_ON in btrfs_prepare_close_one_device() at fs/btrfs/volumes.c:1002
59 tripped the BUG_ON, causing a segfault down the line.
/external/u-boot/drivers/ddr/fsl/
Dddr4_dimm_params.c300 BUG_ON(spd->caslat_b4 != 0); in ddr_compute_dimm_parameters()
/external/u-boot/drivers/gpio/
Dadi_gpio2.c143 BUG_ON(ident >= MAX_RESOURCES); in peripheral_request()
/external/u-boot/net/
Deth_legacy.c55 BUG_ON(devname == NULL); in eth_get_dev_by_name()

12