Lines Matching refs:xas
23 XA_STATE(xas, xa, index); in my_item_insert()
28 xas_lock(&xas); in my_item_insert()
30 xas_set_order(&xas, index, order); in my_item_insert()
32 if (xas_find_conflict(&xas)) in my_item_insert()
34 xas_store(&xas, item); in my_item_insert()
35 xas_set_mark(&xas, TAG); in my_item_insert()
38 xas_unlock(&xas); in my_item_insert()
39 if (xas_nomem(&xas, GFP_KERNEL)) in my_item_insert()
69 XA_STATE(xas, &array, 0); in tagged_iteration_fn()
75 xas_set(&xas, 0); in tagged_iteration_fn()
77 xas_for_each_marked(&xas, entry, ULONG_MAX, TAG) { in tagged_iteration_fn()
78 if (xas_retry(&xas, entry)) in tagged_iteration_fn()
82 xas_pause(&xas); in tagged_iteration_fn()
102 XA_STATE(xas, &array, 0); in untagged_iteration_fn()
108 xas_set(&xas, 0); in untagged_iteration_fn()
110 xas_for_each(&xas, entry, ULONG_MAX) { in untagged_iteration_fn()
111 if (xas_retry(&xas, entry)) in untagged_iteration_fn()
115 xas_pause(&xas); in untagged_iteration_fn()