Defined in 1 files as a function:
Referenced in 11 files:
- drivers/acpi/acpi_platform.c
- drivers/acpi/acpi_video.c, line 1719
- drivers/acpi/arm64/amba.c, line 39
- drivers/acpi/device_pm.c
- drivers/acpi/property.c
- drivers/acpi/scan.c
- drivers/hv/vmbus_drv.c
- drivers/perf/arm_cspmu/arm_cspmu.c, line 1180
- drivers/perf/arm_dsu_pmu.c
- drivers/perf/qcom_l3_pmu.c, line 736
- drivers/spi/spi.c, line 5311
Smatch caller information:
drivers/acpi/acpi_video.c acpi_video_dev_register_backlight() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &video->device_list_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &video_list_lock | ||
| TYPE_LOCK | (struct acpi_video_bus)->device_list_lock |
drivers/hv/vmbus_drv.c vmbus_acpi_add() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adev | unit_byte |
drivers/hv/vmbus_drv.c vmbus_acpi_add() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/device_pm.c acpi_device_get_power() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev->driver_data | (-1),160 |
| CAPPED_DATA | 0 | adev | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adev | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/acpi/device_pm.c acpi_device_set_power() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev->driver_data | (-1),160 |
| DATA_SOURCE | 0 | adev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adev | unit_byte |
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/spi/spi.c acpi_spi_notify() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | adev | $2 |
drivers/acpi/property.c acpi_init_of_compatible() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 0,4096-ptr_max |
| BUF_SIZE | 0 | adev->dev.bus | 168 |
| BUF_SIZE | 0 | adev->dev.groups | 16 |
| BUF_SIZE | 0 | adev->dev.parent | 0,1616 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->status | 0xf,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/property.c acpi_node_get_parent() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/acpi_platform.c acpi_create_platform_device() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| BUF_SIZE | 0 | adev->driver_data | (-1),24,88 |
| CAPPED_DATA | 0 | adev | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->handle->object->string.length | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock |
drivers/acpi/acpi_platform.c acpi_platform_fill_resource() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| BUF_SIZE | 0 | adev->driver_data | (-1),24,88 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->handle->object->string.length | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock |
drivers/acpi/scan.c acpi_default_enumeration() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| CAPPED_DATA | 0 | adev | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &acpi_scan_lock |
drivers/acpi/scan.c acpi_device_get_busid() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 0,4096-ptr_max |
| BUF_SIZE | 0 | adev | 2408 |
| BUF_SIZE | 0 | adev->dev.bus | 168 |
| BUF_SIZE | 0 | adev->dev.groups | 16 |
| BUF_SIZE | 0 | adev->dev.parent | 0,1616 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->status | 0xf,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/scan.c acpi_init_coherency() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 0,4096-ptr_max |
| BUF_SIZE | 0 | adev | 2408 |
| BUF_SIZE | 0 | adev->dev.bus | 168 |
| BUF_SIZE | 0 | adev->dev.groups | 16 |
| BUF_SIZE | 0 | adev->dev.parent | 0,1616 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->status | 0xf,0xffffffffffffffff |
| MEM_ZERO | 0 | &adev->dev.power.suspend_timer | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/scan.c acpi_is_indirect_io_slave() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev.parent | 0,4096-ptr_max |
| BUF_SIZE | 0 | adev->dev.bus | 168 |
| BUF_SIZE | 0 | adev->dev.groups | 16 |
| BUF_SIZE | 0 | adev->dev.parent | 0,1616 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 0 | adev->status | 0xf,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/scan.c acpi_scan_device_check() -> acpi_dev_parent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &pool->lock |