Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/acpi/device_sysfs.c, line 326 (as a function)
- include/linux/acpi.h, line 1060 (as a function)
Referenced in 5 files:
- drivers/acpi/device_sysfs.c, line 330
- drivers/base/platform.c, line 1385
- drivers/i2c/i2c-core-base.c, line 684
- drivers/spi/spi.c, line 65
- drivers/tty/serdev/core.c, line 34
Smatch caller information:
drivers/i2c/i2c-core-base.c modalias_show() -> acpi_device_modalias()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | size | 4095 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/platform.c modalias_show() -> acpi_device_modalias()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | size | 4095 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/spi/spi.c modalias_show() -> acpi_device_modalias()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | size | 4095 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/tty/serdev/core.c modalias_show() -> acpi_device_modalias()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | size | 4095 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |