Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/scsi/megaraid.c make_local_pdev() -> pci_alloc_dev()

Type Parameter Key Value
PARAM_VALUE 0 bus 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &m->lock
HALF_LOCKED2 global &megadev_mutex

drivers/pci/iov.c pci_iov_scan_device() -> pci_alloc_dev()

Type Parameter Key Value
PARAM_VALUE 0 bus 1-u64max
PARAM_VALUE 0 bus->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 bus->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 bus->self->link_bwctrl->cdev 0-s64max
BUF_SIZE 0 bus (-1)-0,1904
BUF_SIZE 0 bus (-1)-0,1904
DATA_SOURCE 0 bus $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 bus->bridge_ctl 0-u16max
HOST_DATA 0 bus->parent->bridge_ctl 0-u16max
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/pci/probe.c pci_scan_device() -> pci_alloc_dev()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
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
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 bus->bridge_ctl 0
HOST_DATA 0 bus->parent->bridge_ctl 0-u16max
HALF_LOCKED2 &asus->hotplug_lock
HALF_LOCKED2 &eeepc->hotplug_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &pci_rescan_remove_lock
HALF_LOCKED2 global &xenwatch_mutex