Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/block/xen-blkfront.c
- drivers/net/xen-netfront.c
- drivers/scsi/xen-scsifront.c
- drivers/tty/hvc/hvc_xen.c, line 472
- drivers/usb/host/xen-hcd.c, line 603
- drivers/xen/gntdev-dmabuf.c, line 494
- drivers/xen/grant-table.c, line 694
- drivers/xen/pvcalls-front.c, line 1283
- drivers/xen/xen-front-pgdir-shbuf.c
- drivers/xen/xenbus/xenbus_client.c, line 425
Smatch caller information:
drivers/tty/hvc/hvc_xen.c xencons_connect_backend() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 7021613506302054400 |
| PARAM_VALUE | 0 | *private_head | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->reclaim_sem |
drivers/net/xen-netfront.c xennet_alloc_rx_buffers() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &queue->rx_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct netfront_queue)->rx_lock |
drivers/net/xen-netfront.c xennet_tx_setup_grant() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &queue->tx_lock | ||
| HALF_LOCKED2 | &rinfo->ring_lock | ||
| HALF_LOCKED2 | flags |
drivers/xen/pvcalls-front.c pvcalls_front_probe() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 3943318879016566784 |
| PARAM_VALUE | 0 | *private_head | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |
drivers/scsi/xen-scsifront.c map_data_for_request() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 1205600205648855040 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/xen-scsifront.c map_data_for_request() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 1205600205648855040 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/xen/xenbus/xenbus_client.c xenbus_setup_ring() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 4716445786958929920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/xen/xen-front-pgdir-shbuf.c grant_references() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 894427278399983616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
drivers/xen/xen-front-pgdir-shbuf.c guest_grant_refs_for_buffer() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 894427278399983616 |
| DATA_SOURCE | 0 | private_head | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
drivers/usb/host/xen-hcd.c xenhcd_gnttab_map() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 649852107327262720 |
| DATA_SOURCE | 0 | private_head | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/xen/gntdev-dmabuf.c dmabuf_imp_grant_foreign_access() -> gnttab_claim_grant_reference()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | private_head | 8944738852544634880 |