Lines Matching refs:xa_store_index
36 static void *xa_store_index(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_store_index() function
84 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 0, GFP_NOWAIT)) != 0); in check_xa_err()
88 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err()
89 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_NOWAIT)) != -ENOMEM); in check_xa_err()
91 XA_BUG_ON(xa, xa_err(xa_store_index(xa, 1, GFP_KERNEL)) != 0); in check_xa_err()
103 xa_store_index(xa, 0, GFP_KERNEL); in check_xas_retry()
104 xa_store_index(xa, 1, GFP_KERNEL); in check_xas_retry()
118 XA_BUG_ON(xa, xa_store_index(xa, 1, GFP_KERNEL) != NULL); in check_xas_retry()
155 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_xa_load()
182 XA_BUG_ON(xa, xa_store_index(xa, index, GFP_KERNEL) != NULL); in check_xa_mark_1()
208 XA_BUG_ON(xa, xa_store_index(xa, index + 1, GFP_KERNEL)); in check_xa_mark_1()
210 XA_BUG_ON(xa, xa_store_index(xa, index + 2, GFP_KERNEL)); in check_xa_mark_1()
212 XA_BUG_ON(xa, xa_store_index(xa, next, GFP_KERNEL)); in check_xa_mark_1()
257 xa_store_index(xa, 0, GFP_KERNEL); in check_xa_mark_2()
266 xa_store_index(xa, index, GFP_KERNEL); in check_xa_mark_2()
306 XA_BUG_ON(xa, xa_store_index(xa, 0, GFP_KERNEL) != NULL); in check_xa_shrink()
307 XA_BUG_ON(xa, xa_store_index(xa, 1, GFP_KERNEL) != NULL); in check_xa_shrink()
335 XA_BUG_ON(xa, xa_store_index(xa, ULONG_MAX, GFP_KERNEL) != in check_xa_shrink()
385 XA_BUG_ON(xa, xa_store_index(xa, 12345678, GFP_KERNEL) != NULL); in check_cmpxchg()
413 XA_BUG_ON(xa, xa_store_index(xa, 12345678, GFP_NOWAIT) != NULL); in check_reserve()
435 xa_store_index(xa, 5, GFP_KERNEL); in check_reserve()
437 xa_store_index(xa, 7, GFP_KERNEL); in check_reserve()
611 xa_store_index(xa, 1, GFP_KERNEL); in check_multi_store()
612 xa_store_index(xa, 2, GFP_KERNEL); in check_multi_store()
682 xa_store_index(xa, base + 1, GFP_KERNEL); in check_xa_alloc_1()
716 XA_BUG_ON(xa, xa_store_index(xa, 3, GFP_KERNEL) != 0); in check_xa_alloc_1()
880 xa_store_index(xa, min, GFP_KERNEL); in check_store_iter()
883 xa_store_index(xa, max, GFP_KERNEL); in check_store_iter()
888 xa_store_index(xa, j, GFP_KERNEL); in check_store_iter()
892 xa_store_index(xa, min + j, GFP_KERNEL); in check_store_iter()
897 xa_store_index(xa, 63, GFP_KERNEL); in check_store_iter()
898 xa_store_index(xa, 65, GFP_KERNEL); in check_store_iter()
911 XA_BUG_ON(xa, xa_store_index(xa, 16, GFP_KERNEL) != NULL); in check_multi_find()
941 xa_store_index(xa, index - 1, GFP_KERNEL); in check_multi_find_2()
966 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_find_1()
969 XA_BUG_ON(xa, xa_store_index(xa, j, GFP_KERNEL) != in check_find_1()
1013 xa_store_index(xa, index, GFP_KERNEL); in check_find_2()
1043 xa_store_index(xa, i, GFP_KERNEL); in check_find_3()
1106 xa_store_index(xa, ULONG_MAX, GFP_KERNEL); in check_find_entry()
1122 xa_store_index(xa, 0, GFP_KERNEL); in check_move_tiny()
1140 xa_store_index(xa, 0, GFP_KERNEL); in check_move_small()
1141 xa_store_index(xa, idx, GFP_KERNEL); in check_move_small()
1189 XA_BUG_ON(xa, xa_store_index(xa, i, GFP_KERNEL) != NULL); in check_move()
1312 xa_store_index(xa, index, GFP_KERNEL); in check_create_range_4()
1560 xa_store_index(xa, index, GFP_KERNEL); in check_destroy()