Home
last modified time | relevance | path

Searched refs:xa_empty (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.6.21/lib/
Dtest_xarray.c172 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_load()
197 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_mark_1()
249 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_mark_1()
251 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_mark_1()
331 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_shrink()
351 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_shrink()
401 XA_BUG_ON(xa, !xa_empty(xa)); in check_insert()
410 XA_BUG_ON(xa, !xa_empty(xa)); in check_cmpxchg()
423 XA_BUG_ON(xa, !xa_empty(xa)); in check_cmpxchg()
433 XA_BUG_ON(xa, !xa_empty(xa)); in check_reserve()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dxarray.rst89 如果数组中的所有条目都是 ``NULL`` ,xa_empty()函数将返回 ``true`` 。
149 * xa_empty()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c37 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated()
377 WARN_ON(!xa_empty(&table->devices)); in mlx5_sf_dev_table_destroy()
/linux-6.6.21/fs/smb/server/mgmt/
Duser_session.c224 xa_empty(&sess->ksmbd_chann_list)) { in ksmbd_sessions_deregister()
243 if (xa_empty(&sess->ksmbd_chann_list)) { in ksmbd_sessions_deregister()
/linux-6.6.21/drivers/iommu/iommufd/
Dmain.c259 while (!xa_empty(&ictx->objects)) { in iommufd_fops_release()
275 WARN_ON(!xa_empty(&ictx->groups)); in iommufd_fops_release()
Dio_pagetable.c682 WARN_ON(!xa_empty(&iopt->domains)); in iopt_destroy_table()
683 WARN_ON(!xa_empty(&iopt->access_list)); in iopt_destroy_table()
1143 if (!xa_empty(&iopt->domains) && in iopt_disable_large_pages()
Dioas.c339 if (!xa_empty(&ictx->objects)) { in iommufd_option_rlimit_mode()
/linux-6.6.21/include/linux/
Didr.h329 return xa_empty(&ida->xa); in ida_is_empty()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_port_range.c197 WARN_ON(!xa_empty(&pr_core->prr_xa)); in mlxsw_sp_port_range_fini()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Ddevice.c939 WARN_ON(!xa_empty(&ctx->dev->cqs)); in c4iw_dealloc()
940 WARN_ON(!xa_empty(&ctx->dev->qps)); in c4iw_dealloc()
941 WARN_ON(!xa_empty(&ctx->dev->mrs)); in c4iw_dealloc()
942 wait_event(ctx->dev->wait, xa_empty(&ctx->dev->hwtids)); in c4iw_dealloc()
943 WARN_ON(!xa_empty(&ctx->dev->stids)); in c4iw_dealloc()
944 WARN_ON(!xa_empty(&ctx->dev->atids)); in c4iw_dealloc()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_pool.c116 WARN_ON(!xa_empty(&pool->xa)); in rxe_pool_cleanup()
/linux-6.6.21/drivers/accel/ivpu/
Divpu_drv.c633 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->submitted_jobs_xa)); in ivpu_dev_fini()
635 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->context_xa)); in ivpu_dev_fini()
Divpu_job.c580 jobs_submitted = !xa_empty(&vdev->submitted_jobs_xa); in ivpu_job_done_thread()
585 if (jobs_submitted && !xa_empty(&vdev->submitted_jobs_xa)) { in ivpu_job_done_thread()
/linux-6.6.21/net/devlink/
Dcore.c262 WARN_ON(!xa_empty(&devlink->ports)); in devlink_free()
/linux-6.6.21/tools/testing/radix-tree/
Dtest.c267 assert(xa_empty(xa)); in item_kill_tree()
/linux-6.6.21/io_uring/
Dfdinfo.c170 if (has_lock && !xa_empty(&ctx->personalities)) { in io_uring_show_fdinfo()
Dtctx.c51 WARN_ON_ONCE(!xa_empty(&tctx->xa)); in __io_uring_free()
/linux-6.6.21/drivers/infiniband/core/
Drestrack.c72 if (!xa_empty(xa)) { in rdma_restrack_clean()
Ddevice.c673 WARN_ON(!xa_empty(&device->compat_devs)); in ib_dealloc_device()
674 WARN_ON(!xa_empty(&device->client_data)); in ib_dealloc_device()
2870 WARN_ON(!xa_empty(&clients)); in ib_core_cleanup()
2871 WARN_ON(!xa_empty(&devices)); in ib_core_cleanup()
/linux-6.6.21/drivers/block/rnbd/
Drnbd-srv.c240 if (xa_empty(&srv_sess->index_idr)) in destroy_sess()
662 if (xa_empty(&srv_sess->index_idr)) in find_srv_sess_dev()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/crypto/
Dipsec.c559 WARN_ON(!xa_empty(&nn->xa_ipsec)); in nfp_net_ipsec_clean()
/linux-6.6.21/drivers/iommu/
Diommu.c3154 !xa_empty(&group->pasid_array)) { in iommu_device_use_default_domain()
3185 if (!WARN_ON(!group->owner_cnt || !xa_empty(&group->pasid_array))) in iommu_device_unuse_default_domain()
3220 !xa_empty(&group->pasid_array)) in __iommu_take_dma_ownership()
3308 !xa_empty(&group->pasid_array))) in __iommu_release_dma_ownership()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c569 WARN_ON(!xa_empty(&table->port_indices)); in mlx5_sf_table_cleanup()
/linux-6.6.21/fs/cachefiles/
Ddaemon.c364 if (!xa_empty(&cache->reqs)) in cachefiles_daemon_poll()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.c993 WARN_ON(!xa_empty(&bridge->ports)); in ice_eswitch_br_deinit()
1055 if (!bridge || !xa_empty(&bridge->ports)) in ice_eswitch_br_verify_deinit()

123