Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_panic.c draw_line_with_wrap() -> draw_txt_rectangle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->width | 4-u32max |
| PARAM_VALUE | 1 | font | 4096-ptr_max |
| PARAM_VALUE | 2 | msg | 8441887186647580672 |
| PARAM_VALUE | 3 | msg_lines | 1 |
| PARAM_VALUE | 4 | centered | 0 |
| PARAM_VALUE | 5 | clip | 1331377467986018304 |
| PARAM_VALUE | 6 | color | 0-1073741823,3221225472-u32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb->pages | (-1)-4194304 |
| CAPPED_DATA | 1 | font->width | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | font | $1 |
| DATA_SOURCE | 6 | color | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(plane->dev)->mode_config.panic_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/drm_panic.c draw_line_with_wrap() -> draw_txt_rectangle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->private->last_seen.file | 62172420103069696 |
| PARAM_VALUE | 0 | sb->private->last_seen.line | 174 |
| PARAM_VALUE | 0 | sb->private->page | 0-1048575 |
| PARAM_VALUE | 0 | sb->private->vaddr | s64max |
| PARAM_VALUE | 0 | sb->width | 4-u32max |
| PARAM_VALUE | 0 | *sb->private->last_seen.file | 0-255 |
| PARAM_VALUE | 0 | *sb->private->vaddr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | font | 4096-ptr_max |
| PARAM_VALUE | 2 | msg | 8441887186647580672 |
| PARAM_VALUE | 3 | msg_lines | 1 |
| PARAM_VALUE | 4 | centered | 0 |
| PARAM_VALUE | 5 | clip | 1331377467986018304 |
| PARAM_VALUE | 5 | clip->y1 | 0-s32max |
| PARAM_VALUE | 6 | color | 0-1073741823,3221225472-u32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb->pages | (-1)-4194304 |
| CAPPED_DATA | 1 | font->width | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | font | $1 |
| DATA_SOURCE | 6 | color | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(plane->dev)->mode_config.panic_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/drm_panic.c draw_line_with_wrap() -> draw_txt_rectangle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->format | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->width | 4-u32max |
| PARAM_VALUE | 1 | font | 4096-ptr_max |
| PARAM_VALUE | 2 | msg | 1101743815237947392 |
| PARAM_VALUE | 2 | msg->len | 0-1073741823 |
| PARAM_VALUE | 2 | msg->txt | 4096-ptr_max |
| PARAM_VALUE | 3 | msg_lines | 1 |
| PARAM_VALUE | 4 | centered | 0 |
| PARAM_VALUE | 5 | clip | 1331377467986018304 |
| PARAM_VALUE | 6 | color | 0-1073741823,3221225472-u32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb->pages | (-1)-4194304 |
| CAPPED_DATA | 1 | font->width | 1 |
| CAPPED_DATA | 2 | msg->len | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | font | $1 |
| DATA_SOURCE | 2 | msg | $2 |
| DATA_SOURCE | 6 | color | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(plane->dev)->mode_config.panic_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/drm_panic.c draw_panic_screen_user() -> draw_txt_rectangle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->format | 4096-ptr_max |
| PARAM_VALUE | 1 | font | 4096-ptr_max |
| PARAM_VALUE | 2 | msg | 3347888285756633088 |
| PARAM_VALUE | 3 | msg_lines | 5 |
| PARAM_VALUE | 4 | centered | 1 |
| PARAM_VALUE | 5 | clip | 6691162965678264320 |
| PARAM_VALUE | 5 | clip->x1 | s32min-2147483646 |
| PARAM_VALUE | 5 | clip->x2 | 1-s32max |
| PARAM_VALUE | 5 | clip->y1 | s32min-2147483646 |
| PARAM_VALUE | 5 | clip->y2 | 1-s32max |
| PARAM_VALUE | 6 | color | 0-1073741823,3221225472-u32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb->pages | (-1)-4194304 |
| BUF_SIZE | 2 | msg | 80 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | font | r get_default_font |
| DATA_SOURCE | 6 | color | r drm_draw_color_from_xrgb8888 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(plane->dev)->mode_config.panic_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/drm_panic.c drm_panic_logo_draw() -> draw_txt_rectangle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->format | 4096-ptr_max |
| PARAM_VALUE | 1 | font | 4096-ptr_max |
| PARAM_VALUE | 2 | msg | 6362777767347490816 |
| PARAM_VALUE | 3 | msg_lines | 7 |
| PARAM_VALUE | 4 | centered | 0 |
| PARAM_VALUE | 5 | clip | 1990732546825854976 |
| PARAM_VALUE | 5 | clip->x1 | 0 |
| PARAM_VALUE | 5 | clip->y1 | 0 |
| PARAM_VALUE | 5 | clip->y2 | 0-s32max |
| PARAM_VALUE | 6 | color | 0-1073741823,3221225472-u32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | sb->pages | (-1)-4194304 |
| BUF_SIZE | 2 | msg | 112 |
| CAPPED_DATA | 5 | clip->x2 | 1 |
| CAPPED_DATA | 5 | clip->y2 | 1 |
| DATA_SOURCE | 0 | sb | $0 |
| DATA_SOURCE | 1 | font | $2 |
| DATA_SOURCE | 5 | clip | $1 |
| DATA_SOURCE | 6 | color | $3 |
| PARAM_COMPARE | 5 | clip->x2 | <= $0->width |
| PARAM_COMPARE | 5 | clip->y2 | <= $0->height |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(plane->dev)->mode_config.panic_lock | ||
| HALF_LOCKED2 | flags |