Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- arch/s390/pci/pci_bus.c, line 81
- drivers/edac/e752x_edac.c, line 1181
- drivers/edac/i82875p_edac.c, line 288
- drivers/pci/hotplug/octep_hp.c, line 80
- drivers/pci/probe.c
- drivers/pci/xen-pcifront.c, line 427
- drivers/platform/x86/asus-wmi.c, line 2273
- drivers/platform/x86/eeepc-laptop.c, line 610
- drivers/platform/x86/p2sb.c, line 89
Smatch caller information:
drivers/pci/hotplug/octep_hp.c octep_hp_enable_pdev() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/platform/x86/eeepc-laptop.c eeepc_rfkill_hotplug() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | devfn | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &eeepc->hotplug_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct eeepc_laptop)->hotplug_lock |
drivers/pci/probe.c pci_scan_slot() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | bus | (-1)-0,1904 |
| BUF_SIZE | 0 | bus | (-1)-0,1904 |
| DATA_SOURCE | 0 | bus | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bus->bridge_ctl | 0 |
| HOST_DATA | 0 | bus->parent->bridge_ctl | 0-u16max |
| HALF_LOCKED2 | &ctrl->reset_lock | ||
| HALF_LOCKED2 | &p_slot->ctrl->crit_sect | ||
| HALF_LOCKED2 | global &list_rwsem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/edac/e752x_edac.c e752x_get_devs() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->ops->write | 4096-ptr_max |
| PARAM_VALUE | 0 | bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 1 | devfn | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/p2sb.c p2sb_scan_and_cache_devfn() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 1-u64max |
| DATA_SOURCE | 0 | bus | $0 |
| DATA_SOURCE | 1 | devfn | $1 |
| LOCK2 | global &pci_rescan_remove_lock |
drivers/pci/xen-pcifront.c pcifront_scan_bus() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | devfn | 0-255 |
| DATA_SOURCE | 0 | bus | $3 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/platform/x86/asus-wmi.c asus_rfkill_hotplug() -> pci_scan_single_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bus | 4096-ptr_max |
| PARAM_VALUE | 1 | devfn | 0 |
| DATA_SOURCE | 0 | bus | r pci_find_bus |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &asus->hotplug_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct asus_wmi)->hotplug_lock |