Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/input/misc/xen-kbdfront.c, line 428
- drivers/xen/gntalloc.c, line 147
- drivers/xen/grant-table.c, line 427
- drivers/xen/pvcalls-front.c
- net/9p/trans_xen.c
Smatch caller information:
net/9p/trans_xen.c xen_9pfs_front_alloc_dataring() -> gnttab_grant_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | frame | 0-4611686018427387902,u64max |
| PARAM_VALUE | 2 | readonly | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
net/9p/trans_xen.c xen_9pfs_front_alloc_dataring() -> gnttab_grant_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | readonly | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | global &xenwatch_mutex |
drivers/xen/pvcalls-front.c create_active() -> gnttab_grant_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | readonly | 0 |
drivers/xen/pvcalls-front.c create_active() -> gnttab_grant_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | frame | 0-4611686018427387902,u64max |
| PARAM_VALUE | 2 | readonly | 0 |
drivers/input/misc/xen-kbdfront.c xenkbd_connect_backend() -> gnttab_grant_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | frame | 0-4611686018427387902,u64max |
| PARAM_VALUE | 2 | readonly | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->reclaim_sem |
drivers/xen/gntalloc.c add_grefs() -> gnttab_grant_foreign_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | frame | 0-4611686018427387902,9223396226110586880-u64max |
| PARAM_VALUE | 2 | readonly | 0-1 |
| FUZZY_MAX | 2 | readonly | 1 |
| HARD_MAX | 2 | readonly | 1 |
| USER_DATA | 0 | domid | 0-u16max |
| USER_DATA | 2 | readonly | 0-1 |