Home
last modified time | relevance | path

Searched refs:XA_ZERO_ENTRY (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/include/linux/
Dxarray.h174 #define XA_ZERO_ENTRY xa_mk_internal(257) macro
187 return unlikely(entry == XA_ZERO_ENTRY); in xa_is_zero()
1060 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve()
1078 return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_bh()
1096 return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_irq()
1110 xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0); in xa_release()
/Linux-v6.1/lib/
Dtest_maple_tree.c388 XA_ZERO_ENTRY, GFP_KERNEL)); in check_find()
400 MT_BUG_ON(mt, entry != XA_ZERO_ENTRY); in check_find()
416 MT_BUG_ON(mt, entry != XA_ZERO_ENTRY); in check_find()
432 MT_BUG_ON(mt, entry != XA_ZERO_ENTRY); in check_find()
502 MT_BUG_ON(mt, entry != XA_ZERO_ENTRY); in check_find()
722 mtree_store_range(mt, MTREE_ALLOC_MAX, ULONG_MAX, XA_ZERO_ENTRY, in check_alloc_rev_range()
889 mtree_store_range(mt, MTREE_ALLOC_MAX, ULONG_MAX, XA_ZERO_ENTRY, in check_alloc_range()
Dxarray.c654 entry = XA_ZERO_ENTRY; in xas_create()
1548 entry = XA_ZERO_ENTRY; in __xa_store()
1651 entry = XA_ZERO_ENTRY; in __xa_insert()
1823 entry = XA_ZERO_ENTRY; in __xa_alloc()
Dtest_xarray.c449 XA_BUG_ON(xa, xa_cmpxchg(xa, 12345678, XA_ZERO_ENTRY, in check_reserve()
/Linux-v6.1/drivers/infiniband/core/
Ducma.c536 uevent->conn_req_ctx, XA_ZERO_ENTRY, in ucma_cleanup_ctx_events()
584 WARN_ON(xa_cmpxchg(&ctx_table, ctx->id, XA_ZERO_ENTRY, NULL, in ucma_destroy_private_ctx()
608 if (__xa_cmpxchg(&ctx_table, ctx->id, ctx, XA_ZERO_ENTRY, in ucma_destroy_id()
1807 WARN_ON(xa_cmpxchg(&ctx_table, ctx->id, ctx, XA_ZERO_ENTRY, in ucma_close()
Drdma_core.c608 old = xa_cmpxchg(&ufile->idr, obj_old->id, obj_old, XA_ZERO_ENTRY, in swap_idr_uobjects()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c672 tmp = xa_cmpxchg_irq(&table->array, srq->srqn, srq, XA_ZERO_ENTRY, 0); in mlx5_cmd_destroy_srq()
683 xa_cmpxchg_irq(&table->array, srq->srqn, XA_ZERO_ENTRY, srq, 0); in mlx5_cmd_destroy_srq()
Dmr.c168 xas_store(&xas, XA_ZERO_ENTRY); in push_mkey()
232 xa_mkey = __xa_store(&ent->mkeys, ent->stored, XA_ZERO_ENTRY, in pop_stored_mkey()