Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/vm/
Dmremap_dontunmap.c33 #define BUG_ON(condition, description) \ macro
51 BUG_ON(source_mapping == MAP_FAILED, "mmap"); in kernel_support_for_mremap_dontunmap()
61 BUG_ON(munmap(dest_mapping, num_pages * page_size) == -1, in kernel_support_for_mremap_dontunmap()
65 BUG_ON(munmap(source_mapping, num_pages * page_size) == -1, in kernel_support_for_mremap_dontunmap()
74 BUG_ON(size & (page_size - 1), in check_region_contains_byte()
76 BUG_ON((unsigned long)addr & (page_size - 1), in check_region_contains_byte()
105 BUG_ON(source_mapping == MAP_FAILED, "mmap"); in mremap_dontunmap_simple()
113 BUG_ON(dest_mapping == MAP_FAILED, "mremap"); in mremap_dontunmap_simple()
117 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple()
120 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple()
[all …]
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/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/fsverity-utils/lib/
Dhash_algs.c32 BUG_ON(ret != 1); in openssl_digest_init()
42 BUG_ON(ret != 1); in openssl_digest_update()
51 BUG_ON(ret != 1); in openssl_digest_final()
Dlib_private.h81 #define BUG_ON(condition) \ macro
/external/erofs-utils/include/erofs/
Dflex-array.h85 BUG_ON(1); in st_add()
138 BUG_ON(!(x)); \
Ddefs.h170 #define BUG_ON(cond) assert(!(cond)) macro
175 #define DBG_BUGON(condition) BUG_ON(condition)
/external/libnl/lib/
Dsocket.c122 BUG_ON(port == 0); in release_local_port()
129 BUG_ON((used_ports_map[nr] & mask) != mask); in release_local_port()
143 BUG_ON((used_ports_map[i] & used_ports[i]) != used_ports[i]); in _nl_socket_used_ports_release_all()
Dcache_mngt.c252 BUG_ON (ops->co_obj_ops->oo_keygen && !ops->co_obj_ops->oo_compare); in nl_cache_mngt_register()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator_validate.h49 #define BUG_ON(condition) assert(!(condition)) macro
/external/libnl/lib/route/link/
Dvrf.c109 BUG_ON(!vdst || !vsrc); in vrf_clone()
/external/bcc/tools/
Dinject_example.txt55 there is a BUG_ON in btrfs_prepare_close_one_device() at fs/btrfs/volumes.c:1002
64 tripped the BUG_ON, causing a segfault down the line.
/external/libnl/include/netlink-private/
Dnetlink.h102 #define BUG_ON(condition) \ macro
/external/erofs-utils/fsck/
Dmain.c427 BUG_ON(!raw); in erofs_verify_inode_data()
445 BUG_ON(!buffer); in erofs_verify_inode_data()
/external/erofs-utils/lib/
Dhashmap.c70 BUG_ON(!map->table); in alloc_table()
Dinode.c510 BUG_ON(1); in erofs_bh_flush_write_inode()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_render_cl.c370 BUG_ON(setup->next_offset != size); in vc4_create_rcl_bo()
Dvc4_validate.c779 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec()
/external/libnl/lib/route/
Dlink.c248 BUG_ON(link->l_info); in release_link_info()
1797 BUG_ON(msg->nm_nlh->nlmsg_seq != NL_AUTO_SEQ); in rtnl_link_change()
/external/cpuinfo/test/dmesg/
Dgalaxy-j1-2016.log2275 …wlan_module_init] [ version:0x28 ] [ time(May 18 2017 18:48:22) ][(20160107)(for tpt & fix BUG_ON)]