Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/sparc/kernel/pci.c
- drivers/acpi/pci_slot.c, line 112
- drivers/pci/controller/pci-hyperv.c, line 2450
- drivers/pci/hotplug/pci_hotplug_core.c, line 404
- drivers/pci/slot.c, line 340
Smatch caller information:
drivers/acpi/pci_slot.c register_slot() -> pci_create_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | slot_nr | 0-u16max |
| PARAM_VALUE | 2 | name | 2211885585819766784 |
| PARAM_VALUE | 3 | hotplug | 0 |
| BUF_SIZE | 0 | parent | (-1),3-6,8,12,16,24,32,56,64,80,112,136,504,1616,1688,2360,2864-5728 |
| BUF_SIZE | 0 | parent | (-1),3-6,8,12,16,24,32,56,64,80,112,136,504,1616,1688,2360,2864-5728 |
| BUF_SIZE | 2 | name | 21 |
| DATA_SOURCE | 0 | parent | $2 |
| DATA_SOURCE | 1 | slot_nr | r check_slot |
| STR_LEN | 0 | parent | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-hyperv.c hv_pci_assign_slots() -> pci_create_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->resources.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->self->physfn->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 1 | slot_nr | 0-31 |
| PARAM_VALUE | 2 | name | 6581098157140652032 |
| PARAM_VALUE | 3 | hotplug | 0 |
| BUF_SIZE | 2 | name | 11 |
| CAPPED_DATA | 1 | slot_nr | 1 |
| STR_LEN | 0 | parent | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hbus->state_lock | ||
| LOCK2 | global &pci_rescan_remove_lock | ||
| TYPE_LOCK | (struct hv_pcibus_device)->state_lock |
drivers/pci/hotplug/pci_hotplug_core.c __pci_hp_initialize() -> pci_create_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | name | 2387216257500659712,4779483192402788352,5948899239746306048,6184939792261787648,6262653920398774272,6377533570833453056,6421890812192641024 |
| PARAM_VALUE | 3 | hotplug | 4096-ptr_max |
| PARAM_VALUE | 3 | hotplug->mod_name | 955596576267329536,3154391598105935872,3443960472763920384,3724098880311934976,4498261839756185600,5568615874657591296,6224577605160603648 |
| PARAM_VALUE | 3 | hotplug->ops | 4096-ptr_max |
| PARAM_VALUE | 3 | hotplug->owner | 0 |
| BUF_SIZE | 2 | name | 6,10-11,16,21 |
| BUF_SIZE | 2 | name | 6,10-11,16,21 |
| BUF_SIZE | 3 | hotplug | (-1),32 |
| BUF_SIZE | 3 | hotplug | (-1),32 |
| BUF_SIZE | 3 | hotplug->mod_name | 7-9,12-13 |
| BUF_SIZE | 3 | hotplug->ops | (-1),72 |
| DATA_SOURCE | 0 | parent | $1 |
| DATA_SOURCE | 1 | slot_nr | $2 |
| DATA_SOURCE | 2 | name | $3 |
| DATA_SOURCE | 3 | hotplug | $0 |
| STR_LEN | 0 | parent | 6-8,11-12 |
| STR_LEN | 0 | parent | 6-8,11-12 |
| STR_LEN | 1 | slot_nr | 5,9-10,15,20 |
| STR_LEN | 3 | hotplug | 5,9-10,15,20 |
| STR_LEN | 3 | hotplug->mod_name | (-1) |
| TERMINATED | 3 | hotplug->mod_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | slot_nr | 0-61[c] |