Defined in 2 files as a function:
- drivers/pci/xen-pcifront.c, line 723 (as a function)
- drivers/xen/xen-pciback/xenbus.c, line 88 (as a function)
Referenced in 4 files:
- drivers/pci/xen-pcifront.c
- drivers/scsi/megaraid.c
- drivers/usb/cdns3/cdnsp-gadget.c
- drivers/xen/xen-pciback/xenbus.c, line 724
Smatch caller information:
drivers/xen/xen-pciback/xenbus.c xen_pcibk_xenbus_remove() -> free_pdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 1-u64max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &dev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |
drivers/pci/xen-pcifront.c pcifront_xenbus_probe() -> free_pdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->gnt_ref | 0-4294967294 |
| PARAM_VALUE | 0 | pdev->irq | (-1)-s32max |
| PARAM_VALUE | 0 | pdev->root_buses.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->root_buses.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->root_buses.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->root_buses.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->root_buses.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->sh_info | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | pdev->sh_info->flags | 0 |
| PARAM_VALUE | 0 | pdev->xdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->xdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->xdev->otherend_watch.node | 0 |
| PARAM_VALUE | 0 | pdev->xdev->otherend_watch.nr_pending | 0 |
| PARAM_VALUE | 0 | pdev->xdev->reclaim_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | pdev->xdev->reclaim_sem.lock.owner_cpu | u32max |
| BUF_SIZE | 0 | pdev | 208 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | r alloc_pdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xdev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |
drivers/pci/xen-pcifront.c pcifront_xenbus_remove() -> free_pdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 1-u64max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &xdev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |