Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Didr.c33 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, in idr_alloc_u32() function
57 EXPORT_SYMBOL_GPL(idr_alloc_u32);
87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc()
125 err = idr_alloc_u32(idr, ptr, &id, max, gfp); in idr_alloc_cyclic()
128 err = idr_alloc_u32(idr, ptr, &id, max, gfp); in idr_alloc_cyclic()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Didr.rst47 的限制,他们使用idr_alloc_u32()。如果您需要超出u32的ID,我们将与您合作以满足您的
/linux-6.6.21/net/sched/
Dcls_basic.c206 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change()
209 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change()
Dcls_bpf.c449 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
452 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
Dcls_u32.c694 if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, GFP_KERNEL)) { in gen_new_kid()
696 if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, in gen_new_kid()
976 err = idr_alloc_u32(&tp_c->handle_idr, ht, &handle, in u32_change()
1071 err = idr_alloc_u32(&ht->handle_idr, NULL, &handle, in u32_change()
Dact_api.c848 ret = idr_alloc_u32(&idrinfo->action_idr, NULL, index, in tcf_idr_check_alloc()
857 ret = idr_alloc_u32(&idrinfo->action_idr, NULL, index, in tcf_idr_check_alloc()
Dcls_flower.c2293 err = idr_alloc_u32(&head->handle_idr, NULL, &handle, in fl_change()
2296 err = idr_alloc_u32(&head->handle_idr, NULL, &handle, in fl_change()
Dcls_api.c967 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, in tcf_block_insert()
/linux-6.6.21/include/linux/
Didr.h115 int __must_check idr_alloc_u32(struct idr *, void *ptr, u32 *id,
/linux-6.6.21/sound/soc/qcom/qdsp6/
Dtopology.c51 ret = idr_alloc_u32(&apm->graph_info_idr, info, &graph_id, graph_id, GFP_KERNEL); in audioreach_tplg_alloc_graph_info()
101 ret = idr_alloc_u32(&apm->sub_graphs_idr, sg, &sub_graph_id, sub_graph_id, GFP_KERNEL); in audioreach_tplg_alloc_sub_graph()
143 ret = idr_alloc_u32(&apm->containers_idr, cont, &container_id, container_id, GFP_KERNEL); in audioreach_tplg_alloc_container()
188 ret = idr_alloc_u32(&apm->modules_idr, mod, &module_id, module_id, GFP_KERNEL); in audioreach_tplg_alloc_module()
/linux-6.6.21/tools/testing/radix-tree/
Didr-test.c187 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL)); in idr_u32_test1()
189 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL) != -ENOSPC); in idr_u32_test1()
/linux-6.6.21/Documentation/core-api/
Didr.rst42 idr_alloc_u32(). If you need IDs that will not fit in a u32,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c371 err = idr_alloc_u32(&fc_stats->counters_idr, counter, &id, id, in mlx5_fc_create_ex()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_acl.c161 err = idr_alloc_u32(&acl->uid, NULL, &uid, U8_MAX, GFP_KERNEL); in prestera_acl_ruleset_create()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_submit.c941 ret = idr_alloc_u32(&queue->fence_idr, submit->user_fence, in msm_ioctl_gem_submit()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-core.c1171 ret = idr_alloc_u32(&path_idr, path, &hash, hash, GFP_KERNEL); in coresight_enable()
/linux-6.6.21/net/l2tp/
Dl2tp_core.c1464 ret = idr_alloc_u32(&pn->l2tp_tunnel_idr, NULL, &tunnel_id, tunnel_id, in l2tp_tunnel_register()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c754 err = idr_alloc_u32(&mlxsw_afa->cookie_idr, cookie, &cookie_index, in mlxsw_afa_cookie_create()
/linux-6.6.21/net/9p/
Dclient.c864 ret = idr_alloc_u32(&clnt->fids, fid, &fid->fid, P9_NOFID - 1, in p9_fid_create()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dchip.c2235 err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff, in mv88e6xxx_policy_insert()