Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/vboxvideo/hgsmi_base.c
- drivers/gpu/drm/vboxvideo/modesetting.c
- drivers/gpu/drm/vboxvideo/vbox_mode.c, line 100
- drivers/gpu/drm/vboxvideo/vbva_base.c
Smatch caller information:
drivers/gpu/drm/vboxvideo/vbva_base.c vbva_buffer_flush() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 5 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &vbox->hw_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct vbox_private)->hw_mutex |
drivers/gpu/drm/vboxvideo/vbva_base.c vbva_inform_host() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 16 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 7 |
| BUF_SIZE | 0 | guest_pool | (-1),120 |
| BUF_SIZE | 0 | guest_pool | (-1),120 |
| DATA_SOURCE | 0 | guest_pool | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_set_view() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 16 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &vbox->hw_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct vbox_private)->hw_mutex |
drivers/gpu/drm/vboxvideo/hgsmi_base.c hgsmi_query_conf() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 8 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 1 |
| BUF_SIZE | 0 | guest_pool | (-1),120 |
| BUF_SIZE | 0 | guest_pool | (-1),120 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/vboxvideo/hgsmi_base.c hgsmi_report_flags_location() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 8 |
| PARAM_VALUE | 2 | channel | 1 |
| PARAM_VALUE | 3 | channel_info | 0 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &drm->mode_config.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/vboxvideo/hgsmi_base.c hgsmi_send_caps_info() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | guest_pool | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 8 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 12 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &drm->mode_config.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/vboxvideo/hgsmi_base.c hgsmi_update_pointer_shape() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 28-4294967323 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 8 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &vbox->hw_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct vbox_private)->hw_mutex |
drivers/gpu/drm/vboxvideo/modesetting.c hgsmi_get_mode_hints() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 40-1032,137438953448 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 19 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | size | 40-1032,137438953448[c] |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/vboxvideo/modesetting.c hgsmi_process_display_info() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 6 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &vbox->hw_mutex |
drivers/gpu/drm/vboxvideo/modesetting.c hgsmi_update_input_mapping() -> hgsmi_buffer_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 16 |
| PARAM_VALUE | 2 | channel | 2 |
| PARAM_VALUE | 3 | channel_info | 20 |
| DATA_SOURCE | 0 | guest_pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &vbox->hw_mutex | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct vbox_private)->hw_mutex |