Home
last modified time | relevance | path

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

/linux/lib/
H A Dtest_xarray.c35 static void *xa_mk_index(unsigned long index) in xa_mk_index() function
42 return xa_store(xa, index, xa_mk_index(index), gfp); in xa_store_index()
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()
62 XA_BUG_ON(xa, xa_erase(xa, index) != xa_mk_index(index)); in xa_erase_index()
139 xas_store(&xas, xa_mk_index(xas.xa_index)); in check_xas_retry()
217 xa_store_order(xa, index, order, xa_mk_index(index), in check_xa_mark_1()
299 xa_store_order(xa, 0x40, 2, xa_mk_index(0x40), GFP_KERNEL); in check_xa_mark_3()
305 XA_BUG_ON(xa, entry != xa_mk_index(0x40)); in check_xa_mark_3()
556 xas_store(&xas, xa_mk_index(j)); in check_xas_erase()
[all …]