Home
last modified time | relevance | path

Searched refs:idr_is_empty (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/tools/testing/radix-tree/
Didr-test.c81 assert(idr_is_empty(&idr)); in idr_null_test()
84 assert(!idr_is_empty(&idr)); in idr_null_test()
86 assert(idr_is_empty(&idr)); in idr_null_test()
89 assert(!idr_is_empty(&idr)); in idr_null_test()
91 assert(idr_is_empty(&idr)); in idr_null_test()
107 assert(!idr_is_empty(&idr)); in idr_null_test()
110 assert(!idr_is_empty(&idr)); in idr_null_test()
112 assert(idr_is_empty(&idr)); in idr_null_test()
120 assert(idr_is_empty(&idr)); in idr_null_test()
127 assert(idr_is_empty(&idr)); in idr_null_test()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Didr.rst60 您可以使用idr_is_empty()来查看当前是否分配了任何ID。
/linux-6.6.21/include/linux/
Didr.h160 static inline bool idr_is_empty(const struct idr *idr) in idr_is_empty() function
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory_mgr.c355 if (!idr_is_empty(&mmg->handles))
Dcontext.c71 if (!idr_is_empty(idp)) { in hl_encaps_sig_mgr_fini()
Ddebugfs.c308 if (!idr_is_empty(&vm->phys_pg_pack_handles)) in vm_show()
/linux-6.6.21/Documentation/core-api/
Didr.rst60 You can use idr_is_empty() to find out whether there are any
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_pgt.c343 WARN_ON(!idr_is_empty(&mlxsw_sp->pgt->pgt_idr)); in mlxsw_sp_pgt_fini()
Dspectrum_policer.c350 WARN_ON(!idr_is_empty(&family->policer_idr)); in mlxsw_sp_policer_family_unregister()
Dcore_acl_flex_actions.c244 WARN_ON(!idr_is_empty(&mlxsw_afa->cookie_idr)); in mlxsw_afa_destroy()
/linux-6.6.21/drivers/misc/cxl/
Dsysfs.c256 if (!idr_is_empty(&afu->contexts_idr)) { in reset_store_afu()
396 if (!idr_is_empty(&afu->contexts_idr)) in mode_store()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_counter.c217 WARN_ON(!idr_is_empty(&block->counter_idr)); in prestera_counter_block_put()
Dprestera_acl.c917 WARN_ON(!idr_is_empty(&acl->uid)); in prestera_acl_fini()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dsched_policy.c337 if (idr_is_empty(&gvt->vgpu_idr)) in tbs_sched_clean_vgpu()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dttm_object.c457 WARN_ON_ONCE(!idr_is_empty(&tdev->idr)); in ttm_object_device_release()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_lease.c614 if (!idr_is_empty(&lessee->leases)) { in drm_mode_list_lessees_ioctl()
/linux-6.6.21/net/bluetooth/
Dhci_request.c528 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in update_accept_list()
Dhci_core.c2043 return !idr_is_empty(&hdev->adv_monitors_idr); in hci_is_adv_monitoring()
Dhci_sync.c2652 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in hci_update_accept_list_sync()
Dhci_event.c6383 idr_is_empty(&hdev->adv_monitors_idr)) in process_adv_report()
/linux-6.6.21/net/rxrpc/
Dconn_client.c59 if (!idr_is_empty(&local->conn_ids)) { in rxrpc_destroy_client_conn_ids()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dtx.c204 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get()
/linux-6.6.21/drivers/firmware/arm_scmi/
Ddriver.c2292 if (!ret && !idr_is_empty(&sinfo->rx_idr)) in scmi_xfer_info_init()
/linux-6.6.21/net/sched/
Dcls_flower.c3631 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c4411 if (!idr_is_empty(&resource->devices)) in adm_del_resource()

12