Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 46 files:

Smatch caller information:

drivers/acpi/acpi_processor.c acpi_processor_extract_lpi_info() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
PARAM_VALUE 0 handle->common.descriptor_type 15
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/video_detect.c find_video() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/intel/dmar.c dmar_acpi_dev_scope_init() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
LOCK2 global &dmar_global_lock

drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_parse_device() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/hotplug/acpiphp_glue.c acpiphp_add_context() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/surface/surface_acpi_notify.c san_consumer_setup() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

sound/soc/amd/acp/amd-sdw-acpi.c amd_sdw_scan_controller() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/acpi/thermal.c acpi_thermal_should_bind_cdev() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &thermal->lock
LOCK2 _T->lock
TYPE_LOCK (struct thermal_zone_device)->lock

drivers/net/mdio/mdio-xgene.c acpi_register_phy() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_acpi_handle_locate_callback() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_query_bcl_levels() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/eeepc-laptop.c acpi_get_pci_dev() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &eeepc->hotplug_lock
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct eeepc_laptop)->hotplug_lock

drivers/acpi/pci_root.c acpi_is_root_bridge() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/pci_root.c acpi_pci_find_root() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/hotplug/acpiphp_ibm.c ibm_acpiphp_init() -> acpi_fetch_acpi_dev()

Type Parameter Key Value

drivers/acpi/mipi-disco-img.c init_crs_csi2_swnodes() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/acpi/pci_link.c acpi_pci_link_allocate_irq() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/pci_link.c acpi_pci_link_free_irq() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle $0

drivers/acpi/device_pm.c acpi_bus_can_wakeup() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/device_pm.c acpi_bus_power_manageable() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sdev->request_queue->limits_lock
HALF_LOCKED2 &shost->scan_mutex

drivers/acpi/device_pm.c acpi_bus_set_power() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ap->host->eh_mutex
HALF_LOCKED2 flags

drivers/acpi/device_pm.c acpi_bus_update_power() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0

drivers/thunderbolt/acpi.c tb_acpi_add_link() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/perf/xgene_pmu.c acpi_pmu_dev_add() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/usb-acpi.c usb_acpi_get_companion_for_port() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle r usb_get_hub_port_acpi_handle

drivers/perf/thunderx2_pmu.c tx2_uncore_pmu_add() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/processor_driver.c acpi_soft_cpu_dead() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

drivers/acpi/processor_driver.c acpi_soft_cpu_online() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

drivers/spi/spi.c acpi_spi_add_device() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi.c acpi_spi_add_resource() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->lock
HALF_LOCKED2 global &acpi_link_lock
HALF_LOCKED2 global &ioapic_list_lock

drivers/acpi/property.c acpi_fwnode_get_reference_args() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/property.c acpi_fwnode_get_reference_args() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/property.c acpi_parse_string_ref() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

sound/hda/core/intel-sdw-acpi.c sdw_intel_acpi_cb() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
PARAM_VALUE 0 handle->descriptor_type 0-255
PARAM_VALUE 0 handle->flags 0-u16max
PARAM_VALUE 0 handle->name.integer 0-4294967295
PARAM_VALUE 0 handle->owner_id 0-u16max
PARAM_VALUE 0 handle->type 0-255
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

sound/hda/core/intel-sdw-acpi.c sdw_intel_scan_controller() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/acpi/dock.c docked_show() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/x86-android-tablets/core.c x86_acpi_irq_helper_get() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/x86-android-tablets/core.c x86_instantiate_spi_dev() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/resource.c acpi_res_consumer_cb() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/intel/int3472/discrete.c skl_int3472_fill_gpiod_lookup() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->lock
HALF_LOCKED2 global &acpi_link_lock
HALF_LOCKED2 global &ioapic_list_lock

sound/soc/soc-acpi.c snd_soc_acpi_find_package() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/i2c-core-acpi.c i2c_acpi_add_device() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/i2c-core-acpi.c i2c_acpi_get_info() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/i2c-core-acpi.c i2c_acpi_lookup_speed() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/busses/i2c-designware-platdrv.c check_gpioint_resource() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ctrl->lock
HALF_LOCKED2 global &acpi_link_lock
HALF_LOCKED2 global &ioapic_list_lock

drivers/tty/serdev/core.c acpi_serdev_add_device() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/soundwire/amd_init.c sdw_amd_probe_controller() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/platform/surface/surface3-wmi.c s3_wmi_attach_spi_device() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/soundwire/intel_init.c sdw_intel_probe_controller() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

drivers/soundwire/intel_init.c sdw_intel_startup_controller() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/pnp/pnpacpi/core.c pnpacpi_add_device_handler() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/x86/s2idle.c lpi_check_constraints() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx_acpi_register_phy() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_art() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_art() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_psvt() -> acpi_fetch_acpi_dev()

Type Parameter Key Value

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_psvt() -> acpi_fetch_acpi_dev()

Type Parameter Key Value

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_trt() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c acpi_parse_trt() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/scan.c acpi_bus_check_add() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/scan.c acpi_bus_offline() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/acpi/scan.c acpi_bus_online() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock

drivers/acpi/scan.c acpi_find_parent_acpi_dev() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
DATA_SOURCE 0 handle $0 [m]
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/scan.c acpi_scan_init() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle (-1)
LOCK2 global &acpi_scan_lock

drivers/acpi/scan.c acpi_scan_postponed() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &acpi_dep_list_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &acpi_scan_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/acpi/power.c acpi_add_power_resource() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/power.c acpi_power_get_context() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &acpi_dep_list_lock
HALF_LOCKED2 global &acpi_scan_lock

drivers/acpi/ioapic.c acpi_get_pci_dev() -> acpi_fetch_acpi_dev()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->common.descriptor_type 15
PARAM_VALUE 0 handle->descriptor_type 0-255
PARAM_VALUE 0 handle->flags 0-u16max
PARAM_VALUE 0 handle->name.integer 0-4294967295
PARAM_VALUE 0 handle->owner_id 0-u16max
PARAM_VALUE 0 handle->type 0-255
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &ioapic_list_lock