Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/block/xen-blkfront.c, line 1688
- drivers/char/tpm/xen-tpmfront.c, line 258
- drivers/gpu/drm/xen/xen_drm_front_evtchnl.c, line 170
- drivers/net/xen-netfront.c
- drivers/pci/xen-pcifront.c, line 694
- drivers/scsi/xen-scsifront.c, line 797
- drivers/usb/host/xen-hcd.c
- drivers/xen/xenbus/xenbus_client.c, line 443
- sound/xen/xen_snd_front_evtchnl.c, line 206
Smatch caller information:
drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl_alloc() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3104 |
| PARAM_VALUE | 2 | vaddr | 7258950805846511616 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| MEM_ZERO | 4 | grefs | |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/char/tpm/xen-tpmfront.c setup_ring() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->otherend_watch.node | 0 |
| PARAM_VALUE | 0 | dev->otherend_watch.nr_pending | 0 |
| PARAM_VALUE | 0 | dev->reclaim_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | gfp | 3264 |
| PARAM_VALUE | 2 | vaddr | 4096-ptr_max |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &dev->reclaim_sem |
drivers/net/xen-netfront.c setup_netfront() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3104 |
| PARAM_VALUE | 2 | vaddr | 535597544309141504 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| PARAM_VALUE | 4 | *grefs | u32max |
| DATA_SOURCE | 0 | dev | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/net/xen-netfront.c setup_netfront() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3104 |
| PARAM_VALUE | 2 | vaddr | 4134980676106522624 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| PARAM_VALUE | 4 | *grefs | u32max |
| DATA_SOURCE | 0 | dev | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
sound/xen/xen_snd_front_evtchnl.c evtchnl_alloc() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp | 3264 |
| PARAM_VALUE | 2 | vaddr | 8572556950481854464 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| MEM_ZERO | 4 | grefs | |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/scsi/xen-scsifront.c scsifront_alloc_ring() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp | 3264 |
| PARAM_VALUE | 2 | vaddr | 385196537932881920 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->reclaim_sem |
drivers/usb/host/xen-hcd.c xenhcd_setup_rings() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->otherend | 1-u64max |
| PARAM_VALUE | 0 | dev->state | 1 |
| PARAM_VALUE | 1 | gfp | 3104 |
| PARAM_VALUE | 2 | vaddr | 7969732498531147776 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/usb/host/xen-hcd.c xenhcd_setup_rings() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->otherend | 1-u64max |
| PARAM_VALUE | 0 | dev->state | 1 |
| PARAM_VALUE | 1 | gfp | 3104 |
| PARAM_VALUE | 2 | vaddr | 3011535937464901632 |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| PARAM_VALUE | 4 | *grefs | u32max |
| DATA_SOURCE | 0 | dev | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/pci/xen-pcifront.c alloc_pdev() -> xenbus_setup_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->otherend_watch.node | 0 |
| PARAM_VALUE | 0 | dev->otherend_watch.nr_pending | 0 |
| PARAM_VALUE | 0 | dev->reclaim_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->reclaim_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->reclaim_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->reclaim_sem.first_waiter->up | 0 |
| PARAM_VALUE | 0 | dev->reclaim_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->reclaim_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->reclaim_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | gfp | 3264 |
| PARAM_VALUE | 2 | vaddr | 4096-ptr_max |
| PARAM_VALUE | 3 | nr_pages | 1 |
| PARAM_VALUE | 4 | grefs | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &dev->reclaim_sem | |
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |