Home
last modified time | relevance | path

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

12

/Linux-v6.1/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-v6.1/Documentation/translations/zh_CN/core-api/
Didr.rst53 要对IDR使用的所有指针进行操作,您可以使用基于回调的idr_for_each()或迭代器样式的
/Linux-v6.1/lib/
Didr.c195 int idr_for_each(const struct idr *idr, in idr_for_each() function
215 EXPORT_SYMBOL(idr_for_each);
/Linux-v6.1/fs/notify/inotify/
Dinotify_fsnotify.c174 idr_for_each(&group->inotify_data.idr, idr_callback, group); in inotify_free_group_priv()
/Linux-v6.1/drivers/gpu/drm/vgem/
Dvgem_fence.c250 idr_for_each(&vfile->fence_idr, __vgem_fence_idr_fini, vfile); in vgem_fence_close()
/Linux-v6.1/include/linux/
Didr.h120 int idr_for_each(const struct idr *,
/Linux-v6.1/fs/dlm/
Dlockspace.c788 rv = idr_for_each(&ls->ls_lkbidr, lkb_idr_is_any, ls); in lockspace_busy()
790 rv = idr_for_each(&ls->ls_lkbidr, lkb_idr_is_local, ls); in lockspace_busy()
853 idr_for_each(&ls->ls_lkbidr, lkb_idr_free, ls); in release_lockspace()
/Linux-v6.1/drivers/gpu/drm/v3d/
Dv3d_perfmon.c113 idr_for_each(&v3d_priv->perfmon.idr, v3d_perfmon_idr_del, NULL); in v3d_perfmon_close_file()
/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_perfmon.c133 idr_for_each(&vc4file->perfmon.idr, vc4_perfmon_idr_del, NULL); in vc4_perfmon_close_file()
/Linux-v6.1/Documentation/core-api/
Didr.rst50 either use the callback-based idr_for_each() or the
/Linux-v6.1/drivers/gpu/drm/
Ddrm_debugfs.c133 idr_for_each(&dev->object_name_idr, drm_gem_one_name_info, m); in drm_gem_name_info()
Ddrm_gem.c918 idr_for_each(&file_private->object_idr, in drm_gem_release()
Ddrm_syncobj.c771 idr_for_each(&file_private->syncobj_idr, in drm_syncobj_release()
/Linux-v6.1/drivers/gpio/
Dgpio-aggregator.c230 idr_for_each(&gpio_aggregator_idr, gpio_aggregator_idr_remove, NULL); in gpio_aggregator_remove_all()
/Linux-v6.1/net/core/
Dnet_namespace.c216 int id = idr_for_each(&net->netns_ids, net_eq_idr, peer); in __peernet2id()
1052 idr_for_each(&net_cb.tgt_net->netns_ids, rtnl_net_dumpid_one, &net_cb); in rtnl_net_dumpid()
/Linux-v6.1/drivers/firewire/
Dcore-cdev.c390 idr_for_each(&client->resource_idr, schedule_reallocations, client); in queue_bus_reset_event()
1734 ret = idr_for_each(&client->resource_idr, in has_outbound_transactions()
1778 idr_for_each(&client->resource_idr, shutdown_resource, client); in fw_device_op_release()
/Linux-v6.1/drivers/firmware/arm_scmi/
Ddriver.c2353 ret = idr_for_each(idr, info->desc->ops->chan_free, idr); in scmi_cleanup_txrx_channels()
2357 ret = idr_for_each(idr, info->desc->ops->chan_free, idr); in scmi_cleanup_txrx_channels()
/Linux-v6.1/fs/erofs/
Dsuper.c871 idr_for_each(&devs->tree, &erofs_release_device_info, NULL); in erofs_free_dev_context()
/Linux-v6.1/drivers/target/
Dtarget_core_device.c935 ret = idr_for_each(&devices_idr, target_devices_idr_iter, &iter); in target_for_each_device()
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Ddp.c1035 idr_for_each(&dp->tx_ring[i].txbuf_idr, in ath11k_dp_free()
Dcore.c1676 idr_for_each(&ar->txmgmt_idr, in ath11k_core_pre_reconfigure_recovery()
/Linux-v6.1/drivers/block/
Dnbd.c2397 ret = idr_for_each(&nbd_index_idr, &status_cb, reply); in nbd_genl_status()
2556 idr_for_each(&nbd_index_idr, &nbd_exit_cb, &del_list); in nbd_cleanup()
/Linux-v6.1/drivers/net/wireless/marvell/mwifiex/
Dwmm.c618 idr_for_each(&priv->ack_status_frames, mwifiex_free_ack_frame, NULL); in mwifiex_clean_txrx()
/Linux-v6.1/drivers/gpu/drm/tegra/
Ddrm.c823 idr_for_each(&fpriv->legacy_contexts, tegra_drm_context_cleanup, NULL); in tegra_drm_postclose()
/Linux-v6.1/net/mac80211/
Dmain.c1518 idr_for_each(&local->ack_status_frames, in ieee80211_free_hw()

12