Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/misc/vmw_vmci/vmci_datagram.c, line 87
- drivers/misc/vmw_vmci/vmci_doorbell.c, line 457
- drivers/misc/vmw_vmci/vmci_queue_pair.c
Smatch caller information:
drivers/misc/vmw_vmci/vmci_queue_pair.c qp_broker_create() -> vmci_resource_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_type | 6 |
| DATA_SOURCE | 2 | handle | $0 |
| LOCK2 | global &qp_broker_list.mutex | ||
| TYPE_LOCK | (struct qp_list)->mutex |
drivers/misc/vmw_vmci/vmci_queue_pair.c qp_guest_endpoint_create() -> vmci_resource_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_type | 5 |
| DATA_SOURCE | 2 | handle | $0 [m] |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &qp_guest_endpoints.mutex | ||
| HALF_LOCKED2 | listener | ||
| HALF_LOCKED2 | pending | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct qp_list)->mutex |
drivers/misc/vmw_vmci/vmci_datagram.c dg_create_handle() -> vmci_resource_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_type | 3 |
| BIT_INFO | 2 | handle | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | handle | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/misc/vmw_vmci/vmci_doorbell.c vmci_doorbell_create() -> vmci_resource_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_type | 4 |
| LOCK2 | &b->conf_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vmballoon)->conf_sem |