/linux/lib/ |
H A D | idr.c | 33 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/Documentation/translations/zh_CN/core-api/ |
H A D | idr.rst | 47 的限制,他们使用idr_alloc_u32()。如果您需要超出u32的ID,我们将与您合作以满足您的
|
/linux/net/sched/ |
H A D | cls_basic.c | 206 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 D | cls_u32.c | 694 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 D | cls_bpf.c | 449 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 D | cls_flower.c | 2422 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()
|
H A D | act_api.c | 874 ret = idr_alloc_u32(&idrinfo->action_idr, ERR_PTR(-EBUSY), index, max, in tcf_idr_check_alloc()
|
H A D | cls_api.c | 1003 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, in tcf_block_insert()
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 52 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/include/linux/ |
H A D | idr.h | 115 int __must_check idr_alloc_u32(struct idr *, void *ptr, u32 *id,
|
/linux/tools/testing/radix-tree/ |
H A D | idr-test.c | 187 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/Documentation/core-api/ |
H A D | idr.rst | 42 idr_alloc_u32(). If you need IDs that will not fit in a u32,
|
/linux/net/l2tp/ |
H A D | l2tp_core.c | 571 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/drivers/hwtracing/coresight/ |
H A D | coresight-sysfs.c | 240 ret = idr_alloc_u32(&path_idr, path, &hash, hash, GFP_KERNEL); in coresight_enable_sysfs()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_counters.c | 371 err = idr_alloc_u32(&fc_stats->counters_idr, counter, &id, id, in mlx5_fc_create_ex()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 845 ret = idr_alloc_u32(&queue->fence_idr, submit->user_fence, in msm_ioctl_gem_submit()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_acl.c | 161 err = idr_alloc_u32(&acl->uid, NULL, &uid, U8_MAX, GFP_KERNEL); in prestera_acl_ruleset_create()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_actions.c | 754 err = idr_alloc_u32(&mlxsw_afa->cookie_idr, cookie, &cookie_index, in mlxsw_afa_cookie_create()
|
/linux/net/9p/ |
H A D | client.c | 867 ret = idr_alloc_u32(&clnt->fids, fid, &fid->fid, P9_NOFID - 1, in p9_fid_create()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 2431 err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff, in mv88e6xxx_policy_insert()
|