Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/Documentation/translations/zh_CN/core-api/
Didr.rst60 您可以使用idr_is_empty()来查看当前是否分配了任何ID。
/linux-6.1.9/include/linux/
Didr.h160 static inline bool idr_is_empty(const struct idr *idr) in idr_is_empty() function
/linux-6.1.9/Documentation/core-api/
Didr.rst60 You can use idr_is_empty() to find out whether there are any
/linux-6.1.9/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()
Dspectrum_router.c9987 WARN_ON(!idr_is_empty(&mlxsw_sp->router->rif_mac_profiles_idr)); in mlxsw_sp_rifs_fini()
/linux-6.1.9/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.1.9/drivers/misc/habanalabs/common/
Dcontext.c61 if (!idr_is_empty(idp)) { in hl_encaps_sig_mgr_fini()
Ddebugfs.c311 if (!idr_is_empty(&vm->phys_pg_pack_handles)) in vm_show()
/linux-6.1.9/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.1.9/drivers/gpu/drm/i915/gvt/
Dsched_policy.c337 if (idr_is_empty(&gvt->vgpu_idr)) in tbs_sched_clean_vgpu()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dttm_object.c457 WARN_ON_ONCE(!idr_is_empty(&tdev->idr)); in ttm_object_device_release()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_lease.c611 if (!idr_is_empty(&lessee->leases)) { in drm_mode_list_lessees_ioctl()
/linux-6.1.9/net/bluetooth/
Dhci_request.c528 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in update_accept_list()
Dhci_core.c2040 return !idr_is_empty(&hdev->adv_monitors_idr); in hci_is_adv_monitoring()
Dhci_sync.c2486 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in hci_update_accept_list_sync()
Dhci_event.c6301 idr_is_empty(&hdev->adv_monitors_idr)) in process_adv_report()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dtx.c195 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get()
/linux-6.1.9/net/rxrpc/
Dconn_client.c104 if (!idr_is_empty(&rxrpc_client_conn_ids)) { in rxrpc_destroy_client_conn_ids()
/linux-6.1.9/net/sched/
Dcls_flower.c3416 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c4388 if (!idr_is_empty(&resource->devices)) in adm_del_resource()