Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/acpi/dock.c dock_notify() -> dock_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->flags | 0,2-u32max |
| PARAM_VALUE | 0 | ds->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | ds->handle->common.descriptor_type | 15 |
| PARAM_VALUE | 1 | event | 0-1 |
| PARAM_VALUE | 2 | num | 3 |
| CAPPED_DATA | 0 | ds->handle | 1 |
| DATA_SOURCE | 0 | ds | r find_dock_station |
| DATA_SOURCE | 1 | event | $1 |
| NOCHECK_CALL | |||
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/dock.c dock_notify() -> dock_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->flags | 0,2-u32max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | num | 2 |
| CAPPED_DATA | 0 | ds->handle | 1 |
| DATA_SOURCE | 0 | ds | r find_dock_station |
| DATA_SOURCE | 1 | event | $1 [m] |
| NOCHECK_CALL | |||
| LOCK2 | global &acpi_scan_lock | ||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/dock.c handle_eject_request() -> dock_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->flags | 0,2-u32max |
| PARAM_VALUE | 1 | event | 3 |
| PARAM_VALUE | 2 | num | 2 |
| BUF_SIZE | 0 | ds | (-1),1-s32max |
| BUF_SIZE | 0 | ds | (-1),1-s32max |
| DATA_SOURCE | 0 | ds | $0 |
| DATA_SOURCE | 1 | event | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |