Defined in 2 files as a function:
- drivers/xen/grant-table.c, line 917 (as a function)
- drivers/xen/grant-table.c, line 943 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/xen/grant-table.c gnttab_page_cache_get() -> cache_deq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->pages | 1-u64max |
| DATA_SOURCE | 0 | cache | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cache->lock | |
| TYPE_LOCK | (struct gnttab_page_cache)->lock |
drivers/xen/grant-table.c gnttab_page_cache_shrink() -> cache_deq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| DATA_SOURCE | 0 | cache | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cache->lock | |
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| TYPE_LOCK | (struct gnttab_page_cache)->lock |