Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/vfio/pci/pds/dirty.c pds_vfio_dirty_disable() -> pds_vfio_dirty_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pds_vfio | 4096-ptr_max |
| DATA_SOURCE | 0 | pds_vfio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &pds_vfio->state_mutex | |
| HALF_LOCKED2 | &device->dev_set->lock | ||
| TYPE_LOCK | (struct pds_vfio_pci_device)->state_mutex |
drivers/vfio/pci/pds/dirty.c pds_vfio_dirty_enable() -> pds_vfio_dirty_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pds_vfio | 4096-ptr_max |
| DATA_SOURCE | 0 | pds_vfio | $0 |
| LOCK2 | 0 | &pds_vfio->state_mutex | |
| TYPE_LOCK | (struct pds_vfio_pci_device)->state_mutex |
drivers/vfio/pci/pds/dirty.c pds_vfio_dirty_sync() -> pds_vfio_dirty_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pds_vfio | 4096-ptr_max |
| DATA_SOURCE | 0 | pds_vfio | $0 |
| LOCK2 | 0 | &pds_vfio->state_mutex | |
| HALF_LOCKED2 | &iopt->iova_rwsem | ||
| TYPE_LOCK | (struct pds_vfio_pci_device)->state_mutex |
drivers/vfio/pci/pds/pci_drv.c pds_vfio_recovery() -> pds_vfio_dirty_is_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pds_vfio | 4096-ptr_max |
| CAPPED_DATA | 0 | &pds_vfio->state_mutex | 1 |
| DATA_SOURCE | 0 | pds_vfio | $0 |
| LOCK2 | 0 | &pds_vfio->state_mutex | |
| TYPE_LOCK | (struct pds_vfio_pci_device)->state_mutex |