Lines Matching refs:xa_store_index
40 static void *xa_store_index(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_store_index() function
88 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 0, GFP_NOWAIT)) != 0); in check_xa_err()
92 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err()
93 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err()
95 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_KERNEL)) != 0); in check_xa_err()
107 xa_store_index(xa, 0, GFP_KERNEL); in check_xas_retry()
108 xa_store_index(xa, 1, GFP_KERNEL); in check_xas_retry()
122 XA_BUG_ON(xa, xa_store_index(xa, 1, GFP_KERNEL) != NULL); in check_xas_retry()
159 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_xa_load()
186 XA_BUG_ON(xa, xa_store_index(xa, index, GFP_KERNEL) != NULL); in check_xa_mark_1()
212 XA_BUG_ON(xa, xa_store_index(xa, index + 1, GFP_KERNEL)); in check_xa_mark_1()
214 XA_BUG_ON(xa, xa_store_index(xa, index + 2, GFP_KERNEL)); in check_xa_mark_1()
216 XA_BUG_ON(xa, xa_store_index(xa, next, GFP_KERNEL)); in check_xa_mark_1()
261 xa_store_index(xa, 0, GFP_KERNEL); in check_xa_mark_2()
270 xa_store_index(xa, index, GFP_KERNEL); in check_xa_mark_2()
332 XA_BUG_ON(xa, xa_store_index(xa, 0, GFP_KERNEL) != NULL); in check_xa_shrink()
333 XA_BUG_ON(xa, xa_store_index(xa, 1, GFP_KERNEL) != NULL); in check_xa_shrink()
361 XA_BUG_ON(xa, xa_store_index(xa, ULONG_MAX, GFP_KERNEL) != in check_xa_shrink()
411 XA_BUG_ON(xa, xa_store_index(xa, 12345678, GFP_KERNEL) != NULL); in check_cmpxchg()
495 XA_BUG_ON(xa, xa_store_index(xa, 12345678, GFP_NOWAIT) != NULL); in check_reserve()
517 xa_store_index(xa, 5, GFP_KERNEL); in check_reserve()
519 xa_store_index(xa, 7, GFP_KERNEL); in check_reserve()
693 xa_store_index(xa, 1, GFP_KERNEL); in check_multi_store()
694 xa_store_index(xa, 2, GFP_KERNEL); in check_multi_store()
944 xa_store_index(xa, base + 1, GFP_KERNEL); in check_xa_alloc_1()
978 XA_BUG_ON(xa, xa_store_index(xa, 3, GFP_KERNEL) != 0); in check_xa_alloc_1()
1142 xa_store_index(xa, min, GFP_KERNEL); in check_store_iter()
1145 xa_store_index(xa, max, GFP_KERNEL); in check_store_iter()
1150 xa_store_index(xa, j, GFP_KERNEL); in check_store_iter()
1154 xa_store_index(xa, min + j, GFP_KERNEL); in check_store_iter()
1159 xa_store_index(xa, 63, GFP_KERNEL); in check_store_iter()
1160 xa_store_index(xa, 65, GFP_KERNEL); in check_store_iter()
1175 XA_BUG_ON(xa, xa_store_index(xa, next, GFP_KERNEL) != NULL); in check_multi_find_1()
1176 XA_BUG_ON(xa, xa_store_index(xa, next + 1, GFP_KERNEL) != NULL); in check_multi_find_1()
1209 xa_store_index(xa, index - 1, GFP_KERNEL); in check_multi_find_2()
1248 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_find_1()
1251 XA_BUG_ON(xa, xa_store_index(xa, j, GFP_KERNEL) != in check_find_1()
1295 xa_store_index(xa, index, GFP_KERNEL); in check_find_2()
1325 xa_store_index(xa, i, GFP_KERNEL); in check_find_3()
1336 xa_store_index(xa, ULONG_MAX, GFP_KERNEL); in check_find_4()
1410 xa_store_index(xa, ULONG_MAX, GFP_KERNEL); in check_find_entry()
1498 xa_store_index(xa, 0, GFP_KERNEL); in check_move_tiny()
1515 xa_store_index(xa, ULONG_MAX, GFP_KERNEL); in check_move_max()
1537 xa_store_index(xa, 0, GFP_KERNEL); in check_move_small()
1538 xa_store_index(xa, idx, GFP_KERNEL); in check_move_small()
1586 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_move()
1710 xa_store_index(xa, index, GFP_KERNEL); in check_create_range_4()
2195 xa_store_index(xa, index, GFP_KERNEL); in check_destroy()