Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/crypto/cavium/nitrox/nitrox_isr.h, line 15 (as a function)
- drivers/crypto/cavium/nitrox/nitrox_sriov.c, line 228 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/crypto/cavium/nitrox/nitrox_main.c nitrox_remove() -> nitrox_sriov_configure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->err_handler | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | *pdev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | num_vfs | 0 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/pci/iov.c sriov_numvfs_store() -> (struct pci_driver)->sriov_configure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->sriov_configure | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->sriov | 4096-ptr_max |
| PARAM_VALUE | 1 | num_vfs | 0 |
| CONTAINER | 0 | -56-128+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| LOCK2 | 0 | &pdev->dev.mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pci/iov.c sriov_numvfs_store() -> (struct pci_driver)->sriov_configure()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->sriov_configure | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->is_physfn | 1 |
| PARAM_VALUE | 0 | pdev->sriov | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->sriov->num_VFs | 0 |
| PARAM_VALUE | 1 | num_vfs | 1-u16max |
| CAPPED_DATA | 1 | num_vfs | 1 |
| CONTAINER | 0 | -56-128+0 | $(-1) |
| PARAM_COMPARE | 1 | num_vfs | != $0->sriov->num_VFs |
| CONSTRAINT | 1 | num_vfs | <=4100 |
| NOSPEC | 1 | num_vfs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | num_vfs | |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| LOCK2 | 0 | &pdev->dev.mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |