Searched refs:xa_alloc (Results  1 – 10 of 10) sorted by relevance
| /Linux-v5.4/lib/ | 
| D | xarray.c | 268 	struct xa_node *node = xas->xa_alloc;  in xas_destroy()274 	xas->xa_alloc = NULL;  in xas_destroy()
 303 	xas->xa_alloc = kmem_cache_alloc(radix_tree_node_cachep, gfp);  in xas_nomem()
 304 	if (!xas->xa_alloc)  in xas_nomem()
 306 	XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list));  in xas_nomem()
 334 		xas->xa_alloc = kmem_cache_alloc(radix_tree_node_cachep, gfp);  in __xas_nomem()
 337 		xas->xa_alloc = kmem_cache_alloc(radix_tree_node_cachep, gfp);  in __xas_nomem()
 339 	if (!xas->xa_alloc)  in __xas_nomem()
 341 	XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list));  in __xas_nomem()
 357 	struct xa_node *node = xas->xa_alloc;  in xas_alloc()
 [all …]
 
 | 
| D | test_xarray.c | 51 	XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(index), xa_limit_32b,  in xa_alloc_index()450 		XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_value(8),  in check_reserve()
 455 		XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_value(6),  in check_reserve()
 699 	XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(UINT_MAX - 1),  in check_xa_alloc_1()
 703 	XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(UINT_MAX),  in check_xa_alloc_1()
 708 	XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(0),  in check_xa_alloc_1()
 714 	XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(10), XA_LIMIT(10, 5),  in check_xa_alloc_1()
 717 	XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(10), XA_LIMIT(10, 5),  in check_xa_alloc_1()
 731 	XA_BUG_ON(xa, xa_alloc(xa, &id, NULL, xa_limit_32b, GFP_KERNEL) != 0);  in check_xa_alloc_2()
 739 	XA_BUG_ON(xa, xa_alloc(xa, &id, NULL, xa_limit_32b, GFP_KERNEL) != 0);  in check_xa_alloc_2()
 [all …]
 
 | 
| /Linux-v5.4/drivers/gpu/drm/lima/ | 
| D | lima_ctx.c | 26 	err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL);  in lima_ctx_create()
 | 
| /Linux-v5.4/include/linux/ | 
| D | xarray.h | 817 static inline __must_check int xa_alloc(struct xarray *xa, u32 *id,  in xa_alloc()  function1279 	struct xa_node *xa_alloc;  member
 1299 	.xa_alloc = NULL,				\
 
 | 
| /Linux-v5.4/Documentation/core-api/ | 
| D | xarray.rst | 134 You can call xa_alloc() to store the entry at an unused index158 The xa_store(), xa_cmpxchg(), xa_alloc(),
 202  * xa_alloc()
 
 | 
| /Linux-v5.4/drivers/infiniband/core/ | 
| D | rdma_core.c | 305 	return xa_alloc(&uobj->ufile->idr, &uobj->id, NULL, xa_limit_32b,  in idr_add_uobj()
 | 
| D | ucma.c | 220 	if (xa_alloc(&ctx_table, &ctx->id, ctx, xa_limit_32b, GFP_KERNEL))  in ucma_alloc_ctx()240 	if (xa_alloc(&multicast_table, &mc->id, NULL, xa_limit_32b, GFP_KERNEL))  in ucma_alloc_multicast()
 
 | 
| D | device.c | 1110 	ret = xa_alloc(&rdma_nets, &rnet->id, rnet, xa_limit_32b, GFP_KERNEL);  in rdma_dev_init_net()
 | 
| /Linux-v5.4/drivers/gpu/drm/ | 
| D | drm_gem.c | 1384 	ret = xa_alloc(fence_array, &id, fence, xa_limit_32b, GFP_KERNEL);  in drm_gem_fence_array_add()
 | 
| /Linux-v5.4/drivers/infiniband/sw/siw/ | 
| D | siw_qp.c | 1300 	int rv = xa_alloc(&sdev->qp_xa, &qp->ib_qp->qp_num, qp, xa_limit_32b,  in siw_qp_add()
 |