Searched refs:idr_is_empty (Results 1 – 24 of 24) sorted by relevance
81 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 …]
60 您可以使用idr_is_empty()来查看当前是否分配了任何ID。
160 static inline bool idr_is_empty(const struct idr *idr) in idr_is_empty() function
60 You can use idr_is_empty() to find out whether there are any
343 WARN_ON(!idr_is_empty(&mlxsw_sp->pgt->pgt_idr)); in mlxsw_sp_pgt_fini()
350 WARN_ON(!idr_is_empty(&family->policer_idr)); in mlxsw_sp_policer_family_unregister()
244 WARN_ON(!idr_is_empty(&mlxsw_afa->cookie_idr)); in mlxsw_afa_destroy()
9987 WARN_ON(!idr_is_empty(&mlxsw_sp->router->rif_mac_profiles_idr)); in mlxsw_sp_rifs_fini()
256 if (!idr_is_empty(&afu->contexts_idr)) { in reset_store_afu()396 if (!idr_is_empty(&afu->contexts_idr)) in mode_store()
61 if (!idr_is_empty(idp)) { in hl_encaps_sig_mgr_fini()
311 if (!idr_is_empty(&vm->phys_pg_pack_handles)) in vm_show()
217 WARN_ON(!idr_is_empty(&block->counter_idr)); in prestera_counter_block_put()
917 WARN_ON(!idr_is_empty(&acl->uid)); in prestera_acl_fini()
337 if (idr_is_empty(&gvt->vgpu_idr)) in tbs_sched_clean_vgpu()
457 WARN_ON_ONCE(!idr_is_empty(&tdev->idr)); in ttm_object_device_release()
611 if (!idr_is_empty(&lessee->leases)) { in drm_mode_list_lessees_ioctl()
528 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in update_accept_list()
2040 return !idr_is_empty(&hdev->adv_monitors_idr); in hci_is_adv_monitoring()
2486 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in hci_update_accept_list_sync()
6301 idr_is_empty(&hdev->adv_monitors_idr)) in process_adv_report()
195 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get()
104 if (!idr_is_empty(&rxrpc_client_conn_ids)) { in rxrpc_destroy_client_conn_ids()
3416 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()
4388 if (!idr_is_empty(&resource->devices)) in adm_del_resource()