Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pci/switch/switchtec.c component_vendor_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 8 |
| BUF_SIZE | 1 | attr | 8 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/switch/switchtec.c product_id_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 16 |
| BUF_SIZE | 1 | attr | 16 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/switch/switchtec.c product_id_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 24 |
| BUF_SIZE | 1 | attr | 24 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/switch/switchtec.c product_revision_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 4 |
| BUF_SIZE | 1 | attr | 4 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/switch/switchtec.c product_revision_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 2 |
| BUF_SIZE | 1 | attr | 2 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/switch/switchtec.c vendor_id_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 8 |
| BUF_SIZE | 1 | attr | 8 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/switch/switchtec.c vendor_id_show() -> io_string_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 8 |
| BUF_SIZE | 1 | attr | 8 |
| CAPPED_DATA | 0 | buf | 1 |
| DATA_SOURCE | 0 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |