Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/misc/vmw_balloon.c vmballoon_lock_op() -> vmballoon_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->comm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | cmd | 2-3,6-9 |
| PARAM_VALUE | 2 | arg1 | 0-4503599627370495 |
| PARAM_VALUE | 3 | arg2 | 1-u32max |
| CAPPED_DATA | 2 | arg1 | 1 |
| CAPPED_DATA | 2 | arg1 | 1 |
| DATA_SOURCE | 0 | b | $0 |
| DATA_SOURCE | 3 | arg2 | $1 |
| FUZZY_MAX | 1 | cmd | 9 |
| HARD_MAX | 1 | cmd | 9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &b->comm_lock | |
| LOCK2 | 0 | &b->conf_sem | |
| TYPE_LOCK | (struct vmballoon)->comm_lock | ||
| TYPE_LOCK | (struct vmballoon)->conf_sem |
drivers/misc/vmw_balloon.c vmballoon_send_get_target() -> vmballoon_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 1 |
| PARAM_VALUE | 3 | arg2 | 0 |
| DATA_SOURCE | 0 | b | $0 |
| DATA_SOURCE | 2 | arg1 | r totalram_pages |
| LOCK2 | 0 | &b->conf_sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vmballoon)->conf_sem |
drivers/misc/vmw_balloon.c vmballoon_send_guest_id() -> vmballoon_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->comm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->conf_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->conf_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | b->huge_pages.next | 4096-ptr_max |
| PARAM_VALUE | 0 | b->huge_pages.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | b->huge_pages_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | b->max_page_size | 0-1 |
| PARAM_VALUE | 1 | cmd | 4 |
| PARAM_VALUE | 2 | arg1 | 1 |
| PARAM_VALUE | 3 | arg2 | 0 |
| DATA_SOURCE | 0 | b | $0 |
| LOCK2 | 0 | &b->conf_sem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vmballoon)->conf_sem |
drivers/misc/vmw_balloon.c vmballoon_vmci_cleanup() -> vmballoon_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | b | 4096-ptr_max |
| PARAM_VALUE | 0 | b->conf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | b->conf_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | b->conf_sem.wait_lock.owner_cpu | (-1)-s32max |
| PARAM_VALUE | 1 | cmd | 10 |
| PARAM_VALUE | 2 | arg1 | u64max |
| PARAM_VALUE | 3 | arg2 | u64max |
| DATA_SOURCE | 0 | b | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &b->conf_sem |