Home
last modified time | relevance | path

Searched refs:xa_store (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/lib/
Dtest_xarray.c38 return xa_store(xa, index, xa_mk_index(index), gfp); in xa_store_index()
92 XA_BUG_ON(xa, xa_err(xa_store(xa, 1, xa_mk_value(0), GFP_KERNEL)) != 0); in check_xa_err()
585 xa_store(xa, 3, xa, GFP_KERNEL); in check_multi_store()
751 XA_BUG_ON(xa, xa_store(xa, 3, xa_mk_index(3), GFP_KERNEL) != NULL); in check_xa_alloc_2()
752 XA_BUG_ON(xa, xa_store(xa, 4, xa_mk_index(4), GFP_KERNEL) != NULL); in check_xa_alloc_2()
753 XA_BUG_ON(xa, xa_store(xa, 4, NULL, GFP_KERNEL) != xa_mk_index(4)); in check_xa_alloc_2()
1430 XA_BUG_ON(xa, xa_store(xa, 0, name + i, GFP_KERNEL) != NULL); in check_align_2()
1436 XA_BUG_ON(xa, xa_store(xa, 0, name + i, 0) != NULL); in check_align_2()
1567 xa_store(xa, ULONG_MAX, xa, GFP_KERNEL); in check_destroy()
Dxarray.c1410 void *xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in xa_store() function
1420 EXPORT_SYMBOL(xa_store);
/Linux-v5.4/Documentation/core-api/
Dxarray.rst72 You can then set entries using xa_store() and get entries
73 using xa_load(). xa_store will overwrite any entry with the
75 use xa_erase() instead of calling xa_store() with a
109 Sometimes you need to ensure that a subsequent call to xa_store()
139 Using xa_store(), xa_cmpxchg() or xa_insert() will
158 The xa_store(), xa_cmpxchg(), xa_alloc(),
189 * xa_store()
/Linux-v5.4/drivers/infiniband/core/
Ddevice.c677 ret = xa_err(xa_store(&device->client_data, client->client_id, NULL, in add_client_context()
910 ret = xa_err(xa_store(&device->compat_devs, rnet->id, in add_one_compat_dev()
1064 ret = xa_err(xa_store(&rdma_nets, rnet->id, NULL, GFP_KERNEL)); in rdma_dev_exit_net()
1911 rc = xa_store(&device->client_data, client->client_id, data, in ib_set_client_data()
Drdma_core.c580 old = xa_store(&ufile->idr, uobj->id, uobj, GFP_KERNEL); in alloc_commit_idr_uobject()
Ducma.c1427 xa_store(&multicast_table, mc->id, mc, 0); in ucma_process_join()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_srq.c123 ret = xa_err(xa_store(&srq_table->xa, srq->srqn, srq, GFP_KERNEL)); in hns_roce_srq_alloc()
Dhns_roce_cq.c130 ret = xa_err(xa_store(&cq_table->array, hr_cq->cqn, hr_cq, GFP_KERNEL)); in hns_roce_cq_alloc()
/Linux-v5.4/drivers/pci/
Dp2pdma.c473 xa_store(&provider->p2pdma->map_types, map_types_idx(client), in upstream_bridge_distance()
/Linux-v5.4/include/linux/
Dxarray.h348 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t);
/Linux-v5.4/drivers/gpu/drm/
Ddrm_gem.c1377 xa_store(fence_array, index, fence, GFP_KERNEL); in drm_gem_fence_array_add()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Ddevx.c1268 return xa_err(xa_store(&dev->mdev->priv.mkey_table, in devx_handle_mkey_indirect()