Searched refs:XA_BUG_ON (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | test_xarray.c | 19 #undef XA_BUG_ON 20 #define XA_BUG_ON(xa, x) do { \ macro 44 XA_BUG_ON(xa, xa_insert(xa, index, xa_mk_index(index), in xa_insert_index() 52 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(index), xa_limit_32b, in xa_alloc_index() 54 XA_BUG_ON(xa, id != index); in xa_alloc_index() 59 XA_BUG_ON(xa, xa_erase(xa, index) != xa_mk_index(index)); in xa_erase_index() 60 XA_BUG_ON(xa, xa_load(xa, index) != NULL); in xa_erase_index() 85 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 0, GFP_NOWAIT)) != 0); in check_xa_err() 86 XA_BUG_ON(xa, xa_err(xa_erase(xa, 0)) != 0); in check_xa_err() 89 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err() [all …]
|