Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A 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()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Didr.rst47 的限制,他们使用idr_alloc_u32()。如果您需要超出u32的ID,我们将与您合作以满足您的
/openbmc/linux/net/sched/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dact_api.c874 ret = idr_alloc_u32(&idrinfo->action_idr, ERR_PTR(-EBUSY), index, max, in tcf_idr_check_alloc()
H A Dcls_api.c967 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, in tcf_block_insert()
/openbmc/linux/include/linux/
H A Didr.h115 int __must_check idr_alloc_u32(struct idr *, void *ptr, u32 *id,
/openbmc/linux/sound/soc/qcom/qdsp6/
H A 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()
/openbmc/linux/tools/testing/radix-tree/
H A 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()
/openbmc/linux/Documentation/core-api/
H A Didr.rst42 idr_alloc_u32(). If you need IDs that will not fit in a u32,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c371 err = idr_alloc_u32(&fc_stats->counters_idr, counter, &id, id, in mlx5_fc_create_ex()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_acl.c161 err = idr_alloc_u32(&acl->uid, NULL, &uid, U8_MAX, GFP_KERNEL); in prestera_acl_ruleset_create()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c941 ret = idr_alloc_u32(&queue->fence_idr, submit->user_fence, in msm_ioctl_gem_submit()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c1187 ret = idr_alloc_u32(&path_idr, path, &hash, hash, GFP_KERNEL); in coresight_enable()
/openbmc/linux/net/l2tp/
H A Dl2tp_core.c1475 ret = idr_alloc_u32(&pn->l2tp_tunnel_idr, NULL, &tunnel_id, tunnel_id, in l2tp_tunnel_register()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c754 err = idr_alloc_u32(&mlxsw_afa->cookie_idr, cookie, &cookie_index, in mlxsw_afa_cookie_create()
/openbmc/linux/net/9p/
H A Dclient.c866 ret = idr_alloc_u32(&clnt->fids, fid, &fid->fid, P9_NOFID - 1, in p9_fid_create()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2295 err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff, in mv88e6xxx_policy_insert()