Home
last modified time | relevance | path

Searched refs:xa_alloc_cyclic (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_sched.c114 ret = xa_alloc_cyclic(&gpu->user_fences, &submit->out_fence_id, in etnaviv_sched_push_job()
Detnaviv_drv.c61 ret = xa_alloc_cyclic(&priv->active_contexts, &ctx->id, ctx, in etnaviv_open()
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_mem.c29 if (xa_alloc_cyclic(&sdev->mem_xa, &id, m, limit, &next, in siw_mem_add()
112 if (xa_alloc_cyclic(&sdev->mem_xa, &id, mem, limit, &next, in siw_mr_add_mem()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_pool.c141 err = xa_alloc_cyclic(&pool->xa, &elem->index, NULL, pool->limit, in __rxe_add_to_pool()
/linux-6.6.21/net/devlink/
Dcore.c208 ret = xa_alloc_cyclic(&devlinks, &devlink->index, devlink, xa_limit_31b, in devlink_alloc_ns()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dxarray.rst127 xa_alloc_cyclic()。
/linux-6.6.21/drivers/infiniband/core/
Drestrack.c258 ret = xa_alloc_cyclic(&rt->xa, &res->id, res, xa_limit_32b, in rdma_restrack_add()
Ddevice.c1222 ret = xa_alloc_cyclic(&devices, &device->index, device, xa_limit_31b, in assign_name()
Dmad.c412 ret2 = xa_alloc_cyclic(&ib_mad_clients, &mad_agent_priv->agent.hi_tid, in ib_register_mad_agent()
Dcm.c831 ret = xa_alloc_cyclic(&cm.local_id_table, &id, NULL, xa_limit_32b, in cm_alloc_id_priv()
/linux-6.6.21/lib/
Dtest_xarray.c811 XA_BUG_ON(xa, xa_alloc_cyclic(xa, &id, xa_mk_index(1), limit, in check_xa_alloc_3()
816 XA_BUG_ON(xa, xa_alloc_cyclic(xa, &id, xa_mk_index(0x3ffd), limit, in check_xa_alloc_3()
828 XA_BUG_ON(xa, xa_alloc_cyclic(xa, &id, entry, limit, in check_xa_alloc_3()
838 XA_BUG_ON(xa, xa_alloc_cyclic(xa, &id, xa_mk_index(UINT_MAX), in check_xa_alloc_3()
841 XA_BUG_ON(xa, xa_alloc_cyclic(xa, &id, xa_mk_index(base), in check_xa_alloc_3()
844 XA_BUG_ON(xa, xa_alloc_cyclic(xa, &id, xa_mk_index(base + 1), in check_xa_alloc_3()
/linux-6.6.21/fs/cachefiles/
Dondemand.c197 ret = xa_alloc_cyclic(&cache->ondemand_ids, &object_id, NULL, in cachefiles_ondemand_get_fd()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dcm.c248 ret = xa_alloc_cyclic(&sriov->pv_id_table, &ent->pv_cm_id, ent, in id_map_alloc()
/linux-6.6.21/include/linux/
Dxarray.h970 static inline int xa_alloc_cyclic(struct xarray *xa, u32 *id, void *entry, in xa_alloc_cyclic() function
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_verbs.c947 ret = xa_alloc_cyclic(&dev->qp_xa, &qp->ibqp.qp_num, qp, in erdma_create_qp()
1636 ret = xa_alloc_cyclic(&dev->cq_xa, &cq->cqn, cq, in erdma_create_cq()
/linux-6.6.21/fs/
Dlibfs.c285 ret = xa_alloc_cyclic(&octx->xa, &offset, dentry, limit, in simple_offset_add()
/linux-6.6.21/Documentation/core-api/
Dxarray.rst162 ID, you can use xa_alloc_cyclic().
/linux-6.6.21/net/sched/
Dcls_api.c98 err = xa_alloc_cyclic(&tcf_exts_miss_cookies_xa, &n->miss_cookie_base, in tcf_exts_miss_cookie_base_alloc()
/linux-6.6.21/io_uring/
Dio_uring.c4181 ret = xa_alloc_cyclic(&ctx->personalities, &id, (void *)creds, in io_register_personality()
/linux-6.6.21/net/core/
Ddev.c9633 err = xa_alloc_cyclic(&net->dev_by_index, &ifindex, NULL, in dev_index_reserve()