Home
last modified time | relevance | path

Searched refs:idr_for_each (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/tools/workqueue/ !
Dwq_dump.py53 from drgn.helpers.linux.idr import idr_for_each
129 for pi, pool in idr_for_each(worker_pool_idr):
134 for pi, pool in idr_for_each(worker_pool_idr):
/linux-6.6.21/tools/testing/radix-tree/ !
Didr-test.c56 idr_for_each(&idr, item_idr_free, &idr); in idr_alloc_test()
144 idr_for_each(&idr, item_idr_free, &idr); in idr_nowait_test()
169 idr_for_each(&idr, item_idr_free, &idr); in idr_get_next_test()
201 idr_for_each(idr, idr_u32_cb, NULL); in idr_u32_test1()
357 idr_for_each(&idr, item_idr_free, &idr); in idr_checks()
379 idr_for_each(&idr, item_idr_free, &idr); in idr_checks()
398 idr_for_each(&idr, item_idr_free, &idr); in idr_checks()
407 idr_for_each(&idr, item_idr_free, &idr); in idr_checks()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ !
Didr.rst53 要对IDR使用的所有指针进行操作,您可以使用基于回调的idr_for_each()或迭代器样式的
/linux-6.6.21/lib/ !
Didr.c195 int idr_for_each(const struct idr *idr, in idr_for_each() function
215 EXPORT_SYMBOL(idr_for_each);
/linux-6.6.21/fs/notify/inotify/ !
Dinotify_fsnotify.c181 idr_for_each(&group->inotify_data.idr, idr_callback, group); in inotify_free_group_priv()
/linux-6.6.21/drivers/gpu/drm/vgem/ !
Dvgem_fence.c250 idr_for_each(&vfile->fence_idr, __vgem_fence_idr_fini, vfile); in vgem_fence_close()
/linux-6.6.21/fs/dlm/ !
Dlockspace.c761 rv = idr_for_each(&ls->ls_lkbidr, lkb_idr_is_any, ls); in lockspace_busy()
763 rv = idr_for_each(&ls->ls_lkbidr, lkb_idr_is_local, ls); in lockspace_busy()
829 idr_for_each(&ls->ls_lkbidr, lkb_idr_free, ls); in release_lockspace()
/linux-6.6.21/include/linux/ !
Didr.h120 int idr_for_each(const struct idr *,
/linux-6.6.21/drivers/gpu/drm/v3d/ !
Dv3d_perfmon.c115 idr_for_each(&v3d_priv->perfmon.idr, v3d_perfmon_idr_del, NULL); in v3d_perfmon_close_file()
/linux-6.6.21/drivers/gpu/drm/vc4/ !
Dvc4_perfmon.c133 idr_for_each(&vc4file->perfmon.idr, vc4_perfmon_idr_del, NULL); in vc4_perfmon_close_file()
/linux-6.6.21/Documentation/core-api/ !
Didr.rst50 either use the callback-based idr_for_each() or the
/linux-6.6.21/net/core/ !
Dnet_namespace.c217 int id = idr_for_each(&net->netns_ids, net_eq_idr, peer); in __peernet2id()
1063 idr_for_each(&net_cb.tgt_net->netns_ids, rtnl_net_dumpid_one, &net_cb); in rtnl_net_dumpid()
/linux-6.6.21/drivers/gpu/drm/ !
Ddrm_debugfs.c137 idr_for_each(&dev->object_name_idr, drm_gem_one_name_info, m); in drm_gem_name_info()
Ddrm_gem.c940 idr_for_each(&file_private->object_idr, in drm_gem_release()
Ddrm_syncobj.c825 idr_for_each(&file_private->syncobj_idr, in drm_syncobj_release()
/linux-6.6.21/drivers/firewire/ !
Dcore-cdev.c402 idr_for_each(&client->resource_idr, schedule_reallocations, client); in queue_bus_reset_event()
1851 ret = idr_for_each(&client->resource_idr, in has_outbound_transactions()
1895 idr_for_each(&client->resource_idr, shutdown_resource, client); in fw_device_op_release()
/linux-6.6.21/drivers/gpio/ !
Dgpio-aggregator.c235 idr_for_each(&gpio_aggregator_idr, gpio_aggregator_idr_remove, NULL); in gpio_aggregator_remove_all()
/linux-6.6.21/drivers/remoteproc/ !
Dxlnx_r5_remoteproc.c163 idr_for_each(&rproc->notifyids, event_notified_idr_cb, rproc); in handle_event_notified()
Dimx_rproc.c778 idr_for_each(&rproc->notifyids, imx_rproc_notified_idr_cb, rproc); in imx_rproc_vq_work()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ !
Dcore.c706 idr_for_each(&ar->txmgmt_idr, in ath12k_core_pre_reconfigure_recovery()
/linux-6.6.21/fs/erofs/ !
Dsuper.c766 idr_for_each(&devs->tree, &erofs_release_device_info, NULL); in erofs_free_dev_context()
/linux-6.6.21/drivers/target/ !
Dtarget_core_device.c889 ret = idr_for_each(&devices_idr, target_devices_idr_iter, &iter); in target_for_each_device()
/linux-6.6.21/drivers/firmware/arm_scmi/ !
Ddriver.c2460 idr_for_each(idr, info->desc->ops->chan_free, idr); in scmi_cleanup_channels()
2463 idr_for_each(idr, scmi_chan_destroy, idr); in scmi_cleanup_channels()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ !
Ddp.c1037 idr_for_each(&dp->tx_ring[i].txbuf_idr, in ath11k_dp_free()
/linux-6.6.21/drivers/block/ !
Dnbd.c2441 ret = idr_for_each(&nbd_index_idr, &status_cb, reply); in nbd_genl_status()
2600 idr_for_each(&nbd_index_idr, &nbd_exit_cb, &del_list); in nbd_cleanup()

12