Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c, line 605
- drivers/net/ethernet/realtek/r8169_main.c, line 4892
- drivers/pci/controller/vmd.c, line 1066
- drivers/pci/pci.c, line 5733
- drivers/pci/quirks.c, line 6156
- drivers/scsi/lpfc/lpfc_attr.c, line 1651
- drivers/vfio/pci/vfio_pci_core.c
Smatch caller information:
drivers/vfio/pci/vfio_pci_core.c vfio_pci_dev_set_hot_reset() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->slot | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->slot->hotplug->owner->refcnt.counter | s32min-s32max |
| CAPPED_DATA | 0 | pdev->slot | 1 |
| DATA_SOURCE | 0 | pdev | r vfio_pci_dev_set_resettable |
| LOCK2 | &dev_set->lock | ||
| HALF_LOCKED2 | &vdev->memory_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_dev_set_try_reset() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->slot | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->slot->hotplug->owner->refcnt.counter | s32min-s32max |
| CAPPED_DATA | 0 | pdev->slot | 1 |
| DATA_SOURCE | 0 | pdev | r vfio_pci_dev_set_resettable |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/pci/controller/vmd.c vmd_enable_domain() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c mlx5_pci_reset_bus() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->error_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/lpfc/lpfc_attr.c lpfc_reset_pci_bus() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| CAPPED_DATA | 0 | &pdev->bus->devices | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/realtek/r8169_main.c rtl_task() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/pci/quirks.c quirk_reset_lenovo_thinkpad_p50_nvgpu() -> pci_reset_bus()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | pdev->subsystem_device | 8750 |
| PARAM_VALUE | 0 | pdev->subsystem_vendor | 6058 |
| PARAM_VALUE | 0 | *pdev->saved_config_space | 0-4294967295 |
| DATA_SOURCE | 0 | pdev | $0 |
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |