Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/video/fbdev/smscufx.c ufx_dpy_deferred_io() -> ufx_handle_damage()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->info 4096-ptr_max
PARAM_VALUE 0 dev->info->var.yres 1-u32max
PARAM_VALUE 0 dev->urbs.limit_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->usb_active.counter s32min-(-1),1-s32max
PARAM_VALUE 1 x 0
PARAM_VALUE 2 y s32min-(-2),0-s32max
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
CAPPED_DATA 2 y 1
CAPPED_DATA 4 height 1
PARAM_COMPARE 0 dev->info->var.yres > $2
PARAM_COMPARE 2 y < $0->info->var.yres
NOCHECK_CALL
UNITS 0 dev unit_byte
UNITS 3 width unit_byte
LOCK2 &fbdefio_state->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fb_deferred_io_state)->lock

drivers/video/fbdev/smscufx.c ufx_ops_damage_area() -> ufx_handle_damage()

Type Parameter Key Value
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
DATA_SOURCE 1 x $1
DATA_SOURCE 2 y $2
DATA_SOURCE 3 width $3
DATA_SOURCE 4 height $4
NOSPEC 4 height
NOSPEC 4 height
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 x 0-s32max[c]
USER_DATA 2 y 1-s32max[c]
USER_DATA 4 height 2-s32max[c]
UNITS 0 dev unit_byte
UNITS 1 x unit_byte
UNITS 2 y unit_byte
UNITS 3 width unit_byte
UNITS 4 height unit_byte

drivers/video/fbdev/smscufx.c ufx_ops_damage_range() -> ufx_handle_damage()

Type Parameter Key Value
PARAM_VALUE 1 x 0
PARAM_VALUE 2 y 0-1000000000
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
CAPPED_DATA 4 height 1
NOCHECK_CALL
USER_DATA 2 y 1-1000000000[c]
USER_DATA 4 height 1-s32max[c]
UNITS 0 dev unit_byte
UNITS 3 width unit_byte

drivers/video/fbdev/smscufx.c ufx_ops_ioctl() -> ufx_handle_damage()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->usb_active.counter s32min-(-1),1-s32max
PARAM_VALUE 1 x 0-s32max
PARAM_VALUE 2 y 0-s32max
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
BUF_SIZE 0 dev 2,4,16,24,32,128,216,248,256,1288,1984,2560,2864
CAPPED_DATA 1 x 1
CAPPED_DATA 2 y 1
NOCHECK_CALL
USER_DATA 1 x 1-s32max[c]
USER_DATA 2 y 1-s32max[c]
USER_DATA 3 width s32min-s32max
USER_DATA 4 height s32min-s32max
UNITS 0 dev unit_byte
UNITS 1 x unit_byte
UNITS 2 y unit_byte
LOCK2 &info->lock
TYPE_LOCK (struct fb_info)->lock

drivers/video/fbdev/smscufx.c ufx_ops_set_par() -> ufx_handle_damage()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->fb_count 0
PARAM_VALUE 1 x 0
PARAM_VALUE 2 y 0
BUF_SIZE 0 dev (-1),1288
BUF_SIZE 0 dev (-1),1288
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 width 1-u16max[c]
HOST_DATA 4 height 1-u16max[c]
NO_OVERFLOW_SIMPLE 3 width
NO_OVERFLOW_SIMPLE 4 height
UNITS 0 dev unit_byte
UNITS 3 width unit_byte
HALF_LOCKED2 &minfo->crtc2.lock