Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/pnp/interface.c
- drivers/pnp/isapnp/core.c
- drivers/pnp/pnpacpi/core.c, line 269
- drivers/pnp/pnpacpi/rsparser.c, line 279
- drivers/pnp/pnpbios/core.c, line 331
- drivers/pnp/pnpbios/rsparser.c, line 92
Smatch caller information:
drivers/pnp/isapnp/core.c isapnp_get_resources() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->capabilities | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->protocol->get | 3264689936470659072,4796983963748548608 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->capabilities | 0x1,0xffffffff |
| BIT_INFO | 0 | dev->status | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &pnp_res_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pnp/isapnp/core.c isapnp_parse_device() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->capabilities | 0,4-s32max |
| PARAM_VALUE | 0 | dev->card | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->dev.coherent_dma_mask | 16777215 |
| PARAM_VALUE | 0 | dev->card->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->dev.parent | 5142706058642108496 |
| PARAM_VALUE | 0 | dev->card->devices.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->id | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->card->number | 1-255 |
| PARAM_VALUE | 0 | dev->card->protocol | 5142706058642108416 |
| PARAM_VALUE | 0 | dev->card->serial | 0-s32max |
| PARAM_VALUE | 0 | dev->dev.bus | 4969808062667829248 |
| PARAM_VALUE | 0 | dev->dev.coherent_dma_mask | 16777215 |
| PARAM_VALUE | 0 | dev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent | 2020038109684559952,5142706058642108496 |
| PARAM_VALUE | 0 | dev->dev.release | 5960067515301613568 |
| PARAM_VALUE | 0 | dev->dma_mask | 16777215 |
| PARAM_VALUE | 0 | dev->id | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->number | 0-s32max |
| PARAM_VALUE | 0 | dev->options.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->protocol | 5142706058642108416 |
| PARAM_VALUE | 0 | dev->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->dev.dma_mask | 16777215 |
| BUF_SIZE | 0 | dev | 1856 |
| BUF_SIZE | 0 | dev->protocol | 1728 |
| CAPPED_DATA | 0 | dev->card->number | 1 |
| DATA_SOURCE | 0 | dev | r pnp_alloc_dev |
| BIT_INFO | 0 | dev->capabilities | 0xf,0x7fffffff |
| NOCHECK_CALL |
drivers/pnp/interface.c resources_store() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->active | 0 |
| BIT_INFO | 0 | dev->status | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pnp/interface.c resources_store() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->active | 0 |
| BIT_INFO | 0 | dev->status | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pnp/interface.c resources_store() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->active | 0 |
| BIT_INFO | 0 | dev->status | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pnp/pnpacpi/rsparser.c pnpacpi_parse_allocated_resource() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->protocol->get | 3264689936470659072,4796983963748548608 |
| BUF_SIZE | 0 | dev | (-1),1856 |
| BUF_SIZE | 0 | dev | (-1),1856 |
| BUF_SIZE | 0 | dev->protocol | (-1),1728 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->capabilities | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &pnp_res_mutex |
drivers/pnp/pnpacpi/core.c pnpacpi_add_device() -> pnp_init_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->active | 0 |
| PARAM_VALUE | 0 | dev->capabilities | 0-s32max |
| PARAM_VALUE | 0 | dev->data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.bus | 4969808062667829248 |
| PARAM_VALUE | 0 | dev->dev.coherent_dma_mask | 16777215 |
| PARAM_VALUE | 0 | dev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent | 2020038109684559952,5142706058642108496 |
| PARAM_VALUE | 0 | dev->dev.release | 5960067515301613568 |
| PARAM_VALUE | 0 | dev->dma_mask | 16777215 |
| PARAM_VALUE | 0 | dev->id | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->options.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->protocol | 2020038109684559872 |
| PARAM_VALUE | 0 | dev->resources.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->resources.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->dev.dma_mask | 16777215 |
| BUF_SIZE | 0 | dev | 1856 |
| BUF_SIZE | 0 | dev->protocol | 1728 |
| DATA_SOURCE | 0 | dev | r pnp_alloc_dev |
| BIT_INFO | 0 | dev->capabilities | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |