Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/acpi/device_sysfs.c eject_store() -> acpi_hotplug_schedule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags.ejectable | 1 |
| PARAM_VALUE | 0 | adev->handle | 0,4096-ptr_max,(-1) |
| PARAM_VALUE | 0 | adev->handler | 0,4096-ptr_max |
| PARAM_VALUE | 1 | src | 259 |
| 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/acpi/bus.c acpi_bus_notify() -> acpi_hotplug_schedule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 1-u64max |
| PARAM_VALUE | 1 | src | 0-1,3 |
| DATA_SOURCE | 0 | adev | r acpi_get_acpi_dev |
| DATA_SOURCE | 1 | src | $1 |
| HALF_LOCKED2 | &pool->lock |