Home
last modified time | relevance | path

Searched refs:MT_BUG_ON (Results 1 – 4 of 4) sorted by relevance

/linux/lib/
H A Dtest_maple_tree.c26 #undef MT_BUG_ON
28 #define MT_BUG_ON(__tree, __x) do { \ macro
71 MT_BUG_ON(mt, mtree_erase(mt, index) != xa_mk_value(index & LONG_MAX)); in mtree_erase_index()
72 MT_BUG_ON(mt, mtree_load(mt, index) != NULL); in mtree_erase_index()
120 MT_BUG_ON(mt, ret != eret); in check_mtree_alloc_range()
124 MT_BUG_ON(mt, result != expected); in check_mtree_alloc_range()
137 MT_BUG_ON(mt, ret != eret); in check_mtree_alloc_rrange()
141 MT_BUG_ON(mt, result != expected); in check_mtree_alloc_rrange()
152 MT_BUG_ON(mt, ret != ptr); in check_load()
162 MT_BUG_ON(mt, ret != expected); in check_store_range()
[all …]
H A Dmaple_tree.c4058 MT_BUG_ON(mas->tree, 1); in mas_wr_store_entry()
7337 MT_BUG_ON(mas->tree, !entry); in mas_validate_gaps()
7343 MT_BUG_ON(mas->tree, gap > p_end - p_start + 1); in mas_validate_gaps()
7357 MT_BUG_ON(mas->tree, !gaps); in mas_validate_gaps()
7361 MT_BUG_ON(mas->tree, 1); in mas_validate_gaps()
7367 MT_BUG_ON(mas->tree, 1); in mas_validate_gaps()
7374 MT_BUG_ON(mas->tree, 1); in mas_validate_gaps()
7384 MT_BUG_ON(mas->tree, max_gap > mas->max); in mas_validate_gaps()
7388 MT_BUG_ON(mas->tree, 1); in mas_validate_gaps()
7408 MT_BUG_ON(mas->tree, mas_mn(mas) == parent); in mas_validate_parent_slot()
[all …]
/linux/tools/testing/radix-tree/
H A Dmaple.c30 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); }
84 MT_BUG_ON(mas->tree, get_alloc_node_count(mas) != mas->alloc->total); in check_mas_alloc_node_count()
110 MT_BUG_ON(mt, mas_alloc_req(&mas) != 3); in check_new_node()
112 MT_BUG_ON(mt, mas.node != MA_ERROR(-ENOMEM)); in check_new_node()
113 MT_BUG_ON(mt, !mas_nomem(&mas, GFP_KERNEL)); in check_new_node()
115 MT_BUG_ON(mt, mas_allocated(&mas) != 3); in check_new_node()
117 MT_BUG_ON(mt, not_empty(mn)); in check_new_node()
118 MT_BUG_ON(mt, mn == NULL); in check_new_node()
119 MT_BUG_ON(mt, mas.alloc == NULL); in check_new_node()
120 MT_BUG_ON(mt, mas.alloc->slot[0] == NULL); in check_new_node()
[all …]
/linux/include/linux/
H A Dmaple_tree.h609 #define MT_BUG_ON(__tree, __x) do { \
711 #define MT_BUG_ON(__tree, __x) BUG_ON(__x)
595 #define MT_BUG_ON( global() macro
697 #define MT_BUG_ON( global() macro