Lines Matching defs:xa
35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC);
70 struct xarray *xa = &dev->res[i].xa;
72 if (!xa_empty(xa)) {
79 xa_for_each(xa, index, e) {
99 xa_destroy(xa);
116 XA_STATE(xas, &rt->xa, 0);
119 xa_lock(&rt->xa);
122 xa_unlock(&rt->xa);
247 ret = xa_insert(&rt->xa, res->id, res, GFP_KERNEL);
255 ret = xa_insert(&rt->xa, counter->id, res, GFP_KERNEL);
258 ret = xa_alloc_cyclic(&rt->xa, &res->id, res, xa_limit_32b,
290 xa_lock(&rt->xa);
291 res = xa_load(&rt->xa, id);
294 xa_unlock(&rt->xa);
345 old = xa_erase(&rt->xa, res->id);