Defined in 1 files as a function:
Referenced in 12 files:
- arch/x86/virt/vmx/tdx/tdx.c, line 172
- drivers/acpi/scan.c, line 534
- drivers/iommu/intel/iommu.c, line 997
- drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c, line 50
- drivers/net/ethernet/sfc/tc.c, line 3084
- drivers/pci/ide.c, line 801
- drivers/usb/gadget/function/f_hid.c
- drivers/usb/gadget/function/f_printer.c
- lib/region_alloc_benchmark.c, line 117
- lib/test_ida.c
- sound/soc/intel/avs/utils.c, line 92
- tools/testing/radix-tree/idr-test.c
Smatch caller information:
drivers/iommu/intel/iommu.c disable_dmar_iommu() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dmar_global_lock |
drivers/net/ethernet/sfc/tc.c efx_fini_struct_tc() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &efx->tc->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct efx_tc_state)->mutex |
drivers/pci/ide.c pci_ide_set_nr_streams() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
sound/soc/intel/avs/utils.c avs_is_module_ida_empty() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &adev->comp_list_mutex | ||
| HALF_LOCKED2 | &adev->path_mutex |
drivers/usb/gadget/function/f_printer.c gprinter_alloc_inst() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 3716557931946041344 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &func_lock | ||
| LOCK2 | global &printer_ida_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/usb/gadget/function/f_printer.c gprinter_alloc_inst() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 3716557931946041344 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &func_lock | ||
| LOCK2 | global &printer_ida_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/usb/gadget/function/f_printer.c gprinter_free_inst() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 3716557931946041344 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &printer_ida_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
arch/x86/virt/vmx/tdx/tdx.c tdx_offline_cpu() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7188237339756302336 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
lib/region_alloc_benchmark.c benchmark_ida() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 2889017341295325184 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
drivers/usb/gadget/function/f_hid.c hidg_alloc_inst() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 8604000226919620608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &func_lock | ||
| LOCK2 | global &hidg_ida_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/usb/gadget/function/f_hid.c hidg_alloc_inst() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 8604000226919620608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &func_lock | ||
| LOCK2 | global &hidg_ida_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/usb/gadget/function/f_hid.c hidg_free_inst() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 8604000226919620608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hidg_ida_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
lib/test_ida.c ida_check_alloc() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_bad_free() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_conv() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_conv() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_conv() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_destroy() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_destroy() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_destroy_1() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_destroy_1() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_find_first() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_leaf() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_leaf() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_leaf() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_check_max() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
| PARAM_VALUE | 0 | ida->xa.xa_head | 0 |
| DATA_SOURCE | 0 | ida | $0 |
lib/test_ida.c ida_checks() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 7220171856470704128 |
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c mlx5_cleanup_reserved_gids() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/acpi/scan.c acpi_device_del() -> ida_is_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ida | 4096-ptr_max |
| LOCK2 | global &acpi_device_lock | ||
| HALF_LOCKED2 | &pool->lock |