Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/block/xen-blkfront.c
- drivers/input/misc/xen-kbdfront.c
- drivers/net/xen-netfront.c
- drivers/xen/gntalloc.c, line 192
- drivers/xen/gntdev-dmabuf.c, line 519
- drivers/xen/grant-table.c, line 612
- drivers/xen/pvcalls-front.c
- drivers/xen/xen-front-pgdir-shbuf.c, line 138
- drivers/xen/xenbus/xenbus_client.c, line 461
- net/9p/trans_xen.c
Smatch caller information:
net/9p/trans_xen.c xen_9pfs_front_alloc_dataring() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &xenwatch_mutex |
net/9p/trans_xen.c xen_9pfs_front_alloc_dataring() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-s32max |
| PARAM_VALUE | 1 | page | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &xenwatch_mutex |
net/9p/trans_xen.c xen_9pfs_front_free() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
net/9p/trans_xen.c xen_9pfs_front_free() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/net/xen-netfront.c xennet_end_access() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| DATA_SOURCE | 0 | ref | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/net/xen-netfront.c xennet_release_rx_bufs() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| DATA_SOURCE | 1 | page | r skb_frag_page |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &queue->rx_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct netfront_queue)->rx_lock |
drivers/net/xen-netfront.c xennet_release_tx_bufs() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/xen/pvcalls-front.c pvcalls_front_destroy_active() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-s32max,4294967268 |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/xen/pvcalls-front.c pvcalls_front_destroy_active() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/xen/pvcalls-front.c pvcalls_front_remove() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->reclaim_sem | ||
| TYPE_LOCK | (struct xenbus_device)->reclaim_sem |
drivers/xen/xenbus/xenbus_client.c xenbus_teardown_ring() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &xdev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/xen/xen-front-pgdir-shbuf.c xen_front_pgdir_shbuf_free() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/input/misc/xen-kbdfront.c xenkbd_connect_backend() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-s32max |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem |
drivers/input/misc/xen-kbdfront.c xenkbd_disconnect_backend() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-s32max |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem |
drivers/xen/gntalloc.c __del_gref() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 1-u32max |
| PARAM_VALUE | 1 | page | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &gref_mutex |
drivers/xen/gntdev-dmabuf.c dmabuf_imp_end_foreign_access() -> gnttab_end_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ref | 0-4294967294 |
| PARAM_VALUE | 1 | page | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |