Lines Matching refs:xas
96 XA_STATE(xas, &mr->page_list, 0); in rxe_mr_fill_pages_from_sgt()
106 xas_lock(&xas); in rxe_mr_fill_pages_from_sgt()
112 xas_set_err(&xas, -EINVAL); in rxe_mr_fill_pages_from_sgt()
116 xas_store(&xas, page); in rxe_mr_fill_pages_from_sgt()
117 if (xas_error(&xas)) in rxe_mr_fill_pages_from_sgt()
119 xas_next(&xas); in rxe_mr_fill_pages_from_sgt()
123 xas_unlock(&xas); in rxe_mr_fill_pages_from_sgt()
124 } while (xas_nomem(&xas, GFP_KERNEL)); in rxe_mr_fill_pages_from_sgt()
126 return xas_error(&xas); in rxe_mr_fill_pages_from_sgt()
161 XA_STATE(xas, &mr->page_list, 0); in rxe_mr_alloc()
168 xas_lock(&xas); in rxe_mr_alloc()
170 xas_store(&xas, XA_ZERO_ENTRY); in rxe_mr_alloc()
171 if (xas_error(&xas)) in rxe_mr_alloc()
173 xas_next(&xas); in rxe_mr_alloc()
176 xas_unlock(&xas); in rxe_mr_alloc()
177 } while (xas_nomem(&xas, GFP_KERNEL)); in rxe_mr_alloc()
179 err = xas_error(&xas); in rxe_mr_alloc()