Searched refs:idr_is_empty (Results 1 – 25 of 26) sorted by relevance
12
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
355 if (!idr_is_empty(&mmg->handles))
71 if (!idr_is_empty(idp)) { in hl_encaps_sig_mgr_fini()
308 if (!idr_is_empty(&vm->phys_pg_pack_handles)) in vm_show()
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()
256 if (!idr_is_empty(&afu->contexts_idr)) { in reset_store_afu()396 if (!idr_is_empty(&afu->contexts_idr)) in mode_store()
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()
614 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()
2043 return !idr_is_empty(&hdev->adv_monitors_idr); in hci_is_adv_monitoring()
2652 if (!idr_is_empty(&hdev->adv_monitors_idr) && !hdev->suspended && in hci_update_accept_list_sync()
6383 idr_is_empty(&hdev->adv_monitors_idr)) in process_adv_report()
59 if (!idr_is_empty(&local->conn_ids)) { in rxrpc_destroy_client_conn_ids()
204 if (idr_is_empty(&wcid->pktid)) in mt76_tx_status_skb_get()
2292 if (!ret && !idr_is_empty(&sinfo->rx_idr)) in scmi_xfer_info_init()
3631 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()
4411 if (!idr_is_empty(&resource->devices)) in adm_del_resource()