Searched refs:xa_cmpxchg (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | xarray.h | 682 static inline void *xa_cmpxchg(struct xarray *xa, unsigned long index, in xa_cmpxchg() function 1042 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve() 1092 xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0); in xa_release()
|
/kernel/linux/linux-5.10/lib/ |
D | test_xarray.c | 413 XA_BUG_ON(xa, xa_cmpxchg(xa, 12345678, SIX, FIVE, GFP_KERNEL) != LOTS); in check_cmpxchg() 414 XA_BUG_ON(xa, xa_cmpxchg(xa, 12345678, LOTS, FIVE, GFP_KERNEL) != LOTS); in check_cmpxchg() 415 XA_BUG_ON(xa, xa_cmpxchg(xa, 12345678, FIVE, LOTS, GFP_KERNEL) != FIVE); in check_cmpxchg() 416 XA_BUG_ON(xa, xa_cmpxchg(xa, 5, FIVE, NULL, GFP_KERNEL) != NULL); in check_cmpxchg() 417 XA_BUG_ON(xa, xa_cmpxchg(xa, 5, NULL, FIVE, GFP_KERNEL) != NULL); in check_cmpxchg() 419 XA_BUG_ON(xa, xa_cmpxchg(xa, 5, FIVE, NULL, GFP_KERNEL) != FIVE); in check_cmpxchg() 449 XA_BUG_ON(xa, xa_cmpxchg(xa, 12345678, XA_ZERO_ENTRY, in check_reserve()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | cm.c | 351 deleted = xa_cmpxchg(item->xa_rej_tmout, item->rem_pv_cm_id, item, NULL, 0); in rej_tmout_timeout() 387 old = xa_cmpxchg(&sriov->xa_rej_tmout, (unsigned long)rem_pv_cm_id, NULL, item, GFP_KERNEL); in alloc_rej_tmout()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | xarray.rst | 75 xa_cmpxchg(). Like cmpxchg(), it will only succeed if 78 'old', then xa_cmpxchg() succeeded. 152 Using xa_store(), xa_cmpxchg() or xa_insert() will 171 The xa_store(), xa_cmpxchg(), xa_alloc(), 213 * xa_cmpxchg()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | passthru.c | 529 old = xa_cmpxchg(&passthru_subsystems, ctrl->cntlid, NULL, in nvmet_passthru_ctrl_enable()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | ucma.c | 535 xa_cmpxchg(&ctx_table, uevent->conn_req_ctx->id, in ucma_cleanup_ctx_events() 584 WARN_ON(xa_cmpxchg(&ctx_table, ctx->id, XA_ZERO_ENTRY, NULL, in ucma_destroy_private_ctx() 1807 WARN_ON(xa_cmpxchg(&ctx_table, ctx->id, ctx, XA_ZERO_ENTRY, in ucma_close()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | odp.c | 506 ret = xa_cmpxchg(&imr->implicit_children, idx, NULL, mr, in implicit_get_child_mr()
|