Home
last modified time | relevance | path

Searched refs:XA_BUG_ON (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/lib/
Dtest_xarray.c22 #undef XA_BUG_ON
23 #define XA_BUG_ON(xa, x) do { \ macro
47 XA_BUG_ON(xa, xa_insert(xa, index, xa_mk_index(index), in xa_insert_index()
55 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(index), xa_limit_32b, in xa_alloc_index()
57 XA_BUG_ON(xa, id != index); in xa_alloc_index()
62 XA_BUG_ON(xa, xa_erase(xa, index) != xa_mk_index(index)); in xa_erase_index()
63 XA_BUG_ON(xa, xa_load(xa, index) != NULL); in xa_erase_index()
88 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 0, GFP_NOWAIT)) != 0); in check_xa_err()
89 XA_BUG_ON(xa, xa_err(xa_erase(xa, 0)) != 0); in check_xa_err()
92 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err()
[all …]
/linux-6.12.1/include/linux/
Dxarray.h1184 #define XA_BUG_ON(xa, x) do { \ macro
1197 #define XA_BUG_ON(xa, x) do { } while (0) macro