Home
last modified time | relevance | path

Searched refs:idr_alloc_cyclic (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/radix-tree/
A Didr-test.c38 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 Didr.c117 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 Dlib.a3 …prop_fraction_percpu�__fprop_add_percpu_max�idr_alloc_u32�idr_alloc�idr_alloc_cyclic�idr_remove�id…
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_sched.c169 submit->out_fence_id = idr_alloc_cyclic(&submit->gpu->fence_idr, in etnaviv_sched_push_job()
/linux/include/linux/
A Didr.h117 int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t);
/linux/drivers/slimbus/
A Dmessaging.c69 ret = idr_alloc_cyclic(&ctrl->tid_idr, txn, 1, in slim_alloc_txn_tid()
/linux/Documentation/core-api/
A Didr.rst43 idr_alloc_cyclic(). The IDR becomes less efficient when dealing
/linux/fs/vboxsf/
A Dutils.c30 ret = idr_alloc_cyclic(&sbi->ino_idr, inode, 1, 0, GFP_ATOMIC); in vboxsf_new_inode()
/linux/kernel/
A Dpid.c233 nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min, in alloc_pid()
/linux/drivers/tty/serial/
A Dmps2-uart.c538 id = idr_alloc_cyclic(&ports_idr, (void *)mps_port, 0, MPS2_MAX_PORTS, GFP_KERNEL); in mps2_of_get_port()
/linux/ipc/
A Dutil.c230 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc()
/linux/fs/ksmbd/
A Dvfs_cache.c533 ret = idr_alloc_cyclic(ft->idr, fp, 0, INT_MAX - 1, GFP_NOWAIT); in __open_id()
/linux/drivers/soc/qcom/
A Dqmi_interface.c321 ret = idr_alloc_cyclic(&qmi->txns, txn, 0, U16_MAX, GFP_KERNEL); in qmi_txn_init()
A Dapr.c110 id = idr_alloc_cyclic(&pr->svcs_idr, svc, GPR_DYNAMIC_PORT_START, in gpr_alloc_port()
/linux/fs/notify/inotify/
A Dinotify_user.c380 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr()
/linux/drivers/rpmsg/
A Dqcom_glink_native.c447 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 Dconn_client.c60 id = idr_alloc_cyclic(&rxrpc_client_conn_ids, conn, in rxrpc_get_client_connection_id()
/linux/drivers/gpu/drm/msm/
A Dmsm_gem_submit.c883 submit->fence_id = idr_alloc_cyclic(&queue->fence_idr, in msm_ioctl_gem_submit()
/linux/sound/soc/qcom/qdsp6/
A Dtopology.c180 ret = idr_alloc_cyclic(&apm->modules_idr, mod, in audioreach_tplg_alloc_module()
/linux/drivers/target/
A Dtarget_core_device.c954 id = idr_alloc_cyclic(&devices_idr, dev, 0, INT_MAX, GFP_KERNEL); in target_configure_device()
/linux/fs/kernfs/
A Ddir.c591 ret = idr_alloc_cyclic(&root->ino_idr, kn, 1, 0, GFP_ATOMIC); in __kernfs_new_node()
/linux/kernel/bpf/
A Dsyscall.c377 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 Dassociola.c1641 ret = idr_alloc_cyclic(&sctp_assocs_id, asoc, SCTP_ALL_ASSOC + 1, 0, in sctp_assoc_set_id()
/linux/net/netlink/
A Dgenetlink.c416 family->id = idr_alloc_cyclic(&genl_fam_idr, family, in genl_register_family()
/linux/net/sched/
A Dcls_u32.c308 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()

Completed in 52 milliseconds

12