/Linux-v5.10/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.10/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.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_sched.c | 162 submit->out_fence_id = idr_alloc_cyclic(&submit->gpu->fence_idr, in etnaviv_sched_push_job()
|
/Linux-v5.10/include/linux/ |
D | idr.h | 117 int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t);
|
/Linux-v5.10/Documentation/core-api/ |
D | idr.rst | 43 idr_alloc_cyclic(). The IDR becomes less efficient when dealing
|
/Linux-v5.10/drivers/slimbus/ |
D | messaging.c | 69 ret = idr_alloc_cyclic(&ctrl->tid_idr, txn, 0, in slim_alloc_txn_tid()
|
/Linux-v5.10/fs/vboxsf/ |
D | utils.c | 30 ret = idr_alloc_cyclic(&sbi->ino_idr, inode, 1, 0, GFP_ATOMIC); in vboxsf_new_inode()
|
/Linux-v5.10/kernel/ |
D | pid.c | 233 nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min, in alloc_pid()
|
/Linux-v5.10/ipc/ |
D | util.c | 229 idx = idr_alloc_cyclic(&ids->ipcs_idr, NULL, 0, max_idx, in ipc_idr_alloc()
|
/Linux-v5.10/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.10/fs/notify/inotify/ |
D | inotify_user.c | 367 ret = idr_alloc_cyclic(idr, i_mark, 1, 0, GFP_NOWAIT); in inotify_add_to_idr()
|
/Linux-v5.10/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.10/drivers/rpmsg/ |
D | qcom_glink_native.c | 420 ret = idr_alloc_cyclic(&glink->lcids, channel, in qcom_glink_send_open_req() 670 ret = idr_alloc_cyclic(&channel->liids, intent, 1, -1, GFP_ATOMIC); in qcom_glink_alloc_intent()
|
/Linux-v5.10/net/rxrpc/ |
D | conn_client.c | 60 id = idr_alloc_cyclic(&rxrpc_client_conn_ids, conn, in rxrpc_get_client_connection_id()
|
/Linux-v5.10/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.10/net/netlink/ |
D | genetlink.c | 424 family->id = idr_alloc_cyclic(&genl_fam_idr, family, in genl_register_family()
|
/Linux-v5.10/fs/kernfs/ |
D | dir.c | 633 ret = idr_alloc_cyclic(&root->ino_idr, kn, 1, 0, GFP_ATOMIC); in __kernfs_new_node()
|
/Linux-v5.10/kernel/bpf/ |
D | syscall.c | 421 id = idr_alloc_cyclic(&map_idr, map, 1, INT_MAX, GFP_ATOMIC); in bpf_map_alloc_id() 1682 id = idr_alloc_cyclic(&prog_idr, prog, 1, INT_MAX, GFP_ATOMIC); in bpf_prog_alloc_id() 2413 id = idr_alloc_cyclic(&link_idr, link, 1, INT_MAX, GFP_ATOMIC); in bpf_link_alloc_id()
|
/Linux-v5.10/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.10/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.10/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 94 req_id = idr_alloc_cyclic(&qp_ctx->req_idr, NULL, in sec_alloc_req_id()
|
/Linux-v5.10/drivers/misc/ |
D | fastrpc.c | 493 ret = idr_alloc_cyclic(&cctx->ctx_idr, ctx, 1, in fastrpc_context_alloc()
|
/Linux-v5.10/drivers/rapidio/ |
D | rio_cm.c | 1303 id = idr_alloc_cyclic(&ch_idr, ch, start, end, GFP_NOWAIT); in riocm_ch_alloc()
|
/Linux-v5.10/fs/nfsd/ |
D | nfs4state.c | 726 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid() 770 new_id = idr_alloc_cyclic(&nn->s2s_cp_stateids, stid, 0, 0, GFP_NOWAIT); in nfs4_init_cp_state()
|
/Linux-v5.10/drivers/crypto/hisilicon/ |
D | qm.c | 1670 qp_id = idr_alloc_cyclic(&qm->qp_idr, NULL, 0, qm->qp_num, GFP_ATOMIC); in qm_create_qp_nolock()
|