Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/acpi/scan.c acpi_bus_check_add_1() -> acpi_bus_check_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 1 | first_pass | 1 |
| PARAM_VALUE | 2 | adev_p | 0,4096-ptr_max |
| BUF_SIZE | 2 | adev_p | (-1),4 |
| BUF_SIZE | 2 | adev_p | (-1),4 |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 2 | adev_p | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/scan.c acpi_bus_check_add_2() -> acpi_bus_check_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 1 | first_pass | 0 |
| PARAM_VALUE | 2 | adev_p | 0,4096-ptr_max |
| BUF_SIZE | 2 | adev_p | (-1),4 |
| BUF_SIZE | 2 | adev_p | (-1),4 |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 2 | adev_p | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/acpi/scan.c acpi_bus_scan() -> acpi_bus_check_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | first_pass | 1 |
| PARAM_VALUE | 2 | adev_p | 4575064572544700416 |
| PARAM_VALUE | 2 | *adev_p | 0 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_dev->mutex | ||
| 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/scan.c acpi_scan_postponed_branch() -> acpi_bus_check_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| PARAM_VALUE | 1 | first_pass | 0 |
| PARAM_VALUE | 2 | adev_p | 515725525963829248 |
| PARAM_VALUE | 2 | *adev_p | 0 |
| 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 | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |