Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/block/xen-blkfront.c, line 860
- drivers/net/xen-netfront.c
- drivers/tty/hvc/hvc_xen.c, line 413
- drivers/usb/host/xen-hcd.c, line 711
- drivers/xen/gntdev-dmabuf.c, line 509
- drivers/xen/grant-table.c, line 634
- drivers/xen/xen-front-pgdir-shbuf.c, line 467
Smatch caller information:
drivers/tty/hvc/hvc_xen.c xencons_disconnect_backend() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 1-u32max |
| FUZZY_MAX | 0 | head | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem |
drivers/net/xen-netfront.c xennet_disconnect_backend() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/net/xen-netfront.c xennet_disconnect_backend() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/net/xen-netfront.c xennet_init_queue() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 0-s32max |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | global &xenwatch_mutex |
drivers/xen/xen-front-pgdir-shbuf.c grant_references() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
drivers/usb/host/xen-hcd.c xenhcd_map_urb_for_request() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &info->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct xenhcd_info)->lock |
drivers/block/xen-blkfront.c blkif_queue_rw_req() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rinfo->ring_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct blkfront_ring_info)->ring_lock |
drivers/xen/gntdev-dmabuf.c dmabuf_imp_grant_foreign_access() -> gnttab_free_grant_references()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |