Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pci/vpd.c pci_write_vpd() -> __pci_write_vpd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | count | 0-4100 |
| PARAM_VALUE | 4 | check_size | 1 |
| BUF_SIZE | 3 | buf | (-1)-0,4-4100 |
| BUF_SIZE | 3 | buf | (-1)-0,4-4100 |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | pos | $1 |
| DATA_SOURCE | 2 | count | $2 |
| DATA_SOURCE | 3 | buf | $3 |
| BIT_INFO | 2 | count | 0x0,0x3fffffff |
| NOSPEC | 1 | pos | |
| NOSPEC | 2 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| USER_DATA | 1 | pos | 0-2147487740 |
| USER_DATA | 2 | count | 0-4100[c] |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 3 | buf | |
| HALF_LOCKED2 | &of->mutex |
drivers/pci/vpd.c pci_write_vpd_any() -> __pci_write_vpd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 1-4096 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | check_size | 0 |
| BUF_SIZE | 3 | buf | 4,4096 |
| BUF_SIZE | 3 | buf | 4,4096 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | pos | $1 |
| DATA_SOURCE | 2 | count | $2 |
| DATA_SOURCE | 3 | buf | $3 |
| NOSPEC | 1 | pos | |
| NOSPEC | 1 | pos | |
| USER_DATA | 1 | pos | 0-2147487742[c] |
| USER_DATA | 2 | count | 1-4095[c] |
| NO_OVERFLOW_SIMPLE | 1 | pos | |
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 3 | buf |