/Linux-v5.4/tools/testing/radix-tree/ |
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() 381 id = idr_alloc_cyclic(&idr, item, 0, 0, GFP_KERNEL); in idr_checks()
|
/Linux-v5.4/lib/ |
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);
|
/Linux-v5.4/drivers/gpu/drm/etnaviv/ |
D | etnaviv_sched.c | 161 submit->out_fence_id = idr_alloc_cyclic(&submit->gpu->fence_idr, in etnaviv_sched_push_job()
|
/Linux-v5.4/include/linux/ |
D | idr.h | 117 int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t);
|
/Linux-v5.4/drivers/slimbus/ |
D | messaging.c | 69 ret = idr_alloc_cyclic(&ctrl->tid_idr, txn, 0, in slim_alloc_txn_tid()
|
/Linux-v5.4/Documentation/core-api/ |
D | idr.rst | 43 :c:func:`idr_alloc_cyclic`. The IDR becomes less efficient when dealing
|
/Linux-v5.4/kernel/ |
D | pid.c | 193 nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min, in alloc_pid()
|
/Linux-v5.4/drivers/tty/serial/ |
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-v5.4/ipc/ |
D | util.c | 229 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc()
|
/Linux-v5.4/fs/notify/inotify/ |
D | inotify_user.c | 365 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr()
|
/Linux-v5.4/drivers/rpmsg/ |
D | qcom_glink_native.c | 399 ret = idr_alloc_cyclic(&glink->lcids, channel, in qcom_glink_send_open_req() 649 ret = idr_alloc_cyclic(&channel->liids, intent, 1, -1, GFP_ATOMIC); in qcom_glink_alloc_intent()
|
/Linux-v5.4/drivers/soc/qcom/ |
D | qmi_interface.c | 321 ret = idr_alloc_cyclic(&qmi->txns, txn, 0, U16_MAX, GFP_KERNEL); in qmi_txn_init()
|
/Linux-v5.4/net/rxrpc/ |
D | conn_client.c | 111 id = idr_alloc_cyclic(&rxrpc_client_conn_ids, conn, in rxrpc_get_client_connection_id()
|
/Linux-v5.4/drivers/target/ |
D | target_core_device.c | 933 id = idr_alloc_cyclic(&devices_idr, dev, 0, INT_MAX, GFP_KERNEL); in target_configure_device()
|
/Linux-v5.4/net/netlink/ |
D | genetlink.c | 365 family->id = idr_alloc_cyclic(&genl_fam_idr, family, in genl_register_family()
|
/Linux-v5.4/fs/kernfs/ |
D | dir.c | 639 ret = idr_alloc_cyclic(&root->ino_idr, kn, 1, 0, GFP_ATOMIC); in __kernfs_new_node()
|
/Linux-v5.4/kernel/bpf/ |
D | syscall.c | 263 id = idr_alloc_cyclic(&map_idr, map, 1, INT_MAX, GFP_ATOMIC); in bpf_map_alloc_id() 1291 id = idr_alloc_cyclic(&prog_idr, prog, 1, INT_MAX, GFP_ATOMIC); in bpf_prog_alloc_id()
|
D | btf.c | 867 id = idr_alloc_cyclic(&btf_idr, btf, 1, INT_MAX, GFP_ATOMIC); in btf_alloc_id()
|
/Linux-v5.4/net/sctp/ |
D | associola.c | 1631 ret = idr_alloc_cyclic(&sctp_assocs_id, asoc, SCTP_ALL_ASSOC + 1, 0, in sctp_assoc_set_id()
|
/Linux-v5.4/net/sched/ |
D | cls_u32.c | 308 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()
|
/Linux-v5.4/drivers/misc/ |
D | fastrpc.c | 462 ret = idr_alloc_cyclic(&cctx->ctx_idr, ctx, 1, in fastrpc_context_alloc()
|
/Linux-v5.4/drivers/rapidio/ |
D | rio_cm.c | 1303 id = idr_alloc_cyclic(&ch_idr, ch, start, end, GFP_NOWAIT); in riocm_ch_alloc()
|
/Linux-v5.4/fs/nfsd/ |
D | nfs4state.c | 712 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid() 750 new_id = idr_alloc_cyclic(&nn->s2s_cp_stateids, copy, 0, 0, GFP_NOWAIT); in nfs4_init_cp_state()
|
/Linux-v5.4/kernel/cgroup/ |
D | cgroup.c | 1295 id = idr_alloc_cyclic(&cgroup_hierarchy_idr, root, 0, 0, GFP_KERNEL); in cgroup_init_root_id()
|