Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_define_ioctl() -> vmw_surface_get_image_buffer_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->blockDesc | 16,4096,262212,262214-262215,262223,270340,270342-270343,270351,278530,278532,278534-278535,278543,303108,303110,303119,311300,311302-311304,311308,311311,376839,376847,393223,524352,526336,573440,575488,1089542-u32max |
| PARAM_VALUE | 1 | size | 4096-ptr_max |
| BUF_SIZE | 0 | desc | (-1),5544 |
| BUF_SIZE | 0 | desc | (-1),5544 |
| BUF_SIZE | 1 | size | 16,u64max |
| BUF_SIZE | 1 | size | 16,u64max |
| DATA_SOURCE | 0 | desc | r vmw_surface_get_desc |
| DATA_SOURCE | 2 | pitch | r vmw_surface_calculate_pitch |
| USER_DATA | 1 | size->depth | 0-u32max |
| USER_DATA | 1 | size->height | 0-u32max |
| USER_DATA | 1 | size->pad64 | 0-u32max |
| USER_DATA | 1 | size->width | 0-u32max |
| USER_PTR | 1 | size |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_dma_encode() -> vmw_surface_get_image_buffer_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->blockDesc | 0,16,128-u32max |
| PARAM_VALUE | 1 | size | 4096-ptr_max |
| BUF_SIZE | 0 | desc | (-1),5544 |
| BUF_SIZE | 0 | desc | (-1),5544 |
| DATA_SOURCE | 0 | desc | r vmw_surface_get_desc |
| DATA_SOURCE | 2 | pitch | r vmw_surface_calculate_pitch |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_get_serialized_size() -> vmw_surface_get_image_buffer_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->blockDesc | 0,16,128-u32max |
| PARAM_VALUE | 1 | size | 7817350978195484672 |
| PARAM_VALUE | 2 | pitch | 0 |
| BUF_SIZE | 0 | desc | (-1),5544 |
| BUF_SIZE | 0 | desc | (-1),5544 |
| DATA_SOURCE | 0 | desc | r vmw_surface_get_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_setup_cache() -> vmw_surface_get_image_buffer_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->blockDesc | 0,16,128-u32max |
| PARAM_VALUE | 1 | size | 4096-ptr_max |
| PARAM_VALUE | 2 | pitch | 0 |
| BUF_SIZE | 0 | desc | (-1),5544 |
| BUF_SIZE | 0 | desc | (-1),5544 |
| DATA_SOURCE | 0 | desc | r vmw_surface_get_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING |