Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
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 |