Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/video/fbdev/smscufx.c ufx_ops_check_var() -> ufx_is_valid_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 2970377660991688704 |
| PARAM_VALUE | 0 | mode->flag | 32 |
| PARAM_VALUE | 0 | mode->name | 0 |
| PARAM_VALUE | 0 | mode->vmode | 0-255 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbops | 4096-ptr_max |
| BUF_SIZE | 1 | info | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | info | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | info->device | (-1),1616 |
| BUF_SIZE | 1 | info->fbops | (-1),168 |
| BUF_SIZE | 1 | info->par | (-1),1288,2560 |
| BUF_SIZE | 1 | info->pixmap.addr | (-1),4096,6400,8192 |
| BUF_SIZE | 1 | info->pseudo_palette | (-1),64,1024 |
| BUF_SIZE | 1 | info->screen_buffer | (-1)-s32max |
| CAPPED_DATA | 1 | info | 1 |
| DATA_SOURCE | 1 | info | $1 |
| STR_LEN | 1 | info->fix.id | (-1),7,9-10,12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mode->hsync_len | 1-256[c] |
| HOST_DATA | 0 | mode->left_margin | 0-4094,4294967040-u32max[c] |
| HOST_DATA | 0 | mode->lower_margin | 0-4095,4294963201-u32max[c] |
| HOST_DATA | 0 | mode->right_margin | 0-u16max,4294963201-u32max[c] |
| HOST_DATA | 0 | mode->upper_margin | 0-4094,4294967232-u32max[c] |
| HOST_DATA | 0 | mode->vsync_len | 1-64[c] |
| HOST_DATA | 0 | mode->xres | 0-u32max |
| HOST_DATA | 0 | mode->yres | 0-u32max |
| HOST_DATA | 1 | info->fix.smem_len | 0-4293918720[c] |
| HOST_DATA | 1 | info->screen_size | 0-s32max,18446744071562067968-18446744073708503040[c] |
| HOST_DATA | 1 | info->var.blue.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.green.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.hsync_len | 1-256[c] |
| HOST_DATA | 1 | info->var.left_margin | 0-4094,4294967040-u32max[c] |
| HOST_DATA | 1 | info->var.lower_margin | 0-4095,4294963201-u32max[c] |
| HOST_DATA | 1 | info->var.pixclock | 0-64000000[c] |
| HOST_DATA | 1 | info->var.red.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.right_margin | 0-u16max,4294963201-u32max[c] |
| HOST_DATA | 1 | info->var.transp.length | 0-u32max |
| HOST_DATA | 1 | info->var.transp.msb_right | 0-u32max |
| HOST_DATA | 1 | info->var.transp.offset | 0-u32max |
| HOST_DATA | 1 | info->var.upper_margin | 0-4094,4294967232-u32max[c] |
| HOST_DATA | 1 | info->var.vsync_len | 1-64[c] |
| HOST_DATA | 1 | info->var.xres | 0-u32max |
| HOST_DATA | 1 | info->var.xres_virtual | 0-u32max |
| HOST_DATA | 1 | info->var.yres | 0-u32max |
| HOST_DATA | 1 | info->var.yres_virtual | 1-4096[c] |
| USER_DATA | 0 | mode->hsync_len | 0-u32max |
| USER_DATA | 0 | mode->left_margin | 0-u32max |
| USER_DATA | 0 | mode->lower_margin | 0-u32max |
| USER_DATA | 0 | mode->right_margin | 0-u32max |
| USER_DATA | 0 | mode->sync | 0-u32max |
| USER_DATA | 0 | mode->upper_margin | 0-u32max |
| USER_DATA | 0 | mode->vmode | 0-255[c] |
| USER_DATA | 0 | mode->vsync_len | 0-u32max |
| USER_DATA | 0 | mode->xres | 0-u32max |
| USER_DATA | 0 | mode->yres | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | info->fbdefio_state->npagerefs | |
| NO_OVERFLOW_SIMPLE | 1 | info->fix.mmio_len | |
| NO_OVERFLOW_SIMPLE | 1 | info->fix.mmio_start | |
| NO_OVERFLOW_SIMPLE | 1 | info->fix.smem_len | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.xres | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.xres_virtual | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.yres | |
| NO_OVERFLOW_SIMPLE | 1 | info->var.yres_virtual | |
| HALF_LOCKED2 | 1 | &info->lock |
drivers/video/fbdev/smscufx.c ufx_setup_modes() -> ufx_is_valid_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->bl_curve_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | info->bl_curve_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | info->blank | 0 |
| PARAM_VALUE | 1 | info->cmap.blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.green | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.len | 0 |
| PARAM_VALUE | 1 | info->cmap.red | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.start | 0 |
| PARAM_VALUE | 1 | info->cmap.transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->device | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_rotate_hint | (-1) |
| PARAM_VALUE | 1 | info->fbops | 743949538448936960 |
| PARAM_VALUE | 1 | info->modelist.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | info->modelist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | info->modelist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | info->monspecs.chroma.bluex | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.bluey | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.greenx | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.greeny | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.redx | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.redy | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.whitex | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.whitey | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.dpms | 0-7 |
| PARAM_VALUE | 1 | info->monspecs.gamma | 100-355 |
| PARAM_VALUE | 1 | info->monspecs.input | 33-34,36,40,48,65-66,68,72,80,129-130,132,136,144,257-258,260,264,272 |
| PARAM_VALUE | 1 | info->monspecs.misc | 0-3 |
| PARAM_VALUE | 1 | info->monspecs.modedb | 4096-ptr_max |
| PARAM_VALUE | 1 | info->monspecs.modedb_len | 1-u32max |
| PARAM_VALUE | 1 | info->monspecs.signal | 0,2-31 |
| PARAM_VALUE | 1 | info->monspecs.week | 0-255 |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| BUF_SIZE | 1 | info->device | 1616 |
| BUF_SIZE | 1 | info->fbops | 168 |
| BUF_SIZE | 1 | info->par | 1288 |
| BUF_SIZE | 1 | info->pseudo_palette | 1024 |
| CAPPED_DATA | 1 | &info->modelist | 1 |
| DATA_SOURCE | 1 | info | $1 |
| FUZZY_MAX | 1 | info->monspecs.modedb_len | 1 |
| MEM_ZERO | 1 | &info->monspecs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 1 | &info->lock |
drivers/video/fbdev/smscufx.c ufx_setup_modes() -> ufx_is_valid_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mode | 4096-ptr_max |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->bl_curve_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | info->bl_curve_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | info->bl_curve_mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | info->blank | 0 |
| PARAM_VALUE | 1 | info->cmap.blue | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.green | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.len | 0 |
| PARAM_VALUE | 1 | info->cmap.red | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->cmap.start | 0 |
| PARAM_VALUE | 1 | info->cmap.transp | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | info->device | 4096-ptr_max |
| PARAM_VALUE | 1 | info->fbcon_rotate_hint | (-1) |
| PARAM_VALUE | 1 | info->fbops | 743949538448936960 |
| PARAM_VALUE | 1 | info->modelist.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | info->modelist.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | info->modelist.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | info->monspecs.chroma.bluex | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.bluey | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.greenx | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.greeny | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.redx | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.redy | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.whitex | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.chroma.whitey | 0-999 |
| PARAM_VALUE | 1 | info->monspecs.dpms | 0-7 |
| PARAM_VALUE | 1 | info->monspecs.gamma | 0,100-355 |
| PARAM_VALUE | 1 | info->monspecs.input | 0,33-34,36,40,48,65-66,68,72,80,129-130,132,136,144,257-258,260,264,272 |
| PARAM_VALUE | 1 | info->monspecs.misc | 0-3 |
| PARAM_VALUE | 1 | info->monspecs.modedb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | info->monspecs.modedb_len | 0-s32max |
| PARAM_VALUE | 1 | info->monspecs.signal | 0,2-31 |
| PARAM_VALUE | 1 | info->monspecs.week | 0-255 |
| PARAM_VALUE | 1 | info->par | 4096-ptr_max |
| BUF_SIZE | 1 | info->device | 1616 |
| BUF_SIZE | 1 | info->fbops | 168 |
| BUF_SIZE | 1 | info->par | 1288 |
| BUF_SIZE | 1 | info->pseudo_palette | 1024 |
| CAPPED_DATA | 1 | &info->modelist | 1 |
| DATA_SOURCE | 1 | info | $1 |
| FUZZY_MAX | 1 | info->monspecs.chroma.bluex | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.bluey | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.greenx | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.greeny | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.redx | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.redy | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.whitex | 0 |
| FUZZY_MAX | 1 | info->monspecs.chroma.whitey | 0 |
| FUZZY_MAX | 1 | info->monspecs.dpms | 0 |
| FUZZY_MAX | 1 | info->monspecs.gamma | 0 |
| FUZZY_MAX | 1 | info->monspecs.input | 0 |
| FUZZY_MAX | 1 | info->monspecs.misc | 0 |
| FUZZY_MAX | 1 | info->monspecs.modedb_len | 0 |
| FUZZY_MAX | 1 | info->monspecs.signal | 0 |
| FUZZY_MAX | 1 | info->monspecs.week | 0 |
| MEM_ZERO | 1 | &info->monspecs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 1 | &info->lock |