XA_ZERO_ENTRY
old = xa_cmpxchg(&ufile->idr, obj_old->id, obj_old, XA_ZERO_ENTRY,
WARN_ON(xa_cmpxchg(&ctx_table, ctx->id, ctx, XA_ZERO_ENTRY,
uevent->conn_req_ctx, XA_ZERO_ENTRY,
WARN_ON(xa_cmpxchg(&ctx_table, ctx->id, XA_ZERO_ENTRY, NULL,
if (__xa_cmpxchg(&ctx_table, ctx->id, ctx, XA_ZERO_ENTRY,
tmp = xa_cmpxchg_irq(&table->dct_xa, dct->mqp.qpn, dct, XA_ZERO_ENTRY, GFP_KERNEL);
xa_cmpxchg_irq(&table->dct_xa, dct->mqp.qpn, XA_ZERO_ENTRY, dct, 0);
tmp = xa_cmpxchg_irq(&table->array, srq->srqn, srq, XA_ZERO_ENTRY, 0);
xa_cmpxchg_irq(&table->array, srq->srqn, XA_ZERO_ENTRY, srq, 0);
XA_ZERO_ENTRY,
ret = xa_insert(&group->pasid_array, pasid, XA_ZERO_ENTRY, GFP_KERNEL);
XA_ZERO_ENTRY, GFP_KERNEL);
IOMMU_NO_PASID, XA_ZERO_ENTRY, GFP_KERNEL);
XA_ZERO_ENTRY, GFP_KERNEL);
rc = xa_insert(&attach->device_array, idev->obj.id, XA_ZERO_ENTRY,
WARN_ON(old != XA_ZERO_ENTRY);
WARN_ON(old != XA_ZERO_ENTRY);
xas_store(&xas, (flags & REMOVE_OBJ_TOMBSTONE) ? XA_ZERO_ENTRY : NULL);
rc = xa_alloc(&ictx->objects, &obj->id, XA_ZERO_ENTRY, xa_limit_31b,
return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp));
return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp));
return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp));
xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0);
return unlikely(entry == XA_ZERO_ENTRY);
XA_ZERO_ENTRY, GFP_KERNEL));
MT_BUG_ON(mt, entry != XA_ZERO_ENTRY);
MT_BUG_ON(mt, entry != XA_ZERO_ENTRY);
MT_BUG_ON(mt, entry != XA_ZERO_ENTRY);
MT_BUG_ON(mt, entry != XA_ZERO_ENTRY);
mtree_store_range(mt, MTREE_ALLOC_MAX, ULONG_MAX, XA_ZERO_ENTRY,
mtree_store_range(mt, MTREE_ALLOC_MAX, ULONG_MAX, XA_ZERO_ENTRY,
XA_BUG_ON(xa, xa_cmpxchg(xa, 12345678, XA_ZERO_ENTRY,
entry = XA_ZERO_ENTRY;
entry = XA_ZERO_ENTRY;
entry = XA_ZERO_ENTRY;
entry = XA_ZERO_ENTRY;
__xa_cmpxchg(&sk->sk_user_frags, p->tokens[i], XA_ZERO_ENTRY,
XA_ZERO_ENTRY, xa_limit_31b, GFP_KERNEL);