Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/Documentation/translations/zh_CN/core-api/
Didr.rst47 的限制,他们使用idr_alloc_u32()。如果您需要超出u32的ID,我们将与您合作以满足您的
/linux-6.12.1/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_u32.c704 if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, GFP_KERNEL)) { in gen_new_kid()
706 if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, in gen_new_kid()
986 err = idr_alloc_u32(&tp_c->handle_idr, ht, &handle, in u32_change()
1081 err = idr_alloc_u32(&ht->handle_idr, NULL, &handle, in u32_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_flower.c2422 err = idr_alloc_u32(&head->handle_idr, NULL, &handle, in fl_change()
2425 err = idr_alloc_u32(&head->handle_idr, NULL, &handle, in fl_change()
Dact_api.c874 ret = idr_alloc_u32(&idrinfo->action_idr, ERR_PTR(-EBUSY), index, max, in tcf_idr_check_alloc()
Dcls_api.c1003 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, in tcf_block_insert()
/linux-6.12.1/include/linux/
Didr.h115 int __must_check idr_alloc_u32(struct idr *, void *ptr, u32 *id,
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dtopology.c52 ret = idr_alloc_u32(&apm->graph_info_idr, info, &graph_id, graph_id, GFP_KERNEL); in audioreach_tplg_alloc_graph_info()
102 ret = idr_alloc_u32(&apm->sub_graphs_idr, sg, &sub_graph_id, sub_graph_id, GFP_KERNEL); in audioreach_tplg_alloc_sub_graph()
144 ret = idr_alloc_u32(&apm->containers_idr, cont, &container_id, container_id, GFP_KERNEL); in audioreach_tplg_alloc_container()
189 ret = idr_alloc_u32(&apm->modules_idr, mod, &module_id, module_id, GFP_KERNEL); in audioreach_tplg_alloc_module()
/linux-6.12.1/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.12.1/Documentation/core-api/
Didr.rst42 idr_alloc_u32(). If you need IDs that will not fit in a u32,
/linux-6.12.1/net/l2tp/
Dl2tp_core.c571 err = idr_alloc_u32(&pn->l2tp_v3_session_idr, NULL, in l2tp_session_register()
587 err = idr_alloc_u32(&pn->l2tp_v2_session_idr, NULL, in l2tp_session_register()
1645 ret = idr_alloc_u32(&pn->l2tp_tunnel_idr, NULL, &tunnel_id, tunnel_id, in l2tp_tunnel_register()
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-sysfs.c240 ret = idr_alloc_u32(&path_idr, path, &hash, hash, GFP_KERNEL); in coresight_enable_sysfs()
/linux-6.12.1/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.12.1/drivers/gpu/drm/msm/
Dmsm_gem_submit.c845 ret = idr_alloc_u32(&queue->fence_idr, submit->user_fence, in msm_ioctl_gem_submit()
/linux-6.12.1/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.12.1/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.12.1/net/9p/
Dclient.c867 ret = idr_alloc_u32(&clnt->fids, fid, &fid->fid, P9_NOFID - 1, in p9_fid_create()
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/
Dchip.c2431 err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff, in mv88e6xxx_policy_insert()