Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/meson/meson_drv.c
- drivers/soc/amlogic/meson-canvas.c, line 146
- drivers/staging/media/meson/vdec/vdec_helpers.c, line 89
Smatch caller information:
drivers/gpu/drm/meson/meson_drv.c meson_drv_bind_master() -> meson_canvas_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | canvas | 1-ptr_max |
| PARAM_VALUE | 1 | canvas_index | 4096-ptr_max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | canvas | r meson_canvas_get |
| MEM_ZERO | 1 | canvas_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/meson/meson_drv.c meson_drv_bind_master() -> meson_canvas_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | canvas | 4096-ptr_max |
| PARAM_VALUE | 0 | canvas->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *canvas->used | 1 |
| PARAM_VALUE | 1 | canvas_index | 4096-ptr_max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | canvas | r meson_canvas_get |
| MEM_ZERO | 1 | canvas_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/meson/meson_drv.c meson_drv_bind_master() -> meson_canvas_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | canvas | 4096-ptr_max |
| PARAM_VALUE | 0 | canvas->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *canvas->used | 1 |
| PARAM_VALUE | 1 | canvas_index | 4096-ptr_max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | canvas | r meson_canvas_get |
| MEM_ZERO | 1 | canvas_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/meson/meson_drv.c meson_drv_bind_master() -> meson_canvas_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | canvas | 4096-ptr_max |
| PARAM_VALUE | 0 | canvas->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *canvas->used | 1 |
| PARAM_VALUE | 1 | canvas_index | 4096-ptr_max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | canvas | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | canvas | r meson_canvas_get |
| MEM_ZERO | 1 | canvas_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/staging/media/meson/vdec/vdec_helpers.c canvas_alloc() -> meson_canvas_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | canvas->supports_endianness | 0-1 |
| PARAM_VALUE | 1 | canvas_index | 4096-ptr_max |
| DATA_SOURCE | 1 | canvas_index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |