/linux/tools/testing/radix-tree/ |
A D | idr-test.c | 38 assert(idr_alloc_cyclic(&idr, DUMMY_PTR, 0, 0x4000, GFP_KERNEL) == 0); in idr_alloc_test() 39 assert(idr_alloc_cyclic(&idr, DUMMY_PTR, 0x3ffd, 0x4000, GFP_KERNEL) == 0x3ffd); in idr_alloc_test() 52 id = idr_alloc_cyclic(&idr, item, 1, 0x4000, GFP_KERNEL); in idr_alloc_test() 394 id = idr_alloc_cyclic(&idr, item, 0, 0, GFP_KERNEL); in idr_checks()
|
/linux/lib/ |
A D | idr.c | 117 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc_cyclic() function 136 EXPORT_SYMBOL(idr_alloc_cyclic);
|
A D | lib.a | 3 …prop_fraction_percpu__fprop_add_percpu_maxidr_alloc_u32idr_allocidr_alloc_cyclicidr_removeid…
|
/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_sched.c | 169 submit->out_fence_id = idr_alloc_cyclic(&submit->gpu->fence_idr, in etnaviv_sched_push_job()
|
/linux/include/linux/ |
A D | idr.h | 117 int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t);
|
/linux/drivers/slimbus/ |
A D | messaging.c | 69 ret = idr_alloc_cyclic(&ctrl->tid_idr, txn, 1, in slim_alloc_txn_tid()
|
/linux/Documentation/core-api/ |
A D | idr.rst | 43 idr_alloc_cyclic(). The IDR becomes less efficient when dealing
|
/linux/fs/vboxsf/ |
A D | utils.c | 30 ret = idr_alloc_cyclic(&sbi->ino_idr, inode, 1, 0, GFP_ATOMIC); in vboxsf_new_inode()
|
/linux/kernel/ |
A D | pid.c | 233 nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min, in alloc_pid()
|
/linux/drivers/tty/serial/ |
A D | mps2-uart.c | 538 id = idr_alloc_cyclic(&ports_idr, (void *)mps_port, 0, MPS2_MAX_PORTS, GFP_KERNEL); in mps2_of_get_port()
|
/linux/ipc/ |
A D | util.c | 230 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc()
|
/linux/fs/ksmbd/ |
A D | vfs_cache.c | 533 ret = idr_alloc_cyclic(ft->idr, fp, 0, INT_MAX - 1, GFP_NOWAIT); in __open_id()
|
/linux/drivers/soc/qcom/ |
A D | qmi_interface.c | 321 ret = idr_alloc_cyclic(&qmi->txns, txn, 0, U16_MAX, GFP_KERNEL); in qmi_txn_init()
|
A D | apr.c | 110 id = idr_alloc_cyclic(&pr->svcs_idr, svc, GPR_DYNAMIC_PORT_START, in gpr_alloc_port()
|
/linux/fs/notify/inotify/ |
A D | inotify_user.c | 380 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr()
|
/linux/drivers/rpmsg/ |
A D | qcom_glink_native.c | 447 ret = idr_alloc_cyclic(&glink->lcids, channel, in qcom_glink_send_open_req() 697 ret = idr_alloc_cyclic(&channel->liids, intent, 1, -1, GFP_ATOMIC); in qcom_glink_alloc_intent()
|
/linux/net/rxrpc/ |
A D | conn_client.c | 60 id = idr_alloc_cyclic(&rxrpc_client_conn_ids, conn, in rxrpc_get_client_connection_id()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_submit.c | 883 submit->fence_id = idr_alloc_cyclic(&queue->fence_idr, in msm_ioctl_gem_submit()
|
/linux/sound/soc/qcom/qdsp6/ |
A D | topology.c | 180 ret = idr_alloc_cyclic(&apm->modules_idr, mod, in audioreach_tplg_alloc_module()
|
/linux/drivers/target/ |
A D | target_core_device.c | 954 id = idr_alloc_cyclic(&devices_idr, dev, 0, INT_MAX, GFP_KERNEL); in target_configure_device()
|
/linux/fs/kernfs/ |
A D | dir.c | 591 ret = idr_alloc_cyclic(&root->ino_idr, kn, 1, 0, GFP_ATOMIC); in __kernfs_new_node()
|
/linux/kernel/bpf/ |
A D | syscall.c | 377 id = idr_alloc_cyclic(&map_idr, map, 1, INT_MAX, GFP_ATOMIC); in bpf_map_alloc_id() 1728 id = idr_alloc_cyclic(&prog_idr, prog, 1, INT_MAX, GFP_ATOMIC); in bpf_prog_alloc_id() 2547 id = idr_alloc_cyclic(&link_idr, link, 1, INT_MAX, GFP_ATOMIC); in bpf_link_alloc_id()
|
/linux/net/sctp/ |
A D | associola.c | 1641 ret = idr_alloc_cyclic(&sctp_assocs_id, asoc, SCTP_ALL_ASSOC + 1, 0, in sctp_assoc_set_id()
|
/linux/net/netlink/ |
A D | genetlink.c | 416 family->id = idr_alloc_cyclic(&genl_fam_idr, family, in genl_register_family()
|
/linux/net/sched/ |
A D | cls_u32.c | 308 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()
|