Defined in 1 files as a function:
Referenced in 6 files:
- drivers/block/null_blk/main.c, line 1237
- drivers/gpu/drm/i915/gvt/gtt.c, line 2439
- drivers/net/ethernet/netronome/nfp/abm/main.c, line 367
- include/linux/idr.h, line 179
- kernel/irq/irqdomain.c, line 408
- tools/testing/radix-tree/regression2.c, line 120
Smatch caller information:
net/rxrpc/conn_client.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
drivers/gpu/drm/i915/gvt/gtt.c intel_vgpu_destroy_all_ppgtt_mm() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/firmware/arm_scmi/driver.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| MEM_ZERO | 0 | root | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sched/cls_flower.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chain->filter_chain_lock | ||
| LOCK2 | &tp->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct tcf_chain)->filter_chain_lock | ||
| TYPE_LOCK | (struct tcf_proto)->lock |
drivers/net/ethernet/marvell/prestera/prestera_acl.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/block/drbd/drbd_nl.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/gpu/drm/vmwgfx/ttm_object.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gvt/sched_policy.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vgpu->gvt->sched_lock | ||
| HALF_LOCKED2 | &gvt->lock | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock | ||
| HALF_LOCKED2 | global &intel_gvt_mutex | ||
| TYPE_LOCK | (struct intel_gvt)->sched_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_pgt.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
net/bluetooth/hci_sync.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/habanalabs/common/context.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->ts_reg_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock |
net/bluetooth/hci_event.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
fs/smb/server/vfs_cache.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/wireless/mediatek/mt76/tx.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->status_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mt76_dev)->status_lock |
drivers/gpu/drm/drm_lease.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| LOCK2 | &dev->mode_config.idr_mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->idr_mutex |
kernel/irq/irqdomain.c irq_domain_remove() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &irq_domain_mutex | ||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &child_device->mutex | ||
| HALF_LOCKED2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &acpi_ioapic_lock | ||
| HALF_LOCKED2 | global &ioapic_list_lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/accel/habanalabs/common/debugfs.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev_entry->ctx_mem_hash_mutex | ||
| LOCK2 | &s->lock | ||
| LOCK2 | &vm->idr_lock | ||
| TYPE_LOCK | (struct hl_dbg_device_entry)->ctx_mem_hash_mutex | ||
| TYPE_LOCK | (struct hl_vm)->idr_lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/block/null_blk/main.c null_handle_flush() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nullb->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct nullb)->lock |
net/bluetooth/hci_core.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/habanalabs/common/memory_mgr.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlxsw/spectrum_policer.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/marvell/prestera/prestera_counter.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c idr_is_empty() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/netronome/nfp/abm/main.c nfp_abm_vnic_free() -> radix_tree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |