Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/gpu/drm/hyperv/hyperv_drm_proto.c, line 553
- drivers/hid/hid-hyperv.c
- drivers/hv/channel.c, line 823
- drivers/hv/hv_balloon.c, line 1731
- drivers/hv/hv_trace.h, line 148
- drivers/hv/hv_util.c
- drivers/input/serio/hyperv-keyboard.c
- drivers/net/hyperv/netvsc.c, line 1837
- drivers/net/hyperv/rndis_filter.c, line 1265
- drivers/pci/controller/pci-hyperv.c
- drivers/scsi/storvsc_drv.c
- drivers/uio/uio_hv_generic.c, line 179
- net/vmw_vsock/hyperv_transport.c, line 386
Smatch caller information:
drivers/net/hyperv/netvsc.c netvsc_device_add() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->callback_mode | 2 |
| PARAM_VALUE | 0 | newchannel->max_pkt_size | 4624 |
| PARAM_VALUE | 0 | newchannel->next_request_id_callback | 780198613894680576 |
| PARAM_VALUE | 0 | newchannel->request_addr_callback | 2024925912084512768 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | 487424 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/gpu/drm/hyperv/hyperv_drm_proto.c hv_drm_connect_vsp() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | send_ringbuffer_size | 262144 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 262144 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hv/hv_balloon.c balloon_connect_vsp() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->max_pkt_size | 8192 |
| PARAM_VALUE | 1 | send_ringbuffer_size | 20480 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 20480 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-hyperv.c hv_pci_probe() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->next_request_id_callback | 780198613894680576 |
| PARAM_VALUE | 0 | newchannel->request_addr_callback | 2024925912084512768 |
| PARAM_VALUE | 0 | newchannel->rqstor_size | 64 |
| PARAM_VALUE | 1 | send_ringbuffer_size | 20480 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 20480 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | 488 |
| DATA_SOURCE | 6 | context | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-hyperv.c hv_pci_resume() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->next_request_id_callback | 780198613894680576 |
| PARAM_VALUE | 0 | newchannel->request_addr_callback | 2024925912084512768 |
| PARAM_VALUE | 0 | newchannel->rqstor_size | 64 |
| PARAM_VALUE | 1 | send_ringbuffer_size | 20480 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 20480 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | context | unit_byte |
drivers/hv/hv_util.c util_probe() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->callback_mode | 1 |
| PARAM_VALUE | 1 | send_ringbuffer_size | 16384 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 16384 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hv/hv_util.c util_resume() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | send_ringbuffer_size | 16384 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 16384 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/storvsc_drv.c handle_sc_creation() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | newchannel->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | newchannel->max_pkt_size | 80 |
| PARAM_VALUE | 0 | newchannel->next_request_id_callback | 8509489111166754816 |
| PARAM_VALUE | 0 | newchannel->primary_channel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->primary_channel->device_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->primary_channel->sc_creation_callback | 1-u64max |
| PARAM_VALUE | 0 | newchannel->state | 2 |
| PARAM_VALUE | 3 | userdata | 3619823010913353728 |
| PARAM_VALUE | 4 | userdatalen | 24 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 3 | userdata | 24 |
| DATA_SOURCE | 0 | newchannel | $0 |
| DATA_SOURCE | 6 | context | $0 |
| MEM_ZERO | 3 | userdata | |
| UNITS | 4 | userdatalen | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/storvsc_drv.c storvsc_connect_to_vsp() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->max_pkt_size | 80 |
| PARAM_VALUE | 0 | newchannel->next_request_id_callback | 8509489111166754816 |
| PARAM_VALUE | 3 | userdata | 1607341122680057856 |
| PARAM_VALUE | 4 | userdatalen | 24 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 3 | userdata | 24 |
| DATA_SOURCE | 1 | send_ringbuffer_size | $1 |
| DATA_SOURCE | 2 | recv_ringbuffer_size | $1 |
| MEM_ZERO | 3 | userdata | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | userdatalen | unit_byte |
net/vmw_vsock/hyperv_transport.c hvs_open_connection() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->callback_mode | 1 |
| PARAM_VALUE | 0 | newchannel->max_pkt_size | 16416 |
| PARAM_VALUE | 0 | newchannel->offermsg.offer.u.pipe.user_def | 4096-ptr_max |
| PARAM_VALUE | 1 | send_ringbuffer_size | 0,24576-266240 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 0,24576-266240 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| BUF_SIZE | 6 | context | (-1),1480 |
| CAPPED_DATA | 1 | send_ringbuffer_size | 1 |
| CAPPED_DATA | 2 | recv_ringbuffer_size | 1 |
| DATA_SOURCE | 0 | newchannel | $0 |
| BIT_INFO | 1 | send_ringbuffer_size | 0x0,0x7f000 |
| BIT_INFO | 2 | recv_ringbuffer_size | 0x0,0x7f000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | send_ringbuffer_size | unit_byte |
| UNITS | 2 | recv_ringbuffer_size | unit_byte |
| LOCK2 | sk |
drivers/net/hyperv/rndis_filter.c netvsc_sc_open() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->callback_mode | 2 |
| PARAM_VALUE | 0 | newchannel->kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | newchannel->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | newchannel->max_pkt_size | 4624 |
| PARAM_VALUE | 0 | newchannel->next_request_id_callback | 780198613894680576 |
| PARAM_VALUE | 0 | newchannel->primary_channel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->primary_channel->device_obj | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->primary_channel->sc_creation_callback | 1-u64max |
| PARAM_VALUE | 0 | newchannel->request_addr_callback | 2024925912084512768 |
| PARAM_VALUE | 0 | newchannel->state | 2 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | newchannel | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/input/serio/hyperv-keyboard.c hv_kbd_probe() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | send_ringbuffer_size | 36864 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 36864 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/serio/hyperv-keyboard.c hv_kbd_resume() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | send_ringbuffer_size | 36864 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 36864 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-hyperv.c mousevsc_probe() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | send_ringbuffer_size | 36864 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 36864 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/hid-hyperv.c mousevsc_resume() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | send_ringbuffer_size | 36864 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 36864 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 6 | context | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/uio/uio_hv_generic.c hv_uio_new_channel() -> vmbus_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | newchannel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | newchannel->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | newchannel->primary_channel | 4096-ptr_max |
| PARAM_VALUE | 0 | newchannel->primary_channel->sc_creation_callback | 1-u64max |
| PARAM_VALUE | 0 | newchannel->state | 2 |
| PARAM_VALUE | 1 | send_ringbuffer_size | 2097152 |
| PARAM_VALUE | 2 | recv_ringbuffer_size | 2097152 |
| PARAM_VALUE | 3 | userdata | 0 |
| PARAM_VALUE | 4 | userdatalen | 0 |
| PARAM_VALUE | 6 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | newchannel | $0 |
| DATA_SOURCE | 6 | context | $0 |
| HALF_LOCKED2 | &pool->lock |